Source code of Windows XP (NT5)
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.

81 lines
2.8 KiB

  1. ;
  2. ; File: winsock.def
  3. ; System: MS-Windows 3.x
  4. ; Summary: Module definition file for WinSockAPI DLL.
  5. ;
  6. LIBRARY WINSOCK ; Application's module name
  7. DESCRIPTION 'BSD Socket API for Windows'
  8. EXETYPE WINDOWS ; required for all windows applications
  9. ;STUB 'WINSTUB.EXE' ; generates error message if application
  10. ; ; is run without Windows
  11. ;CODE can be FIXED in memory because of potential upcalls
  12. CODE PRELOAD FIXED
  13. ;DATA must be SINGLE and at a FIXED location since this is a DLL
  14. DATA PRELOAD FIXED SINGLE
  15. HEAPSIZE 1024
  16. ; All functions that will be called by any Windows routine
  17. ; must be exported
  18. EXPORTS
  19. accept @1
  20. bind @2
  21. closesocket @3
  22. connect @4
  23. getpeername @5
  24. getsockname @6
  25. getsockopt @7
  26. htonl @8
  27. htons @9
  28. inet_addr @10
  29. inet_ntoa @11
  30. ioctlsocket @12
  31. listen @13
  32. ntohl @14
  33. ntohs @15
  34. recv @16
  35. recvfrom @17
  36. select @18
  37. send @19
  38. sendto @20
  39. setsockopt @21
  40. shutdown @22
  41. socket @23
  42. gethostbyaddr @51
  43. gethostbyname @52
  44. getprotobyname @53
  45. getprotobynumber @54
  46. getservbyname @55
  47. getservbyport @56
  48. gethostname @57
  49. WSAAsyncSelect @101
  50. WSAAsyncGetHostByAddr @102
  51. WSAAsyncGetHostByName @103
  52. WSAAsyncGetProtoByNumber @104
  53. WSAAsyncGetProtoByName @105
  54. WSAAsyncGetServByPort @106
  55. WSAAsyncGetServByName @107
  56. WSACancelAsyncRequest @108
  57. WSASetBlockingHook @109
  58. WSAUnhookBlockingHook @110
  59. WSAGetLastError @111
  60. WSASetLastError @112
  61. WSACancelBlockingCall @113
  62. WSAIsBlocking @114
  63. WSAStartup @115
  64. WSACleanup @116
  65. __WSAFDIsSet @151
  66. WEP @500 RESIDENTNAME
  67. ;eof