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.

184 lines
3.7 KiB

  1. /*++
  2. Copyright (c) 1995-1999 Microsoft Corporation
  3. Module Name:
  4. GpcHndlr.h
  5. Abstract:
  6. GPC client handler defs
  7. Author:
  8. Revision History:
  9. --*/
  10. #ifndef _GPC_HNDLR_
  11. #define _GPC_HNDLR_
  12. // Prototypes
  13. GPC_STATUS
  14. QosAddCfInfoNotify(
  15. IN GPC_CLIENT_HANDLE ClientContext,
  16. IN GPC_HANDLE GpcCfInfoHandle,
  17. IN ULONG CfInfoSize,
  18. IN PVOID CfInfoPtr,
  19. IN PGPC_CLIENT_HANDLE ClientCfInfoContext
  20. );
  21. GPC_STATUS
  22. QosClGetCfInfoName(
  23. IN GPC_CLIENT_HANDLE ClientContext,
  24. IN GPC_CLIENT_HANDLE ClientCfInfoContext,
  25. OUT PNDIS_STRING InstanceName
  26. );
  27. //
  28. // Internal Completion handlers
  29. //
  30. VOID
  31. CmMakeCallComplete(NDIS_STATUS Status,
  32. PGPC_CLIENT_VC Vc,
  33. PCO_CALL_PARAMETERS CallParameters);
  34. VOID
  35. CmModifyCallComplete(
  36. IN NDIS_STATUS Status,
  37. IN PGPC_CLIENT_VC GpcClientVc,
  38. IN PCO_CALL_PARAMETERS CallParameters
  39. );
  40. VOID
  41. CmCloseCallComplete(
  42. IN NDIS_STATUS Status,
  43. IN PGPC_CLIENT_VC Vc
  44. );
  45. VOID
  46. QosAddCfInfoComplete(
  47. IN GPC_CLIENT_HANDLE ClientContext,
  48. IN GPC_CLIENT_HANDLE ClientCfInfoContext,
  49. IN GPC_STATUS Status
  50. );
  51. GPC_STATUS
  52. QosModifyCfInfoNotify(
  53. IN GPC_CLIENT_HANDLE ClientContext,
  54. IN GPC_CLIENT_HANDLE ClientCfInfoContext,
  55. IN ULONG CfInfoSize,
  56. IN GPC_HANDLE CfInfo
  57. );
  58. VOID
  59. ClModifyCallQoSComplete(
  60. IN NDIS_STATUS Status,
  61. IN NDIS_HANDLE ProtocolVcContext,
  62. IN PCO_CALL_PARAMETERS CallParameters
  63. );
  64. VOID
  65. QosModifyCfInfoComplete(
  66. IN GPC_CLIENT_HANDLE ClientContext,
  67. IN GPC_CLIENT_HANDLE ClientCfInfoContext,
  68. IN GPC_STATUS Status
  69. );
  70. GPC_STATUS
  71. QosRemoveCfInfoNotify(
  72. IN GPC_CLIENT_HANDLE ClientContext,
  73. IN GPC_CLIENT_HANDLE ClientCfInfoContext
  74. );
  75. VOID
  76. ClCloseCallComplete(
  77. IN NDIS_STATUS Status,
  78. IN NDIS_HANDLE ProtocolVcContext,
  79. IN PCO_CALL_PARAMETERS CallParameters
  80. );
  81. VOID
  82. QosRemoveCfInfoComplete(
  83. IN GPC_CLIENT_HANDLE ClientContext,
  84. IN GPC_CLIENT_HANDLE ClientCfInfoContext,
  85. IN GPC_STATUS Status
  86. );
  87. VOID
  88. DerefClVc(
  89. IN PGPC_CLIENT_VC Vc);
  90. NDIS_STATUS
  91. CloseCallWithNdis(
  92. PGPC_CLIENT_VC Vc
  93. );
  94. NDIS_STATUS
  95. CloseCallWithGpc(
  96. PGPC_CLIENT_VC Vc
  97. );
  98. //
  99. // Prototypes for CF_INFO_CLASS_MAP
  100. //
  101. GPC_STATUS
  102. ClassMapAddCfInfoNotify(
  103. IN GPC_CLIENT_HANDLE ClientContext,
  104. IN GPC_HANDLE GpcCfInfoHandle,
  105. IN ULONG CfInfoSize,
  106. IN PVOID CfInfoPtr,
  107. IN PGPC_CLIENT_HANDLE ClientCfInfoContext
  108. );
  109. GPC_STATUS
  110. ClassMapClGetCfInfoName(
  111. IN GPC_CLIENT_HANDLE ClientContext,
  112. IN GPC_CLIENT_HANDLE ClientCfInfoContext,
  113. OUT PNDIS_STRING InstanceName
  114. );
  115. VOID
  116. ClassMapAddCfInfoComplete(
  117. IN GPC_CLIENT_HANDLE ClientContext,
  118. IN GPC_CLIENT_HANDLE ClientCfInfoContext,
  119. IN GPC_STATUS Status
  120. );
  121. GPC_STATUS
  122. ClassMapModifyCfInfoNotify(
  123. IN GPC_CLIENT_HANDLE ClientContext,
  124. IN GPC_CLIENT_HANDLE ClientCfInfoContext,
  125. IN ULONG CfInfoSize,
  126. IN GPC_HANDLE CfInfo
  127. );
  128. VOID
  129. ClassMapModifyCfInfoComplete(
  130. IN GPC_CLIENT_HANDLE ClientContext,
  131. IN GPC_CLIENT_HANDLE ClientCfInfoContext,
  132. IN GPC_STATUS Status
  133. );
  134. GPC_STATUS
  135. ClassMapRemoveCfInfoNotify(
  136. IN GPC_CLIENT_HANDLE ClientContext,
  137. IN GPC_CLIENT_HANDLE ClientCfInfoContext
  138. );
  139. VOID
  140. ClassMapRemoveCfInfoComplete(
  141. IN GPC_CLIENT_HANDLE ClientContext,
  142. IN GPC_CLIENT_HANDLE ClientCfInfoContext,
  143. IN GPC_STATUS Status
  144. );
  145. VOID
  146. SetTOSIEEEValues(PGPC_CLIENT_VC Vc);
  147. // End prototypes
  148. #endif // _GPC_HNDLR_