Changeset 28475 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/winsock2.h
- Timestamp:
- Apr 19, 2010 3:27:01 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/winsock2.h
r19678 r28475 154 154 #define WS_SIO_ADDRESS_LIST_CHANGE _WSAIO(WS_IOC_WS2,23) 155 155 #define WS_SIO_QUERY_TARGET_PNP_HANDLE _WSAIOR(WS_IOC_WS2,24) 156 #define WS_SIO_GET_INTERFACE_LIST WS__IOR('t', 127, WS_u_long)156 #define WS_SIO_GET_INTERFACE_LIST WS__IOR('t', 127, ULONG) 157 157 #else /* USE_WS_PREFIX */ 158 158 #undef IOC_VOID … … 190 190 #define SIO_ADDRESS_LIST_CHANGE _WSAIO(IOC_WS2,23) 191 191 #define SIO_QUERY_TARGET_PNP_HANDLE _WSAIOR(IOC_WS2,24) 192 #define SIO_GET_INTERFACE_LIST _IOR ('t', 127, u_long)192 #define SIO_GET_INTERFACE_LIST _IOR ('t', 127, ULONG) 193 193 #endif /* USE_WS_PREFIX */ 194 194 … … 557 557 typedef int (WINAPI *LPFN_GETSOCKNAME)(SOCKET,struct WS(sockaddr)*,int*); 558 558 typedef int (WINAPI *LPFN_GETSOCKOPT)(SOCKET,int,int,char*,int*); 559 typedef WS(u_long) (WINAPI *LPFN_HTONL)(WS(u_long));559 typedef ULONG (WINAPI *LPFN_HTONL)(ULONG); 560 560 typedef WS(u_short) (WINAPI *LPFN_HTONS)(WS(u_short)); 561 561 typedef ULONG (WINAPI *LPFN_INET_ADDR)(const char*); 562 562 typedef char* (WINAPI *LPFN_INET_NTOA)(struct WS(in_addr); 563 typedef int (WINAPI *LPFN_IOCTLSOCKET)(SOCKET,LONG, WS(u_long)*);563 typedef int (WINAPI *LPFN_IOCTLSOCKET)(SOCKET,LONG,ULONG*); 564 564 typedef int (WINAPI *LPFN_LISTEN)(SOCKET,int); 565 typedef WS(u_long) (WINAPI *LPFN_NTOHL)(WS(u_long));565 typedef ULONG (WINAPI *LPFN_NTOHL)(ULONG); 566 566 typedef WS(u_short) (WINAPI *LPFN_NTOHS)(WS(u_short)); 567 567 typedef int (WINAPI *LPFN_RECV)(SOCKET,char*,int,int); … … 609 609 INT WINAPI WSAGetServiceClassNameByClassIdW(LPGUID,LPWSTR,LPDWORD); 610 610 #define WSAGetServiceClassNameByClassId WINELIB_NAME_AW(WSAGetServiceClassNameByClassId) 611 int WINAPI WSAHtonl(SOCKET, WS(u_long),WS(u_long)*);611 int WINAPI WSAHtonl(SOCKET,ULONG,ULONG*); 612 612 int WINAPI WSAHtons(SOCKET,WS(u_short),WS(u_short)*); 613 613 int WINAPI WSAInstallServiceClassA(LPWSASERVICECLASSINFOA); … … 623 623 INT WINAPI WSALookupServiceNextW(HANDLE,DWORD,LPDWORD,LPWSAQUERYSETW); 624 624 #define WSALookupServiceNext WINELIB_NAME_AW(WSALookupServiceNext) 625 int WINAPI WSANtohl(SOCKET, WS(u_long),WS(u_long)*);625 int WINAPI WSANtohl(SOCKET,ULONG,ULONG*); 626 626 int WINAPI WSANtohs(SOCKET,WS(u_short),WS(u_short)*); 627 627 INT WINAPI WSAProviderConfigChange(LPHANDLE,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE); … … 682 682 typedef INT (WINAPI *LPFN_WSAGETSERVICECLASSNAMEBYCLASSIDW)(LPGUID,LPWSTR,LPDWORD); 683 683 #define LPFN_WSAGETSERVICECLASSNAMEBYCLASSID WINELIB_NAME_AW(LPFN_WSAGETSERVICECLASSNAMEBYCLASSID) 684 typedef int (WINAPI *LPFN_WSAHTONL)(SOCKET, WS(u_long),WS(u_long)*);684 typedef int (WINAPI *LPFN_WSAHTONL)(SOCKET,ULONG,ULONG*); 685 685 typedef int (WINAPI *LPFN_WSAHTONS)(SOCKET,WS(u_short),WS(u_short)*); 686 686 typedef int (WINAPI LPFN_WSAINSTALLSERVICECLASSA)(LPWSASERVICECLASSINFOA); … … 695 695 typedef INT (WINAPI *LPFN_WSALOOKUPSERVICENEXTW)(HANDLE,DWORD,LPDWORD,LPWSAQUERYSETW); 696 696 #define LPFN_WSALOOKUPSERVICENEXT WINELIB_NAME_AW(LPFN_WSALOOKUPSERVICENEXT) 697 typedef int (WINAPI *LPFN_WSANTOHL)(SOCKET, WS(u_long),WS(u_long)*);697 typedef int (WINAPI *LPFN_WSANTOHL)(SOCKET,ULONG,ULONG*); 698 698 typedef int (WINAPI *LPFN_WSANTOHS)(SOCKET,WS(u_short),WS(u_short)*); 699 699 typedef INT (WINAPI *LPFN_WSAPROVIDERCONFIGCHANGE)(LPHANDLE,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE);
Note:
See TracChangeset
for help on using the changeset viewer.