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.

86 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. cmvc.h
  5. Abstract:
  6. Author:
  7. Rajesh Sundaram (rajeshsu), 1st Aug 1998.
  8. Revision History:
  9. --*/
  10. #ifndef _CMVC_
  11. #define _CMVC_
  12. /* Prototypes */
  13. NDIS_STATUS
  14. CreateBestEffortVc(
  15. PADAPTER Adapter,
  16. PGPC_CLIENT_VC Vc,
  17. PPS_WAN_LINK WanLink);
  18. NDIS_STATUS
  19. CmCreateVc(
  20. PGPC_CLIENT_VC *Vc,
  21. PADAPTER Adapter,
  22. PPS_WAN_LINK WanLink,
  23. PCO_CALL_PARAMETERS CallParams,
  24. GPC_HANDLE GpcCfInfoHandle,
  25. PCF_INFO_QOS CfInfoPtr,
  26. GPC_CLIENT_HANDLE ClientContext);
  27. NDIS_STATUS
  28. CmMakeCall(
  29. IN PGPC_CLIENT_VC Vc);
  30. NDIS_STATUS
  31. CmModifyCall(
  32. IN PGPC_CLIENT_VC Vc);
  33. NDIS_STATUS
  34. CmCloseCall(
  35. IN PGPC_CLIENT_VC Vc);
  36. NDIS_STATUS
  37. CmDeleteVc(
  38. IN NDIS_HANDLE ProtocolVcContext
  39. );
  40. VOID
  41. FillInCmParams(
  42. PCO_CALL_MANAGER_PARAMETERS CmParams,
  43. SERVICETYPE ServiceType,
  44. ULONG TokenRate,
  45. ULONG PeakBandwidth,
  46. ULONG TokenBucketSize,
  47. ULONG DSMode,
  48. ULONG Priority);
  49. VOID
  50. CompleteMakeCall(
  51. PGPC_CLIENT_VC Vc,
  52. PCO_CALL_PARAMETERS CallParameters,
  53. NDIS_STATUS Status);
  54. VOID
  55. ModifyCallComplete(
  56. PGPC_CLIENT_VC Vc,
  57. PCO_CALL_PARAMETERS CallParameters,
  58. NDIS_STATUS Status
  59. );
  60. /* End Prototypes */
  61. #endif /* _CMVC_ */
  62. /* end cmvc.h */