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.

130 lines
3.4 KiB

  1. VOID
  2. EpvcCoOpenAfComplete(
  3. IN NDIS_STATUS Status,
  4. IN NDIS_HANDLE ProtocolAfContext,
  5. IN NDIS_HANDLE NdisAfHandle
  6. );
  7. VOID
  8. EpvcCoCloseAfComplete(
  9. IN NDIS_STATUS Status,
  10. IN NDIS_HANDLE ProtocolAfContext
  11. );
  12. VOID
  13. EpvcCoMakeCallComplete(
  14. IN NDIS_STATUS Status,
  15. IN NDIS_HANDLE ProtocolVcContext,
  16. IN NDIS_HANDLE NdisPartyHandle OPTIONAL,
  17. IN PCO_CALL_PARAMETERS CallParameters
  18. );
  19. VOID
  20. EpvcCoCloseCallComplete(
  21. IN NDIS_STATUS Status,
  22. IN NDIS_HANDLE ProtocolVcContext,
  23. IN NDIS_HANDLE ProtocolPartyContext OPTIONAL
  24. );
  25. NDIS_STATUS
  26. EpvcCoIncomingCall(
  27. IN NDIS_HANDLE ProtocolSapContext,
  28. IN NDIS_HANDLE ProtocolVcContext,
  29. IN OUT PCO_CALL_PARAMETERS CallParameters
  30. );
  31. VOID
  32. EpvcCoCallConnected(
  33. IN NDIS_HANDLE ProtocolVcContext
  34. );
  35. VOID
  36. EpvcCoIncomingClose(
  37. IN NDIS_STATUS CloseStatus,
  38. IN NDIS_HANDLE ProtocolVcContext,
  39. IN PVOID CloseData OPTIONAL,
  40. IN UINT Size OPTIONAL
  41. );
  42. //
  43. // CO_CREATE_VC_HANDLER and CO_DELETE_VC_HANDLER are synchronous calls
  44. //
  45. NDIS_STATUS
  46. EpvcClientCreateVc(
  47. IN NDIS_HANDLE ProtocolAfContext,
  48. IN NDIS_HANDLE NdisVcHandle,
  49. OUT PNDIS_HANDLE ProtocolVcContext
  50. );
  51. NDIS_STATUS
  52. EpvcClientDeleteVc(
  53. IN NDIS_HANDLE ProtocolVcContext
  54. );
  55. NDIS_STATUS
  56. EpvcCoRequest(
  57. IN NDIS_HANDLE ProtocolAfContext,
  58. IN NDIS_HANDLE ProtocolVcContext OPTIONAL,
  59. IN NDIS_HANDLE ProtocolPartyContext OPTIONAL,
  60. IN OUT PNDIS_REQUEST NdisRequest
  61. );
  62. VOID
  63. EpvcCoRequestComplete(
  64. IN NDIS_STATUS Status,
  65. IN NDIS_HANDLE ProtocolAfContext OPTIONAL,
  66. IN NDIS_HANDLE ProtocolVcContext OPTIONAL,
  67. IN NDIS_HANDLE ProtocolPartyContext OPTIONAL,
  68. IN PNDIS_REQUEST NdisRequest
  69. );
  70. VOID
  71. EpvcCoCloseCallComplete(
  72. IN NDIS_STATUS Status,
  73. IN NDIS_HANDLE ProtocolVcContext,
  74. IN NDIS_HANDLE ProtocolPartyContext OPTIONAL
  75. );
  76. NDIS_STATUS
  77. epvcPrepareAndSendNdisRequest(
  78. IN PEPVC_ADAPTER pAdapter,
  79. IN PEPVC_NDIS_REQUEST pEpvcNdisRequest,
  80. IN REQUEST_COMPLETION pFunc, // OPTIONAL
  81. IN NDIS_OID Oid,
  82. IN PVOID pBuffer,
  83. IN ULONG BufferLength,
  84. IN NDIS_REQUEST_TYPE RequestType,
  85. IN PEPVC_I_MINIPORT pMiniport, // OPTIONAL
  86. IN BOOLEAN fPendedRequest, // OPTIONAL
  87. IN BOOLEAN fPendedSet, // OPTIONAL
  88. IN PRM_STACK_RECORD pSR
  89. );
  90. VOID
  91. epvcMiniportQueueWorkItem (
  92. IN PEPVC_WORK_ITEM pEpvcWorkItem,
  93. IN PEPVC_I_MINIPORT pMiniport,
  94. IN PEVPC_WORK_ITEM_FUNC pFn,
  95. IN NDIS_STATUS Status,
  96. IN PRM_STACK_RECORD pSR
  97. );
  98. VOID
  99. epvcCoGenericWorkItem (
  100. IN PNDIS_WORK_ITEM pNdisWorkItem,
  101. IN PVOID Context
  102. );