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.

186 lines
2.8 KiB

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. Module Name:
  4. vwinapi.h
  5. Abstract:
  6. Contains function prototypes for WIN IPX/SPX functions
  7. Author:
  8. Environment:
  9. User-mode Win32
  10. Revision History:
  11. 28-Oct-1993 yihsins
  12. Created
  13. --*/
  14. WORD
  15. VWinIPXCancelEvent(
  16. IN DWORD IPXTaskID,
  17. IN LPECB pEcb
  18. );
  19. VOID
  20. VWinIPXCloseSocket(
  21. IN DWORD IPXTaskID,
  22. IN WORD socketNumber
  23. );
  24. VOID
  25. VWinIPXDisconnectFromTarget(
  26. IN DWORD IPXTaskID,
  27. OUT LPBYTE pNetworkAddress
  28. );
  29. VOID
  30. VWinIPXGetInternetworkAddress(
  31. IN DWORD IPXTaskID,
  32. OUT LPINTERNET_ADDRESS pNetworkAddress
  33. );
  34. WORD
  35. VWinIPXGetIntervalMarker(
  36. IN DWORD IPXTaskID
  37. );
  38. WORD
  39. VWinIPXGetLocalTarget(
  40. IN DWORD IPXTaskID,
  41. IN LPBYTE pNetworkAddress,
  42. OUT LPBYTE pImmediateAddress,
  43. OUT ULPWORD pTransportTime
  44. );
  45. WORD
  46. VWinIPXGetLocalTargetAsync(
  47. IN LPBYTE pSendAGLT,
  48. OUT LPBYTE pListenAGLT,
  49. IN WORD windowsHandle
  50. );
  51. WORD
  52. VWinIPXGetMaxPacketSize(
  53. VOID
  54. );
  55. WORD
  56. VWinIPXInitialize(
  57. IN OUT ULPDWORD pIPXTaskID,
  58. IN WORD maxECBs,
  59. IN WORD maxPacketSize
  60. );
  61. VOID
  62. VWinIPXListenForPacket(
  63. DWORD IPXTaskID,
  64. LPECB pEcb,
  65. ECB_ADDRESS EcbAddress
  66. );
  67. WORD
  68. VWinIPXOpenSocket(
  69. IN DWORD IPXTaskID,
  70. IN OUT ULPWORD pSocketNumber,
  71. IN BYTE socketType
  72. );
  73. VOID
  74. VWinIPXRelinquishControl(
  75. VOID
  76. );
  77. VOID
  78. VWinIPXScheduleIPXEvent(
  79. IN DWORD IPXTaskID,
  80. IN WORD time,
  81. IN LPECB pEcb,
  82. IN ECB_ADDRESS EcbAddress
  83. );
  84. VOID
  85. VWinIPXSendPacket(
  86. IN DWORD IPXTaskID,
  87. IN LPECB pEcb,
  88. IN ECB_ADDRESS EcbAddress
  89. );
  90. WORD
  91. VWinIPXSPXDeinit(
  92. IN DWORD IPXTaskID
  93. );
  94. VOID
  95. VWinSPXAbortConnection(
  96. IN WORD SPXConnectionID
  97. );
  98. WORD
  99. VWinSPXEstablishConnection(
  100. IN DWORD IPXTaskID,
  101. IN BYTE retryCount,
  102. IN BYTE watchDog,
  103. OUT ULPWORD pSPXConnectionID,
  104. IN LPECB pEcb,
  105. IN ECB_ADDRESS EcbAddress
  106. );
  107. WORD
  108. VWinSPXGetConnectionStatus(
  109. IN DWORD IPXTaskID,
  110. IN WORD SPXConnectionID,
  111. IN LPSPX_CONNECTION_STATS pConnectionStats
  112. );
  113. WORD
  114. VWinSPXInitialize(
  115. IN OUT DWORD UNALIGNED* pIPXTaskID,
  116. IN WORD maxECBs,
  117. IN WORD maxPacketSize,
  118. OUT LPBYTE pMajorRevisionNumber,
  119. OUT LPBYTE pMinorRevisionNumber,
  120. OUT WORD UNALIGNED* pMaxConnections,
  121. OUT WORD UNALIGNED* pAvailableConnections
  122. );
  123. VOID
  124. VWinSPXListenForConnection(
  125. IN DWORD IPXTaskID,
  126. IN BYTE retryCount,
  127. IN BYTE watchDog,
  128. IN LPECB pEcb,
  129. IN ECB_ADDRESS EcbAddress
  130. );
  131. VOID
  132. VWinSPXListenForSequencedPacket(
  133. IN DWORD IPXTaskID,
  134. IN LPECB pEcb,
  135. IN ECB_ADDRESS EcbAddress
  136. );
  137. VOID
  138. VWinSPXSendSequencedPacket(
  139. IN DWORD IPXTaskID,
  140. IN WORD SPXConnectionID,
  141. IN LPECB pEcb,
  142. IN ECB_ADDRESS EcbAddress
  143. );
  144. VOID
  145. VWinSPXTerminateConnection(
  146. IN DWORD IPXTaskID,
  147. IN WORD SPXConnectionID,
  148. IN LPECB pEcb,
  149. IN ECB_ADDRESS EcbAddress
  150. );