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.

196 lines
6.2 KiB

  1. /****************************************************************************
  2. *
  3. * $Archive: S:/STURGEON/SRC/CALLCONT/VCS/ccutils.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) 1993-1994 Intel Corporation.
  12. *
  13. * $Revision: 1.40 $
  14. * $Date: 31 Jan 1997 20:36:02 $
  15. * $Author: MANDREWS $
  16. *
  17. * Deliverable:
  18. *
  19. * Abstract:
  20. *
  21. *
  22. * Notes:
  23. *
  24. ***************************************************************************/
  25. HRESULT InitializeLock( PLOCK pLock);
  26. HRESULT DeleteLock( PLOCK pLock);
  27. HRESULT AcquireLock( PLOCK pLock);
  28. HRESULT AcquireTimedLock( PLOCK pLock,
  29. DWORD dwTimeout,
  30. BOOL *pbTimedOut);
  31. HRESULT RelinquishLock( PLOCK pLock);
  32. BOOL EqualConferenceIDs( PCC_CONFERENCEID pConferenceID1,
  33. PCC_CONFERENCEID pConferenceID2);
  34. BOOL EqualAddrs( PCC_ADDR pAddr1,
  35. PCC_ADDR pAddr2);
  36. HRESULT ValidateOctetString( PCC_OCTETSTRING pOctetString);
  37. HRESULT CopyOctetString( PCC_OCTETSTRING *ppDest,
  38. PCC_OCTETSTRING pSource);
  39. HRESULT FreeOctetString( PCC_OCTETSTRING pOctetString);
  40. HRESULT CopySeparateStack( H245_ACCESS_T **ppDest,
  41. H245_ACCESS_T *pSource);
  42. HRESULT FreeSeparateStack( H245_ACCESS_T *pSeparateStack);
  43. HRESULT ValidateNonStandardData( PCC_NONSTANDARDDATA pNonStandardData);
  44. HRESULT CopyNonStandardData( PCC_NONSTANDARDDATA *ppDest,
  45. PCC_NONSTANDARDDATA pSource);
  46. HRESULT FreeNonStandardData( PCC_NONSTANDARDDATA pNonStandardData);
  47. HRESULT ValidateVendorInfo( PCC_VENDORINFO pVendorInfo);
  48. HRESULT CopyVendorInfo( PCC_VENDORINFO *ppDest,
  49. PCC_VENDORINFO pSource);
  50. HRESULT FreeVendorInfo( PCC_VENDORINFO pVendorInfo);
  51. HRESULT ValidateTermCapList( PCC_TERMCAPLIST pTermCapList);
  52. HRESULT ValidateTermCapDescriptors( PCC_TERMCAPDESCRIPTORS pTermCapDescriptors,
  53. PCC_TERMCAPLIST pTermCapList);
  54. HRESULT ValidateAddr( PCC_ADDR pAddr);
  55. HRESULT CopyAddr( PCC_ADDR *ppDest,
  56. PCC_ADDR pSource);
  57. HRESULT FreeAddr( PCC_ADDR pAddr);
  58. HRESULT SetQ931Port( PCC_ADDR pAddr);
  59. HRESULT ValidateDisplay( PWSTR pszDisplay);
  60. HRESULT CopyDisplay( PWSTR *ppDest,
  61. PWSTR pSource);
  62. HRESULT FreeDisplay( PWSTR pszDisplay);
  63. HRESULT ValidateTerminalID( PCC_OCTETSTRING pTerminalID);
  64. HRESULT CopyTerminalID( PCC_OCTETSTRING *ppDest,
  65. PCC_OCTETSTRING pSource);
  66. HRESULT FreeTerminalID( PCC_OCTETSTRING pTerminalID);
  67. HRESULT SetTerminalType( TRISTATE tsMultipointController,
  68. BYTE *pbTerminalType);
  69. HRESULT CopyH245TermCapList( PCC_TERMCAPLIST *ppDest,
  70. PCC_TERMCAPLIST pSource);
  71. HRESULT CopyH245TermCapDescriptors( PCC_TERMCAPDESCRIPTORS *ppDest,
  72. PCC_TERMCAPDESCRIPTORS pSource);
  73. HRESULT CreateH245DefaultTermCapDescriptors(
  74. PCC_TERMCAPDESCRIPTORS *ppDest,
  75. PCC_TERMCAPLIST pTermCapList);
  76. HRESULT DestroyH245TermCap( PPCC_TERMCAP ppTermCap);
  77. HRESULT UnregisterTermCapListFromH245(
  78. PCONFERENCE pConference,
  79. PCC_TERMCAPLIST pTermCapList);
  80. HRESULT DestroyH245TermCapList( PCC_TERMCAPLIST *ppTermCapList);
  81. HRESULT UnregisterTermCapDescriptorsFromH245(
  82. PCONFERENCE pConference,
  83. PCC_TERMCAPDESCRIPTORS pTermCapDescriptors);
  84. HRESULT DestroyH245TermCapDescriptors(
  85. PCC_TERMCAPDESCRIPTORS *ppTermCapDescriptors);
  86. HRESULT HostToH245IPNetwork( BYTE *NetworkArray,
  87. DWORD dwAddr);
  88. HRESULT H245IPNetworkToHost( DWORD *pdwAddr,
  89. BYTE *NetworkArray);
  90. HRESULT ProcessRemoteHangup( CC_HCALL hCall,
  91. HQ931CALL hQ931Initiator,
  92. BYTE bHangupReason);
  93. HRESULT DefaultSessionTableConstructor(
  94. CC_HCONFERENCE hConference,
  95. DWORD_PTR dwConferenceToken,
  96. BOOL bCreate,
  97. BOOL *pbSessionTableChanged,
  98. WORD wListCount,
  99. PCC_TERMCAPLIST pTermCapList[],
  100. PCC_TERMCAPDESCRIPTORS pTermCapDescriptors[],
  101. PCC_SESSIONTABLE *ppSessionTable);
  102. HRESULT DefaultTermCapConstructor( CC_HCONFERENCE hConference,
  103. DWORD_PTR dwConferenceToken,
  104. BOOL bCreate,
  105. BOOL *pbTermCapsChanged,
  106. WORD wListCount,
  107. PCC_TERMCAPLIST pInTermCapList[],
  108. PCC_TERMCAPDESCRIPTORS pInTermCapDescriptors[],
  109. PCC_TERMCAPLIST *ppOutTermCapList,
  110. PCC_TERMCAPDESCRIPTORS *ppOutTermCapDescriptors);
  111. HRESULT AcceptCall( PCALL pCall,
  112. PCONFERENCE pConference);
  113. HRESULT PlaceCall( PCALL pCall,
  114. PCONFERENCE pConference);
  115. HRESULT SendTermCaps( PCALL pCall,
  116. PCONFERENCE pConference);
  117. HRESULT SessionTableToH245CommunicationTable(
  118. PCC_SESSIONTABLE pSessionTable,
  119. H245_COMM_MODE_ENTRY_T *pH245CommunicationTable[],
  120. BYTE *pbCommunicationTableCount);
  121. HRESULT H245CommunicationTableToSessionTable(
  122. H245_COMM_MODE_ENTRY_T H245CommunicationTable[],
  123. BYTE bCommunicationTableCount,
  124. PCC_SESSIONTABLE *ppSessionTable);
  125. HRESULT FreeH245CommunicationTable( H245_COMM_MODE_ENTRY_T H245CommunicationTable[],
  126. BYTE bCommunicationTableCount);
  127. HRESULT CreateConferenceSessionTable(
  128. PCONFERENCE pConference,
  129. BOOL *pbSessionTableChanged);
  130. HRESULT FreeConferenceSessionTable( PCONFERENCE pConference);
  131. HRESULT CreateConferenceTermCaps( PCONFERENCE pConference,
  132. BOOL *pbTermCapsChanged);
  133. HRESULT FreeConferenceTermCaps( PCONFERENCE pConference);
  134. HRESULT EnqueueRequest( PCALL_QUEUE *ppQueueHead,
  135. CC_HCALL hEnqueuedCall);
  136. HRESULT DequeueRequest( PCALL_QUEUE *ppQueueHead,
  137. PCC_HCALL phEnqueuedCall);
  138. HRESULT DequeueSpecificRequest( PCALL_QUEUE *ppQueueHead,
  139. CC_HCALL hEnqueuedCall);
  140.