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.

734 lines
19 KiB

  1. typedef struct _CO_CALL_PARAMETERS CO_CALL_PARAMETERS, *PCO_CALL_PARAMETERS;
  2. typedef struct _CO_MEDIA_PARAMETERS CO_MEDIA_PARAMETERS, *PCO_MEDIA_PARAMETERS;
  3. //
  4. // CoNdis client only handler proto-types - used by clients of call managers
  5. //
  6. typedef
  7. VOID
  8. (*CL_OPEN_AF_COMPLETE_HANDLER)(
  9. IN NDIS_STATUS Status,
  10. IN NDIS_HANDLE ProtocolAfContext,
  11. IN NDIS_HANDLE NdisAfHandle
  12. );
  13. typedef
  14. VOID
  15. (*CL_CLOSE_AF_COMPLETE_HANDLER)(
  16. IN NDIS_STATUS Status,
  17. IN NDIS_HANDLE ProtocolAfContext
  18. );
  19. typedef
  20. VOID
  21. (*CL_REG_SAP_COMPLETE_HANDLER)(
  22. IN NDIS_STATUS Status,
  23. IN NDIS_HANDLE ProtocolSapContext,
  24. IN PCO_SAP Sap,
  25. IN NDIS_HANDLE NdisSapHandle
  26. );
  27. typedef
  28. VOID
  29. (*CL_DEREG_SAP_COMPLETE_HANDLER)(
  30. IN NDIS_STATUS Status,
  31. IN NDIS_HANDLE ProtocolSapContext
  32. );
  33. typedef
  34. VOID
  35. (*CL_MAKE_CALL_COMPLETE_HANDLER)(
  36. IN NDIS_STATUS Status,
  37. IN NDIS_HANDLE ProtocolVcContext,
  38. IN NDIS_HANDLE NdisPartyHandle OPTIONAL,
  39. IN PCO_CALL_PARAMETERS CallParameters
  40. );
  41. typedef
  42. VOID
  43. (*CL_CLOSE_CALL_COMPLETE_HANDLER)(
  44. IN NDIS_STATUS Status,
  45. IN NDIS_HANDLE ProtocolVcContext,
  46. IN NDIS_HANDLE ProtocolPartyContext OPTIONAL
  47. );
  48. typedef
  49. VOID
  50. (*CL_ADD_PARTY_COMPLETE_HANDLER)(
  51. IN NDIS_STATUS Status,
  52. IN NDIS_HANDLE ProtocolPartyContext,
  53. IN NDIS_HANDLE NdisPartyHandle,
  54. IN PCO_CALL_PARAMETERS CallParameters
  55. );
  56. typedef
  57. VOID
  58. (*CL_DROP_PARTY_COMPLETE_HANDLER)(
  59. IN NDIS_STATUS Status,
  60. IN NDIS_HANDLE ProtocolPartyContext
  61. );
  62. typedef
  63. NDIS_STATUS
  64. (*CL_INCOMING_CALL_HANDLER)(
  65. IN NDIS_HANDLE ProtocolSapContext,
  66. IN NDIS_HANDLE ProtocolVcContext,
  67. IN OUT PCO_CALL_PARAMETERS CallParameters
  68. );
  69. typedef
  70. VOID
  71. (*CL_CALL_CONNECTED_HANDLER)(
  72. IN NDIS_HANDLE ProtocolVcContext
  73. );
  74. typedef
  75. VOID
  76. (*CL_INCOMING_CLOSE_CALL_HANDLER)(
  77. IN NDIS_STATUS CloseStatus,
  78. IN NDIS_HANDLE ProtocolVcContext,
  79. IN PVOID CloseData OPTIONAL,
  80. IN UINT Size OPTIONAL
  81. );
  82. typedef
  83. VOID
  84. (*CL_INCOMING_DROP_PARTY_HANDLER)(
  85. IN NDIS_STATUS DropStatus,
  86. IN NDIS_HANDLE ProtocolPartyContext,
  87. IN PVOID CloseData OPTIONAL,
  88. IN UINT Size OPTIONAL
  89. );
  90. typedef
  91. VOID
  92. (*CL_MODIFY_CALL_QOS_COMPLETE_HANDLER)(
  93. IN NDIS_STATUS Status,
  94. IN NDIS_HANDLE ProtocolVcContext,
  95. IN PCO_CALL_PARAMETERS CallParameters
  96. );
  97. typedef
  98. VOID
  99. (*CL_INCOMING_CALL_QOS_CHANGE_HANDLER)(
  100. IN NDIS_HANDLE ProtocolVcContext,
  101. IN PCO_CALL_PARAMETERS CallParameters
  102. );
  103. typedef struct _NDIS_CLIENT_CHARACTERISTICS
  104. {
  105. UCHAR MajorVersion;
  106. UCHAR MinorVersion;
  107. USHORT Filler;
  108. UINT Reserved;
  109. CO_CREATE_VC_HANDLER ClCreateVcHandler;
  110. CO_DELETE_VC_HANDLER ClDeleteVcHandler;
  111. CO_REQUEST_HANDLER ClRequestHandler;
  112. CO_REQUEST_COMPLETE_HANDLER ClRequestCompleteHandler;
  113. CL_OPEN_AF_COMPLETE_HANDLER ClOpenAfCompleteHandler;
  114. CL_CLOSE_AF_COMPLETE_HANDLER ClCloseAfCompleteHandler;
  115. CL_REG_SAP_COMPLETE_HANDLER ClRegisterSapCompleteHandler;
  116. CL_DEREG_SAP_COMPLETE_HANDLER ClDeregisterSapCompleteHandler;
  117. CL_MAKE_CALL_COMPLETE_HANDLER ClMakeCallCompleteHandler;
  118. CL_MODIFY_CALL_QOS_COMPLETE_HANDLER ClModifyCallQoSCompleteHandler;
  119. CL_CLOSE_CALL_COMPLETE_HANDLER ClCloseCallCompleteHandler;
  120. CL_ADD_PARTY_COMPLETE_HANDLER ClAddPartyCompleteHandler;
  121. CL_DROP_PARTY_COMPLETE_HANDLER ClDropPartyCompleteHandler;
  122. CL_INCOMING_CALL_HANDLER ClIncomingCallHandler;
  123. CL_INCOMING_CALL_QOS_CHANGE_HANDLER ClIncomingCallQoSChangeHandler;
  124. CL_INCOMING_CLOSE_CALL_HANDLER ClIncomingCloseCallHandler;
  125. CL_INCOMING_DROP_PARTY_HANDLER ClIncomingDropPartyHandler;
  126. CL_CALL_CONNECTED_HANDLER ClCallConnectedHandler;
  127. } NDIS_CLIENT_CHARACTERISTICS, *PNDIS_CLIENT_CHARACTERISTICS;
  128. //
  129. // CoNdis call-manager only handler proto-types - used by call managers only
  130. //
  131. typedef
  132. NDIS_STATUS
  133. (*CM_OPEN_AF_HANDLER)(
  134. IN NDIS_HANDLE CallMgrBindingContext,
  135. IN PCO_ADDRESS_FAMILY AddressFamily,
  136. IN NDIS_HANDLE NdisAfHandle,
  137. OUT PNDIS_HANDLE CallMgrAfContext
  138. );
  139. typedef
  140. NDIS_STATUS
  141. (*CM_CLOSE_AF_HANDLER)(
  142. IN NDIS_HANDLE CallMgrAfContext
  143. );
  144. typedef
  145. NDIS_STATUS
  146. (*CM_REG_SAP_HANDLER)(
  147. IN NDIS_HANDLE CallMgrAfContext,
  148. IN PCO_SAP Sap,
  149. IN NDIS_HANDLE NdisSapHandle,
  150. OUT PNDIS_HANDLE CallMgrSapContext
  151. );
  152. typedef
  153. NDIS_STATUS
  154. (*CM_DEREG_SAP_HANDLER)(
  155. IN NDIS_HANDLE CallMgrSapContext
  156. );
  157. typedef
  158. NDIS_STATUS
  159. (*CM_MAKE_CALL_HANDLER)(
  160. IN NDIS_HANDLE CallMgrVcContext,
  161. IN OUT PCO_CALL_PARAMETERS CallParameters,
  162. IN NDIS_HANDLE NdisPartyHandle OPTIONAL,
  163. OUT PNDIS_HANDLE CallMgrPartyContext OPTIONAL
  164. );
  165. typedef
  166. NDIS_STATUS
  167. (*CM_CLOSE_CALL_HANDLER)(
  168. IN NDIS_HANDLE CallMgrVcContext,
  169. IN NDIS_HANDLE CallMgrPartyContext OPTIONAL,
  170. IN PVOID CloseData OPTIONAL,
  171. IN UINT Size OPTIONAL
  172. );
  173. typedef
  174. NDIS_STATUS
  175. (*CM_MODIFY_CALL_QOS_HANDLER)(
  176. IN NDIS_HANDLE CallMgrVcContext,
  177. IN PCO_CALL_PARAMETERS CallParameters
  178. );
  179. typedef
  180. VOID
  181. (*CM_INCOMING_CALL_COMPLETE_HANDLER)(
  182. IN NDIS_STATUS Status,
  183. IN NDIS_HANDLE CallMgrVcContext,
  184. IN PCO_CALL_PARAMETERS CallParameters
  185. );
  186. typedef
  187. VOID
  188. (*CM_ACTIVATE_VC_COMPLETE_HANDLER)(
  189. IN NDIS_STATUS Status,
  190. IN NDIS_HANDLE CallMgrVcContext,
  191. IN PCO_CALL_PARAMETERS CallParameters
  192. );
  193. typedef
  194. VOID
  195. (*CM_DEACTIVATE_VC_COMPLETE_HANDLER)(
  196. IN NDIS_STATUS Status,
  197. IN NDIS_HANDLE CallMgrVcContext
  198. );
  199. typedef
  200. NDIS_STATUS
  201. (*CM_ADD_PARTY_HANDLER)(
  202. IN NDIS_HANDLE CallMgrVcContext,
  203. IN OUT PCO_CALL_PARAMETERS CallParameters,
  204. IN NDIS_HANDLE NdisPartyHandle,
  205. OUT PNDIS_HANDLE CallMgrPartyContext
  206. );
  207. typedef
  208. NDIS_STATUS
  209. (*CM_DROP_PARTY_HANDLER)(
  210. IN NDIS_HANDLE CallMgrPartyContext,
  211. IN PVOID CloseData OPTIONAL,
  212. IN UINT Size OPTIONAL
  213. );
  214. typedef struct _NDIS_CALL_MANAGER_CHARACTERISTICS
  215. {
  216. UCHAR MajorVersion;
  217. UCHAR MinorVersion;
  218. USHORT Filler;
  219. UINT Reserved;
  220. CO_CREATE_VC_HANDLER CmCreateVcHandler;
  221. CO_DELETE_VC_HANDLER CmDeleteVcHandler;
  222. CM_OPEN_AF_HANDLER CmOpenAfHandler;
  223. CM_CLOSE_AF_HANDLER CmCloseAfHandler;
  224. CM_REG_SAP_HANDLER CmRegisterSapHandler;
  225. CM_DEREG_SAP_HANDLER CmDeregisterSapHandler;
  226. CM_MAKE_CALL_HANDLER CmMakeCallHandler;
  227. CM_CLOSE_CALL_HANDLER CmCloseCallHandler;
  228. CM_INCOMING_CALL_COMPLETE_HANDLER CmIncomingCallCompleteHandler;
  229. CM_ADD_PARTY_HANDLER CmAddPartyHandler;
  230. CM_DROP_PARTY_HANDLER CmDropPartyHandler;
  231. CM_ACTIVATE_VC_COMPLETE_HANDLER CmActivateVcCompleteHandler;
  232. CM_DEACTIVATE_VC_COMPLETE_HANDLER CmDeactivateVcCompleteHandler;
  233. CM_MODIFY_CALL_QOS_HANDLER CmModifyCallQoSHandler;
  234. CO_REQUEST_HANDLER CmRequestHandler;
  235. CO_REQUEST_COMPLETE_HANDLER CmRequestCompleteHandler;
  236. } NDIS_CALL_MANAGER_CHARACTERISTICS, *PNDIS_CALL_MANAGER_CHARACTERISTICS;
  237. //
  238. // this send flag is used on ATM net cards to set ( turn on ) the CLP bit
  239. // (Cell Loss Priority) bit
  240. //
  241. #define CO_SEND_FLAG_SET_DISCARD_ELIBILITY 0x00000001
  242. //
  243. // the Address structure used on NDIS_CO_ADD_ADDRESS or NDIS_CO_DELETE_ADDRESS
  244. //
  245. typedef struct _CO_ADDRESS
  246. {
  247. ULONG AddressSize;
  248. UCHAR Address[1];
  249. } CO_ADDRESS, *PCO_ADDRESS;
  250. //
  251. // the list of addresses returned from the CallMgr on a NDIS_CO_GET_ADDRESSES
  252. //
  253. typedef struct _CO_ADDRESS_LIST
  254. {
  255. ULONG NumberOfAddressesAvailable;
  256. ULONG NumberOfAddresses;
  257. CO_ADDRESS AddressList;
  258. } CO_ADDRESS_LIST, *PCO_ADDRESS_LIST;
  259. #ifndef FAR
  260. #define FAR
  261. #endif
  262. #include <qos.h>
  263. typedef struct _CO_SPECIFIC_PARAMETERS
  264. {
  265. ULONG ParamType;
  266. ULONG Length;
  267. UCHAR Parameters[1];
  268. } CO_SPECIFIC_PARAMETERS, *PCO_SPECIFIC_PARAMETERS;
  269. typedef struct _CO_CALL_MANAGER_PARAMETERS
  270. {
  271. FLOWSPEC Transmit;
  272. FLOWSPEC Receive;
  273. CO_SPECIFIC_PARAMETERS CallMgrSpecific;
  274. } CO_CALL_MANAGER_PARAMETERS, *PCO_CALL_MANAGER_PARAMETERS;
  275. //
  276. // this is the generic portion of the media parameters, including the media
  277. // specific component too.
  278. //
  279. typedef struct _CO_MEDIA_PARAMETERS
  280. {
  281. ULONG Flags;
  282. ULONG ReceivePriority;
  283. ULONG ReceiveSizeHint;
  284. CO_SPECIFIC_PARAMETERS POINTER_ALIGNMENT MediaSpecific;
  285. } CO_MEDIA_PARAMETERS, *PCO_MEDIA_PARAMETERS;
  286. //
  287. // definitions for the flags in CO_MEDIA_PARAMETERS
  288. //
  289. #define RECEIVE_TIME_INDICATION 0x00000001
  290. #define USE_TIME_STAMPS 0x00000002
  291. #define TRANSMIT_VC 0x00000004
  292. #define RECEIVE_VC 0x00000008
  293. #define INDICATE_ERRED_PACKETS 0x00000010
  294. #define INDICATE_END_OF_TX 0x00000020
  295. #define RESERVE_RESOURCES_VC 0x00000040
  296. #define ROUND_DOWN_FLOW 0x00000080
  297. #define ROUND_UP_FLOW 0x00000100
  298. //
  299. // define a flag to set in the flags of an Ndis packet when the miniport
  300. // indicates a receive with an error in it
  301. //
  302. #define ERRED_PACKET_INDICATION 0x00000001
  303. //
  304. // this is the structure passed during call-setup
  305. //
  306. typedef struct _CO_CALL_PARAMETERS
  307. {
  308. ULONG Flags;
  309. PCO_CALL_MANAGER_PARAMETERS CallMgrParameters;
  310. PCO_MEDIA_PARAMETERS MediaParameters;
  311. } CO_CALL_PARAMETERS, *PCO_CALL_PARAMETERS;
  312. //
  313. // Definitions for the Flags in CO_CALL_PARAMETERS
  314. //
  315. #define PERMANENT_VC 0x00000001
  316. #define CALL_PARAMETERS_CHANGED 0x00000002
  317. #define QUERY_CALL_PARAMETERS 0x00000004
  318. #define BROADCAST_VC 0x00000008
  319. #define MULTIPOINT_VC 0x00000010
  320. //
  321. // The format of the Request for adding/deleting a PVC
  322. //
  323. typedef struct _CO_PVC
  324. {
  325. NDIS_HANDLE NdisAfHandle;
  326. CO_SPECIFIC_PARAMETERS PvcParameters;
  327. } CO_PVC,*PCO_PVC;
  328. typedef struct _ATM_ADDRESS ATM_ADDRESS, *PATM_ADDRESS;
  329. EXPORT
  330. VOID
  331. NdisConvertStringToAtmAddress(
  332. OUT PNDIS_STATUS Status,
  333. IN PNDIS_STRING String,
  334. OUT PATM_ADDRESS AtmAddress
  335. );
  336. //
  337. // NDIS 5.0 Extensions for protocols
  338. //
  339. EXPORT
  340. NDIS_STATUS
  341. NdisCoAssignInstanceName(
  342. IN NDIS_HANDLE NdisVcHandle,
  343. IN PNDIS_STRING BaseInstanceName,
  344. OUT PNDIS_STRING VcInstanceName
  345. );
  346. EXPORT
  347. VOID
  348. NdisCoSendPackets(
  349. IN NDIS_HANDLE NdisVcHandle,
  350. IN PPNDIS_PACKET PacketArray,
  351. IN UINT NumberOfPackets
  352. );
  353. EXPORT
  354. NDIS_STATUS
  355. NdisCoCreateVc(
  356. IN NDIS_HANDLE NdisBindingHandle,
  357. IN NDIS_HANDLE NdisAfHandle OPTIONAL, // For CM signalling VCs
  358. IN NDIS_HANDLE ProtocolVcContext,
  359. IN OUT PNDIS_HANDLE NdisVcHandle
  360. );
  361. EXPORT
  362. NDIS_STATUS
  363. NdisCoDeleteVc(
  364. IN NDIS_HANDLE NdisVcHandle
  365. );
  366. EXPORT
  367. NDIS_STATUS
  368. NdisCoRequest(
  369. IN NDIS_HANDLE NdisBindingHandle,
  370. IN NDIS_HANDLE NdisAfHandle OPTIONAL,
  371. IN NDIS_HANDLE NdisVcHandle OPTIONAL,
  372. IN NDIS_HANDLE NdisPartyHandle OPTIONAL,
  373. IN OUT PNDIS_REQUEST NdisRequest
  374. );
  375. EXPORT
  376. VOID
  377. NdisCoRequestComplete(
  378. IN NDIS_STATUS Status,
  379. IN NDIS_HANDLE NdisAfHandle,
  380. IN NDIS_HANDLE NdisVcHandle OPTIONAL,
  381. IN NDIS_HANDLE NdisPartyHandle OPTIONAL,
  382. IN PNDIS_REQUEST NdisRequest
  383. );
  384. #ifndef __NDISTAPI_VAR_STRING_DECLARED
  385. #define __NDISTAPI_VAR_STRING_DECLARED
  386. typedef struct _VAR_STRING
  387. {
  388. ULONG ulTotalSize;
  389. ULONG ulNeededSize;
  390. ULONG ulUsedSize;
  391. ULONG ulStringFormat;
  392. ULONG ulStringSize;
  393. ULONG ulStringOffset;
  394. } VAR_STRING, *PVAR_STRING;
  395. #endif // __NDISTAPI_VAR_STRING_DECLARED
  396. #ifndef __NDISTAPI_STRINGFORMATS_DEFINED
  397. #define __NDISTAPI_STRINGFORMATS_DEFINED
  398. #define STRINGFORMAT_ASCII 0x00000001
  399. #define STRINGFORMAT_DBCS 0x00000002
  400. #define STRINGFORMAT_UNICODE 0x00000003
  401. #define STRINGFORMAT_BINARY 0x00000004
  402. #endif // __NDISTAPI_STRINGFORMATS_DEFINED
  403. EXPORT
  404. NDIS_STATUS
  405. NdisCoGetTapiCallId(
  406. IN NDIS_HANDLE NdisVcHandle,
  407. IN OUT PVAR_STRING TapiCallId
  408. );
  409. //
  410. // Client Apis
  411. //
  412. EXPORT
  413. NDIS_STATUS
  414. NdisClOpenAddressFamily(
  415. IN NDIS_HANDLE NdisBindingHandle,
  416. IN PCO_ADDRESS_FAMILY AddressFamily,
  417. IN NDIS_HANDLE ProtocolAfContext,
  418. IN PNDIS_CLIENT_CHARACTERISTICS ClCharacteristics,
  419. IN UINT SizeOfClCharacteristics,
  420. OUT PNDIS_HANDLE NdisAfHandle
  421. );
  422. EXPORT
  423. NDIS_STATUS
  424. NdisClCloseAddressFamily(
  425. IN NDIS_HANDLE NdisAfHandle
  426. );
  427. EXPORT
  428. NDIS_STATUS
  429. NdisClRegisterSap(
  430. IN NDIS_HANDLE NdisAfHandle,
  431. IN NDIS_HANDLE ProtocolSapContext,
  432. IN PCO_SAP Sap,
  433. OUT PNDIS_HANDLE NdisSapHandle
  434. );
  435. EXPORT
  436. NDIS_STATUS
  437. NdisClDeregisterSap(
  438. IN NDIS_HANDLE NdisSapHandle
  439. );
  440. EXPORT
  441. NDIS_STATUS
  442. NdisClMakeCall(
  443. IN NDIS_HANDLE NdisVcHandle,
  444. IN OUT PCO_CALL_PARAMETERS CallParameters,
  445. IN NDIS_HANDLE ProtocolPartyContext OPTIONAL,
  446. OUT PNDIS_HANDLE NdisPartyHandle OPTIONAL
  447. );
  448. EXPORT
  449. NDIS_STATUS
  450. NdisClCloseCall(
  451. IN NDIS_HANDLE NdisVcHandle,
  452. IN NDIS_HANDLE NdisPartyHandle OPTIONAL,
  453. IN PVOID Buffer OPTIONAL,
  454. IN UINT Size OPTIONAL
  455. );
  456. EXPORT
  457. NDIS_STATUS
  458. NdisClModifyCallQoS(
  459. IN NDIS_HANDLE NdisVcHandle,
  460. IN PCO_CALL_PARAMETERS CallParameters
  461. );
  462. EXPORT
  463. VOID
  464. NdisClIncomingCallComplete(
  465. IN NDIS_STATUS Status,
  466. IN NDIS_HANDLE NdisVcHandle,
  467. IN PCO_CALL_PARAMETERS CallParameters
  468. );
  469. EXPORT
  470. NDIS_STATUS
  471. NdisClAddParty(
  472. IN NDIS_HANDLE NdisVcHandle,
  473. IN NDIS_HANDLE ProtocolPartyContext,
  474. IN OUT PCO_CALL_PARAMETERS CallParameters,
  475. OUT PNDIS_HANDLE NdisPartyHandle
  476. );
  477. EXPORT
  478. NDIS_STATUS
  479. NdisClDropParty(
  480. IN NDIS_HANDLE NdisPartyHandle,
  481. IN PVOID Buffer OPTIONAL,
  482. IN UINT Size OPTIONAL
  483. );
  484. EXPORT
  485. NDIS_STATUS
  486. NdisClGetProtocolVcContextFromTapiCallId(
  487. IN UNICODE_STRING TapiCallId,
  488. OUT PNDIS_HANDLE ProtocolVcContext
  489. );
  490. //
  491. // Call Manager Apis
  492. //
  493. EXPORT
  494. NDIS_STATUS
  495. NdisCmRegisterAddressFamily(
  496. IN NDIS_HANDLE NdisBindingHandle,
  497. IN PCO_ADDRESS_FAMILY AddressFamily,
  498. IN PNDIS_CALL_MANAGER_CHARACTERISTICS CmCharacteristics,
  499. IN UINT SizeOfCmCharacteristics
  500. );
  501. EXPORT
  502. VOID
  503. NdisCmOpenAddressFamilyComplete(
  504. IN NDIS_STATUS Status,
  505. IN NDIS_HANDLE NdisAfHandle,
  506. IN NDIS_HANDLE CallMgrAfContext
  507. );
  508. EXPORT
  509. VOID
  510. NdisCmCloseAddressFamilyComplete(
  511. IN NDIS_STATUS Status,
  512. IN NDIS_HANDLE NdisAfHandle
  513. );
  514. EXPORT
  515. VOID
  516. NdisCmRegisterSapComplete(
  517. IN NDIS_STATUS Status,
  518. IN NDIS_HANDLE NdisSapHandle,
  519. IN NDIS_HANDLE CallMgrSapContext
  520. );
  521. EXPORT
  522. VOID
  523. NdisCmDeregisterSapComplete(
  524. IN NDIS_STATUS Status,
  525. IN NDIS_HANDLE NdisSapHandle
  526. );
  527. EXPORT
  528. NDIS_STATUS
  529. NdisCmActivateVc(
  530. IN NDIS_HANDLE NdisVcHandle,
  531. IN OUT PCO_CALL_PARAMETERS CallParameters
  532. );
  533. EXPORT
  534. NDIS_STATUS
  535. NdisCmDeactivateVc(
  536. IN NDIS_HANDLE NdisVcHandle
  537. );
  538. EXPORT
  539. VOID
  540. NdisCmMakeCallComplete(
  541. IN NDIS_STATUS Status,
  542. IN NDIS_HANDLE NdisVcHandle,
  543. IN NDIS_HANDLE NdisPartyHandle OPTIONAL,
  544. IN NDIS_HANDLE CallMgrPartyContext OPTIONAL,
  545. IN PCO_CALL_PARAMETERS CallParameters
  546. );
  547. EXPORT
  548. VOID
  549. NdisCmCloseCallComplete(
  550. IN NDIS_STATUS Status,
  551. IN NDIS_HANDLE NdisVcHandle,
  552. IN NDIS_HANDLE NdisPartyHandle OPTIONAL
  553. );
  554. EXPORT
  555. VOID
  556. NdisCmAddPartyComplete(
  557. IN NDIS_STATUS Status,
  558. IN NDIS_HANDLE NdisPartyHandle,
  559. IN NDIS_HANDLE CallMgrPartyContext OPTIONAL,
  560. IN PCO_CALL_PARAMETERS CallParameters
  561. );
  562. EXPORT
  563. VOID
  564. NdisCmDropPartyComplete(
  565. IN NDIS_STATUS Status,
  566. IN NDIS_HANDLE NdisPartyHandle
  567. );
  568. EXPORT
  569. NDIS_STATUS
  570. NdisCmDispatchIncomingCall(
  571. IN NDIS_HANDLE NdisSapHandle,
  572. IN NDIS_HANDLE NdisVcHandle,
  573. IN PCO_CALL_PARAMETERS CallParameters
  574. );
  575. EXPORT
  576. VOID
  577. NdisCmDispatchCallConnected(
  578. IN NDIS_HANDLE NdisVcHandle
  579. );
  580. EXPORT
  581. VOID
  582. NdisCmModifyCallQoSComplete(
  583. IN NDIS_STATUS Status,
  584. IN NDIS_HANDLE NdisVcHandle,
  585. IN PCO_CALL_PARAMETERS CallParameters
  586. );
  587. EXPORT
  588. VOID
  589. NdisCmDispatchIncomingCallQoSChange(
  590. IN NDIS_HANDLE NdisVcHandle,
  591. IN PCO_CALL_PARAMETERS CallParameters
  592. );
  593. EXPORT
  594. VOID
  595. NdisCmDispatchIncomingCloseCall(
  596. IN NDIS_STATUS CloseStatus,
  597. IN NDIS_HANDLE NdisVcHandle,
  598. IN PVOID Buffer OPTIONAL,
  599. IN UINT Size OPTIONAL
  600. );
  601. EXPORT
  602. VOID
  603. NdisCmDispatchIncomingDropParty(
  604. IN NDIS_STATUS DropStatus,
  605. IN NDIS_HANDLE NdisPartyHandle,
  606. IN PVOID Buffer OPTIONAL,
  607. IN UINT Size OPTIONAL
  608. );