Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

198 lines
15 KiB

  1. /*++
  2. *
  3. * WOW v1.0
  4. *
  5. * Copyright (c) 1991, Microsoft Corporation
  6. *
  7. * WWSTBL2.h
  8. * WOW32 16-bit Winsock API tables
  9. *
  10. * History:
  11. * Created 02-Oct-1992 by David Treadwell (davidtr)
  12. *
  13. * This file is included into the master thunk table.
  14. *
  15. --*/
  16. {W32FUN(UNIMPLEMENTEDAPI, "DUMMYENTRY", MOD_WINSOCK, 0)},
  17. {W32FUN(WWS32accept, "ACCEPT", MOD_WINSOCK, sizeof(ACCEPT16))},
  18. {W32FUN(WWS32bind, "BIND", MOD_WINSOCK, sizeof(BIND16))},
  19. {W32FUN(WWS32closesocket, "CLOSESOCKET", MOD_WINSOCK, sizeof(CLOSESOCKET16))},
  20. {W32FUN(WWS32connect, "CONNECT", MOD_WINSOCK, sizeof(CONNECT16))},
  21. {W32FUN(WWS32getpeername, "GETPEERNAME", MOD_WINSOCK, sizeof(GETPEERNAME16))},
  22. {W32FUN(WWS32getsockname, "GETSOCKNAME", MOD_WINSOCK, sizeof(GETSOCKNAME16))},
  23. {W32FUN(WWS32getsockopt, "GETSOCKOPT", MOD_WINSOCK, sizeof(GETSOCKOPT16))},
  24. {W32FUN(WWS32htonl, "HTONL", MOD_WINSOCK, sizeof(HTONL16))},
  25. {W32FUN(WWS32htons, "HTONS", MOD_WINSOCK, sizeof(HTONS16))},
  26. /*** 0010 ***/
  27. {W32FUN(WWS32inet_addr, "INET_ADDR", MOD_WINSOCK, sizeof(INET_ADDR16))},
  28. {W32FUN(WWS32inet_ntoa, "INET_NTOA", MOD_WINSOCK, sizeof(INET_NTOA16))},
  29. {W32FUN(WWS32ioctlsocket, "IOCTLSOCKET", MOD_WINSOCK, sizeof(IOCTLSOCKET16))},
  30. {W32FUN(WWS32listen, "LISTEN", MOD_WINSOCK, sizeof(LISTEN16))},
  31. {W32FUN(WWS32ntohl, "NTOHL", MOD_WINSOCK, sizeof(NTOHL16))},
  32. {W32FUN(WWS32ntohs, "NTOHS", MOD_WINSOCK, sizeof(NTOHS16))},
  33. {W32FUN(WWS32recv, "RECV", MOD_WINSOCK, sizeof(RECV16))},
  34. {W32FUN(WWS32recvfrom, "RECVFROM", MOD_WINSOCK, sizeof(RECVFROM16))},
  35. {W32FUN(WWS32select, "SELECT", MOD_WINSOCK, sizeof(SELECT16))},
  36. {W32FUN(WWS32send, "SEND", MOD_WINSOCK, sizeof(SEND16))},
  37. /*** 0020 ***/
  38. {W32FUN(WWS32sendto, "SENDTO", MOD_WINSOCK, sizeof(SENDTO16))},
  39. {W32FUN(WWS32setsockopt, "SETSOCKOPT", MOD_WINSOCK, sizeof(SETSOCKOPT16))},
  40. {W32FUN(WWS32shutdown, "SHUTDOWN", MOD_WINSOCK, sizeof(SHUTDOWN16))},
  41. {W32FUN(WWS32socket, "SOCKET", MOD_WINSOCK, sizeof(SOCKET16))},
  42. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  43. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  44. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  45. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  46. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  47. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  48. /*** 0030 ***/
  49. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  50. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  51. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  52. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  53. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  54. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  55. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  56. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  57. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  58. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  59. /*** 0040 ***/
  60. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  61. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  62. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  63. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  64. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  65. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  66. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  67. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  68. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  69. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  70. /*** 0050 ***/
  71. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  72. {W32FUN(WWS32gethostbyaddr, "GETHOSTBYADDR", MOD_WINSOCK, sizeof(GETHOSTBYADDR16))},
  73. {W32FUN(WWS32gethostbyname, "GETHOSTBYNAME", MOD_WINSOCK, sizeof(GETHOSTBYNAME16))},
  74. {W32FUN(WWS32getprotobyname, "GETPROTOBYNAME", MOD_WINSOCK, sizeof(GETPROTOBYNAME16))},
  75. {W32FUN(WWS32getprotobynumber, "GETPROTOBYNUMBER", MOD_WINSOCK, sizeof(GETPROTOBYNUMBER16))},
  76. {W32FUN(WWS32getservbyname, "GETSERVBYNAME", MOD_WINSOCK, sizeof(GETSERVBYNAME16))},
  77. {W32FUN(WWS32getservbyport, "GETSERVBYPORT", MOD_WINSOCK, sizeof(GETSERVBYPORT16))},
  78. {W32FUN(WWS32gethostname, "GETHOSTNAME", MOD_WINSOCK, sizeof(GETHOSTNAME16))},
  79. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  80. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  81. /*** 0060 ***/
  82. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  83. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  84. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  85. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  86. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  87. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  88. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  89. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  90. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  91. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  92. /*** 0070 ***/
  93. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  94. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  95. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  96. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  97. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  98. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  99. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  100. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  101. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  102. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  103. /*** 0080 ***/
  104. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  105. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  106. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  107. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  108. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  109. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  110. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  111. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  112. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  113. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  114. /*** 0090 ***/
  115. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  116. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  117. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  118. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  119. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  120. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  121. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  122. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  123. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  124. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  125. /*** 0100 ***/
  126. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  127. {W32FUN(WWS32WSAAsyncSelect, "WSAASYNCSELECT", MOD_WINSOCK, sizeof(WSAASYNCSELECT16))},
  128. {W32FUN(WWS32WSAAsyncGetHostByAddr, "WSAASYNCGETHOSTBYADDR", MOD_WINSOCK, sizeof(WSAASYNCGETHOSTBYADDR16))},
  129. {W32FUN(WWS32WSAAsyncGetHostByName, "WSAASYNCGETHOSTBYNAME", MOD_WINSOCK, sizeof(WSAASYNCGETHOSTBYNAME16))},
  130. {W32FUN(WWS32WSAAsyncGetProtoByNumber, "WSAASYNCGETPROTOBYNUMBER",MOD_WINSOCK, sizeof(WSAASYNCGETPROTOBYNUMBER16))},
  131. {W32FUN(WWS32WSAAsyncGetProtoByName, "WSAASYNCGETPROTOBYNAME", MOD_WINSOCK, sizeof(WSAASYNCGETPROTOBYNAME16))},
  132. {W32FUN(WWS32WSAAsyncGetServByPort, "WSAASYNCGETSERVBYPORT", MOD_WINSOCK, sizeof(WSAASYNCGETSERVBYPORT16))},
  133. {W32FUN(WWS32WSAAsyncGetServByName, "WSAASYNCGETSERVBYNAME", MOD_WINSOCK, sizeof(WSAASYNCGETSERVBYNAME16))},
  134. {W32FUN(WWS32WSACancelAsyncRequest, "WSACANCELASYNCREQUEST", MOD_WINSOCK, sizeof(WSACANCELASYNCREQUEST16))},
  135. {W32FUN(WWS32WSASetBlockingHook, "WSASETBLOCKINGHOOK", MOD_WINSOCK, sizeof(WSASETBLOCKINGHOOK16))},
  136. /*** 0110 ***/
  137. {W32FUN(WWS32WSAUnhookBlockingHook, "WSAUNHOOKBLOCKINGHOOK", MOD_WINSOCK, 0)},
  138. {W32FUN(WWS32WSAGetLastError, "WSAGETLASTERROR", MOD_WINSOCK, 0)},
  139. {W32FUN(WWS32WSASetLastError, "WSASETLASTERROR", MOD_WINSOCK, sizeof(WSASETLASTERROR16))},
  140. {W32FUN(WWS32WSACancelBlockingCall, "WSACANCELBLOCKINGCALL", MOD_WINSOCK, 0)},
  141. {W32FUN(WWS32WSAIsBlocking, "WSAISBLOCKING", MOD_WINSOCK, 0)},
  142. {W32FUN(WWS32WSAStartup, "WSASTARTUP", MOD_WINSOCK, sizeof(WSASTARTUP16))},
  143. {W32FUN(WWS32WSACleanup, "WSACLEANUP", MOD_WINSOCK, 0)},
  144. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  145. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  146. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  147. /*** 0120 ***/
  148. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  149. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  150. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  151. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  152. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  153. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  154. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  155. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  156. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  157. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  158. /*** 0130 ***/
  159. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  160. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  161. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  162. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  163. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  164. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  165. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  166. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  167. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  168. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  169. /*** 0140 ***/
  170. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  171. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  172. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  173. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  174. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  175. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  176. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  177. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  178. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  179. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  180. /*** 0150 ***/
  181. {W32FUN(UNIMPLEMENTEDAPI, "", MOD_WINSOCK, 0)},
  182. {W32FUN(WWS32__WSAFDIsSet, "__WSAFDISSET", MOD_WINSOCK, sizeof(__WSAFDISSET16))},