1 # Winsock 2 DLL ~ ws2_32.dll
3 # Export table information obtained from Windows 2000 ws2_32.dll
5 1 stdcall accept(long ptr ptr) WS_accept
6 2 stdcall bind(long ptr long) WS_bind
7 3 stdcall closesocket(long) WS_closesocket
8 4 stdcall connect(long ptr long) WS_connect
9 5 stdcall getpeername(long ptr ptr) WS_getpeername
10 6 stdcall getsockname(long ptr ptr) WS_getsockname
11 7 stdcall getsockopt(long long long ptr ptr) WS_getsockopt
12 8 stdcall htonl(long) WS_htonl
13 9 stdcall htons(long) WS_htons
14 10 stdcall ioctlsocket(long long ptr) WS_ioctlsocket
15 11 stdcall inet_addr(str) WS_inet_addr
16 12 stdcall inet_ntoa(ptr) WS_inet_ntoa
17 13 stdcall listen(long long) WS_listen
18 14 stdcall ntohl(long) WS_ntohl
19 15 stdcall ntohs(long) WS_ntohs
20 16 stdcall recv(long ptr long long) WS_recv
21 17 stdcall recvfrom(long ptr long long ptr ptr) WS_recvfrom
22 18 stdcall select(long ptr ptr ptr ptr) WS_select
23 19 stdcall send(long ptr long long) WS_send
24 20 stdcall sendto(long ptr long long ptr long) WS_sendto
25 21 stdcall setsockopt(long long long ptr long) WS_setsockopt
26 22 stdcall shutdown(long long) WS_shutdown
27 23 stdcall socket(long long long) WS_socket
28 24 stdcall WSApSetPostRoutine(ptr) WSApSetPostRoutine
29 25 stub WPUCompleteOverlappedRequest
30 26 stdcall WSAAccept(long ptr ptr ptr long) WSAAccept
31 27 stub WSAAddressToStringA
32 28 stub WSAAddressToStringW
33 29 stdcall WSACloseEvent(long) WSACloseEvent
34 30 stdcall WSAConnect(long ptr long ptr ptr ptr ptr) WSAConnect
35 31 stdcall WSACreateEvent () WSACreateEvent
36 32 stdcall WSADuplicateSocketA(long long ptr) WSADuplicateSocketA
37 33 stub WSADuplicateSocketW
38 34 stub WSAEnumNameSpaceProvidersA
39 35 stub WSAEnumNameSpaceProvidersW
40 36 stdcall WSAEnumNetworkEvents(long long ptr) WSAEnumNetworkEvents
41 37 stdcall WSAEnumProtocolsA(ptr ptr ptr) WSAEnumProtocolsA
42 38 stdcall WSAEnumProtocolsW(ptr ptr ptr) WSAEnumProtocolsW
43 39 stdcall WSAEventSelect(long long long) WSAEventSelect
44 40 stdcall WSAGetOverlappedResult(long ptr ptr long ptr) WSAGetOverlappedResult
45 41 stub WSAGetQOSByName
46 42 stub WSAGetServiceClassInfoA
47 43 stub WSAGetServiceClassInfoW
48 44 stub WSAGetServiceClassNameByClassIdA
49 45 stub WSAGetServiceClassNameByClassIdW
52 48 stdcall WSAInstallServiceClassA(ptr) WSAInstallServiceClassA
53 49 stdcall WSAInstallServiceClassW(ptr) WSAInstallServiceClassW
54 50 stdcall WSAIoctl(long long ptr long ptr long ptr ptr ptr) WSAIoctl
55 51 stdcall gethostbyaddr(ptr long long) WS_gethostbyaddr
56 52 stdcall gethostbyname(str) WS_gethostbyname
57 53 stdcall getprotobyname(str) WS_getprotobyname
58 54 stdcall getprotobynumber(long) WS_getprotobynumber
59 55 stdcall getservbyname(str str) WS_getservbyname
60 56 stdcall getservbyport(long str) WS_getservbyport
61 57 stdcall gethostname(ptr long) WS_gethostname
63 59 stub WSALookupServiceBeginA
64 60 stub WSALookupServiceBeginW
65 61 stub WSALookupServiceEnd
66 62 stub WSALookupServiceNextA
67 63 stub WSALookupServiceNextW
70 66 stub WSAProviderConfigChange
71 67 stdcall WSARecv(long ptr long ptr ptr ptr ptr) WSARecv
72 68 stub WSARecvDisconnect
73 69 stdcall WSARecvFrom(long ptr long ptr ptr ptr ptr ptr ptr ) WSARecvFrom
74 70 stub WSARemoveServiceClass
75 71 forward WSAResetEvent KERNEL32.ResetEvent
76 72 stdcall WSASend(long ptr long ptr long ptr ptr) WSASend
77 73 stdcall WSASendDisconnect(long ptr) WSASendDisconnect
78 74 stdcall WSASendTo(long ptr long ptr long ptr long ptr ptr) WSASendTo
80 76 stub WSASetServiceA
81 77 stub WSASetServiceW
82 78 stdcall WSASocketA(long long long ptr long long) WSASocketA
84 80 stub WSAStringToAddressA
85 81 stub WSAStringToAddressW
86 82 forward WSAWaitForMultipleEvents KERNEL32.WaitForMultipleObjectsEx
87 83 stdcall WSCDeinstallProvider(ptr ptr) WSCDeinstallProvider
88 84 stub WSCEnableNSProvider
89 85 stub WSCEnumProtocols
90 86 stub WSCGetProviderPath
91 87 stub WSCInstallNameSpace
92 88 stdcall WSCInstallProvider(ptr wstr ptr long ptr) WSCInstallProvider
93 89 stub WSCUnInstallNameSpace
94 90 stub WSCWriteNameSpaceOrder
95 91 stub WSCWriteProviderOrder
99 101 stdcall WSAAsyncSelect(long long long long) WSAAsyncSelect
100 102 stdcall WSAAsyncGetHostByAddr(long long ptr long long ptr long) WSAAsyncGetHostByAddr
101 103 stdcall WSAAsyncGetHostByName(long long str ptr long) WSAAsyncGetHostByName
102 104 stdcall WSAAsyncGetProtoByNumber(long long long ptr long) WSAAsyncGetProtoByNumber
103 105 stdcall WSAAsyncGetProtoByName(long long str ptr long) WSAAsyncGetProtoByName
104 106 stdcall WSAAsyncGetServByPort(long long long str ptr long) WSAAsyncGetServByPort
105 107 stdcall WSAAsyncGetServByName(long long str str ptr long) WSAAsyncGetServByName
106 108 stdcall WSACancelAsyncRequest(long) WSACancelAsyncRequest
107 109 stdcall WSASetBlockingHook(ptr) WSASetBlockingHook
108 110 stdcall WSAUnhookBlockingHook() WSAUnhookBlockingHook
109 111 stdcall WSAGetLastError() WSAGetLastError
110 112 stdcall WSASetLastError(long) WSASetLastError
111 113 stdcall WSACancelBlockingCall() WSACancelBlockingCall
112 114 stdcall WSAIsBlocking() WSAIsBlocking
113 115 stdcall WSAStartup(long ptr) WSAStartup
114 116 stdcall WSACleanup() WSACleanup
118 151 stdcall __WSAFDIsSet(long ptr) __WSAFDIsSet