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.

70 lines
2.4 KiB

  1. /****************************************************************************
  2. *
  3. * $Archive: S:/STURGEON/SRC/CALLCONT/VCS/callman2.h_v $
  4. *
  5. * INTEL Corporation Prorietary Information
  6. *
  7. * This listing is supplied under the terms of a license agreement
  8. * with INTEL Corporation and may not be copied nor disclosed except
  9. * in accordance with the terms of that agreement.
  10. *
  11. * Copyright (c) 1996 Intel Corporation.
  12. *
  13. * $Revision: 1.7 $
  14. * $Date: 03 Jan 1997 16:28:04 $
  15. * $Author: EHOWARDX $
  16. *
  17. * Deliverable:
  18. *
  19. * Abstract:
  20. *
  21. * Notes:
  22. *
  23. ***************************************************************************/
  24. #ifdef GATEKEEPER
  25. #ifndef CALLMAN2_H
  26. #define CALLMAN2_H
  27. #include "gkiman.h"
  28. typedef HRESULT (*PGKICALLFUN)(PGKICALL pGkiCall, void *pConference);
  29. // Additions to CALLMAN.C functionality
  30. HRESULT LockGkiCallAndConference( HANDLE hGkiCall,
  31. PPGKICALL ppGkiCall,
  32. void * * ppConference,
  33. PCC_HCALL phCall,
  34. PCC_HCONFERENCE phConference);
  35. HRESULT UnlockGkiCallAndConference( PGKICALL pGkiCall,
  36. void * pConference,
  37. CC_HCALL hCall,
  38. CC_HCONFERENCE hConference);
  39. HRESULT LockGkiCall(HANDLE hGkiCall, PPGKICALL ppGkiCall);
  40. HRESULT UnlockGkiCall(PGKICALL pGkiCall);
  41. HRESULT ApplyToAllCalls(PGKICALLFUN pGkiCallFun);
  42. // Complete CC_xxx Operations
  43. HRESULT ListenReject (CC_HLISTEN hListen, HRESULT Reason);
  44. HRESULT PlaceCallConfirm (void *pCallVoid, void *pConferenceVoid);
  45. HRESULT PlaceCallReject (void *pCallVoid, void *pConferenceVoid, HRESULT Reason);
  46. HRESULT AcceptCallConfirm (void *pCallVoid, void *pConferenceVoid);
  47. HRESULT AcceptCallReject (void *pCallVoid, void *pConferenceVoid, HRESULT Reason);
  48. HRESULT OpenChannelConfirm (CC_HCHANNEL hChannel);
  49. HRESULT OpenChannelReject (CC_HCHANNEL hChannel, HRESULT Reason);
  50. HRESULT AcceptChannelConfirm(CC_HCHANNEL hChannel);
  51. HRESULT AcceptChannelReject (CC_HCHANNEL hChannel, HRESULT Reason);
  52. // Handle gratuitous messages from Gatekeeper
  53. HRESULT Disengage (void *pCallVoid);
  54. HRESULT BandwidthShrunk (void *pCallVoid,
  55. void *pConferenceVoid,
  56. unsigned uBandwidthAllocated,
  57. long lBandwidthChange);
  58. #endif // CALLMAN2_H
  59. #endif // GATEKEEPER
  60.