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.

113 lines
3.5 KiB

  1. /***********************************************************************
  2. * INTEL Corporation Proprietary Information *
  3. * *
  4. * This listing is supplied under the terms of a license agreement *
  5. * with INTEL Corporation and may not be copied nor disclosed except *
  6. * in accordance with the terms of that agreement. *
  7. * *
  8. * Copyright (c) 1997 Intel Corporation. All rights reserved. *
  9. ***********************************************************************
  10. * *
  11. * $Archive: S:\sturgeon\src\include\vcs\gkicom.h_v $
  12. *
  13. * $Revision: 1.3 $
  14. * $Date: 10 Jan 1997 17:41:10 $
  15. *
  16. * $Author: CHULME $
  17. *
  18. * $Log: S:\sturgeon\src\include\vcs\gkicom.h_v $
  19. *
  20. * Rev 1.3 10 Jan 1997 17:41:10 CHULME
  21. * Changed CallReturnInfo structure to contain CRV and conferenceID
  22. *
  23. * Rev 1.2 10 Jan 1997 16:06:54 CHULME
  24. * Removed stdafx.h check for non MFC GKI implementation
  25. *
  26. * Rev 1.1 27 Dec 1996 14:37:22 EHOWARDX
  27. * Split out error codes into GKIERROR.H.
  28. *
  29. * Rev 1.0 11 Dec 1996 14:49:48 EHOWARDX
  30. * Initial revision.
  31. *
  32. * Rev 1.9 09 Dec 1996 14:13:38 EHOWARDX
  33. * Updated copyright notice.
  34. *
  35. * Rev 1.8 22 Nov 1996 15:25:44 CHULME
  36. * Added VCS log to the header
  37. * *
  38. ***********************************************************************/
  39. // gkicom.h : common includes between gkitest and gki
  40. /////////////////////////////////////////////////////////////////////////////
  41. #ifndef GKICOM_H
  42. #define GKICOM_H
  43. #include "apierror.h"
  44. #include "gkierror.h"
  45. #include "gkpdu.h"
  46. #include "gk_asn1.h"
  47. // The following GKVER_xxx constants define the expiration date of GKI.DLL
  48. #define GKVER_EXPIRE_YEAR 1997
  49. #define GKVER_EXPIRE_MONTH 10
  50. #define GKVER_EXPIRE_DAY 31
  51. typedef struct SeqTransportAddr {
  52. struct SeqTransportAddr *next;
  53. TransportAddress value;
  54. } SeqTransportAddr;
  55. typedef struct SeqAliasAddr {
  56. struct SeqAliasAddr *next;
  57. AliasAddress value;
  58. } SeqAliasAddr;
  59. typedef struct CallReturnInfo {
  60. HANDLE hCall;
  61. CallModel callModel;
  62. TransportAddress destCallSignalAddress;
  63. BandWidth bandWidth;
  64. CallReferenceValue callReferenceValue;
  65. ConferenceIdentifier conferenceID;
  66. WORD wError;
  67. } CallReturnInfo;
  68. // Version Information for GKI Interface
  69. #define GKI_VERSION 21 // TBD - reset to 1 after testing
  70. // wMsg literals - these are added to the wBaseMessage supplied by the user
  71. #define GKI_REG_CONFIRM 1
  72. #define GKI_REG_DISCOVERY 2
  73. #define GKI_REG_REJECT 3
  74. #define GKI_REG_BYPASS 4
  75. #define GKI_UNREG_CONFIRM 5
  76. #define GKI_UNREG_REJECT 6
  77. #define GKI_ADM_CONFIRM 7
  78. #define GKI_ADM_REJECT 8
  79. #define GKI_BW_CONFIRM 9
  80. #define GKI_BW_REJECT 0xa
  81. #define GKI_DISENG_CONFIRM 0xb
  82. #define GKI_DISENG_REJECT 0xc
  83. #define GKI_LOCATION_CONFIRM 0xd
  84. #define GKI_LOCATION_REJECT 0xe
  85. #define GKI_ERROR 0xf
  86. #define MAX_ASYNC_MSGS 0xf
  87. #define HR_SEVERITY_MASK 0x80000000
  88. #define HR_R_MASK 0x40000000
  89. #define HR_C_MASK 0x20000000
  90. #define HR_N_MASK 0x10000000
  91. #define HR_R2_MASK 0x08000000
  92. #define HR_FACILITY_MASK 0x07ff0000
  93. #define HR_CODE_MASK 0x0000ffff
  94. #endif // GKICOM_H
  95. /////////////////////////////////////////////////////////////////////////////