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