2000-06-18 19:23:17 +02:00
|
|
|
# Winsock 2 DLL ~ ws2_32.dll
|
|
|
|
#
|
|
|
|
# Export table information obtained from Windows 2000 ws2_32.dll
|
|
|
|
|
|
|
|
name ws2_32
|
|
|
|
type win32
|
2001-11-14 22:26:23 +01:00
|
|
|
init WS_LibMain
|
2000-06-18 19:23:17 +02:00
|
|
|
|
2000-08-03 02:04:24 +02:00
|
|
|
import user32.dll
|
2000-08-06 05:47:29 +02:00
|
|
|
import kernel32.dll
|
2000-09-28 00:32:44 +02:00
|
|
|
import ntdll.dll
|
2000-08-03 02:04:24 +02:00
|
|
|
|
2000-11-05 05:53:07 +01:00
|
|
|
debug_channels (winsock)
|
|
|
|
|
2000-06-18 19:23:17 +02:00
|
|
|
# EXPORTS ***********
|
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
|
2001-10-01 22:52:23 +02:00
|
|
|
24 stdcall WSApSetPostRoutine(ptr) WSApSetPostRoutine
|
2000-06-18 19:23:17 +02:00
|
|
|
25 stub WPUCompleteOverlappedRequest
|
|
|
|
26 stub WSAAccept
|
|
|
|
27 stub WSAAddressToStringA
|
|
|
|
28 stub WSAAddressToStringW
|
|
|
|
29 stdcall WSACloseEvent(long) WSACloseEvent
|
|
|
|
30 stub WSAConnect
|
|
|
|
31 stdcall WSACreateEvent () WSACreateEvent
|
|
|
|
32 stub WSADuplicateSocketA
|
|
|
|
33 stub WSADuplicateSocketW
|
|
|
|
34 stub WSAEnumNameSpaceProvidersA
|
|
|
|
35 stub WSAEnumNameSpaceProvidersW
|
|
|
|
36 stdcall WSAEnumNetworkEvents(long long ptr) WSAEnumNetworkEvents
|
|
|
|
37 stub WSAEnumProtocolsA
|
|
|
|
38 stub WSAEnumProtocolsW
|
|
|
|
39 stdcall WSAEventSelect(long long long) WSAEventSelect
|
|
|
|
40 stub WSAGetOverlappedResult
|
|
|
|
41 stub WSAGetQOSByName
|
|
|
|
42 stub WSAGetServiceClassInfoA
|
|
|
|
43 stub WSAGetServiceClassInfoW
|
|
|
|
44 stub WSAGetServiceClassNameByClassIdA
|
|
|
|
45 stub WSAGetServiceClassNameByClassIdW
|
|
|
|
46 stub WSAHtonl
|
|
|
|
47 stub WSAHtons
|
|
|
|
48 stub WSAInstallServiceClassA
|
|
|
|
49 stub WSAInstallServiceClassW
|
2000-07-23 21:28:24 +02:00
|
|
|
50 stdcall WSAIoctl(long long ptr long ptr long ptr ptr ptr) WSAIoctl
|
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
|
|
|
|
57 stdcall gethostname(ptr long) WS_gethostname
|
2000-06-18 19:23:17 +02:00
|
|
|
58 stub WSAJoinLeaf
|
|
|
|
59 stub WSALookupServiceBeginA
|
|
|
|
60 stub WSALookupServiceBeginW
|
|
|
|
61 stub WSALookupServiceEnd
|
|
|
|
62 stub WSALookupServiceNextA
|
|
|
|
63 stub WSALookupServiceNextW
|
|
|
|
64 stub WSANtohl
|
|
|
|
65 stub WSANtohs
|
|
|
|
66 stub WSAProviderConfigChange
|
|
|
|
67 stub WSARecv
|
|
|
|
68 stub WSARecvDisconnect
|
2001-07-10 21:09:59 +02:00
|
|
|
69 stdcall WSARecvFrom(long ptr long ptr ptr ptr ptr ptr ptr ) WSARecvFrom
|
2000-06-18 19:23:17 +02:00
|
|
|
70 stub WSARemoveServiceClass
|
2000-10-24 23:25:49 +02:00
|
|
|
71 forward WSAResetEvent KERNEL32.ResetEvent
|
2001-04-10 23:22:34 +02:00
|
|
|
72 stdcall WSASend(long ptr long ptr long ptr ptr) WSASend
|
2000-06-18 19:23:17 +02:00
|
|
|
73 stub WSASendDisconnect
|
|
|
|
74 stub WSASendTo
|
|
|
|
75 stub WSASetEvent
|
|
|
|
76 stub WSASetServiceA
|
|
|
|
77 stub WSASetServiceW
|
|
|
|
78 stdcall WSASocketA(long long long ptr long long) WSASocketA
|
|
|
|
79 stub WSASocketW
|
|
|
|
80 stub WSAStringToAddressA
|
|
|
|
81 stub WSAStringToAddressW
|
2000-07-15 17:12:18 +02:00
|
|
|
82 forward WSAWaitForMultipleEvents KERNEL32.WaitForMultipleObjectsEx
|
2001-10-02 19:46:59 +02:00
|
|
|
83 stdcall WSCDeinstallProvider(ptr ptr) WSCDeinstallProvider
|
2000-06-18 19:23:17 +02:00
|
|
|
84 stub WSCEnableNSProvider
|
|
|
|
85 stub WSCEnumProtocols
|
|
|
|
86 stub WSCGetProviderPath
|
|
|
|
87 stub WSCInstallNameSpace
|
2001-10-02 19:46:59 +02:00
|
|
|
88 stdcall WSCInstallProvider(ptr wstr ptr long ptr) WSCInstallProvider
|
2000-06-18 19:23:17 +02:00
|
|
|
89 stub WSCUnInstallNameSpace
|
|
|
|
90 stub WSCWriteNameSpaceOrder
|
|
|
|
91 stub WSCWriteProviderOrder
|
|
|
|
|
|
|
|
# 92 ~ 100 UNKNOWN
|
|
|
|
|
|
|
|
101 stdcall WSAAsyncSelect(long long long long) WSAAsyncSelect
|
|
|
|
102 stdcall WSAAsyncGetHostByAddr(long long ptr long long ptr long) WSAAsyncGetHostByAddr
|
|
|
|
103 stdcall WSAAsyncGetHostByName(long long str ptr long) WSAAsyncGetHostByName
|
|
|
|
104 stdcall WSAAsyncGetProtoByNumber(long long long ptr long) WSAAsyncGetProtoByNumber
|
|
|
|
105 stdcall WSAAsyncGetProtoByName(long long str ptr long) WSAAsyncGetProtoByName
|
|
|
|
106 stdcall WSAAsyncGetServByPort(long long long str ptr long) WSAAsyncGetServByPort
|
|
|
|
107 stdcall WSAAsyncGetServByName(long long str str ptr long) WSAAsyncGetServByName
|
|
|
|
108 stdcall WSACancelAsyncRequest(long) WSACancelAsyncRequest
|
|
|
|
109 stdcall WSASetBlockingHook(ptr) WSASetBlockingHook
|
|
|
|
110 stdcall WSAUnhookBlockingHook() WSAUnhookBlockingHook
|
|
|
|
111 stdcall WSAGetLastError() WSAGetLastError
|
|
|
|
112 stdcall WSASetLastError(long) WSASetLastError
|
|
|
|
113 stdcall WSACancelBlockingCall() WSACancelBlockingCall
|
|
|
|
114 stdcall WSAIsBlocking() WSAIsBlocking
|
2000-07-09 13:19:35 +02:00
|
|
|
115 stdcall WSAStartup(long ptr) WSAStartup
|
|
|
|
116 stdcall WSACleanup() WSACleanup
|
2000-06-18 19:23:17 +02:00
|
|
|
|
|
|
|
# 117 ~ 150 UNKNOWN
|
|
|
|
|
|
|
|
151 stdcall __WSAFDIsSet(long ptr) __WSAFDIsSet
|
|
|
|
|
|
|
|
# 152 ~ 499 UNKNOWN
|
|
|
|
|
|
|
|
500 stub WEP
|