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.

107 lines
3.2 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. typedef struct SeqTransportAddr {
  47. struct SeqTransportAddr *next;
  48. TransportAddress value;
  49. } SeqTransportAddr;
  50. typedef struct SeqAliasAddr {
  51. struct SeqAliasAddr *next;
  52. AliasAddress value;
  53. } SeqAliasAddr;
  54. typedef struct CallReturnInfo {
  55. HANDLE hCall;
  56. CallModel callModel;
  57. TransportAddress destCallSignalAddress;
  58. BandWidth bandWidth;
  59. CallReferenceValue callReferenceValue;
  60. ConferenceIdentifier conferenceID;
  61. WORD wError;
  62. } CallReturnInfo;
  63. // Version Information for GKI Interface
  64. #define GKI_VERSION 21 // TBD - reset to 1 after testing
  65. // wMsg literals - these are added to the wBaseMessage supplied by the user
  66. #define GKI_REG_CONFIRM 1
  67. #define GKI_REG_DISCOVERY 2
  68. #define GKI_REG_REJECT 3
  69. #define GKI_REG_BYPASS 4
  70. #define GKI_UNREG_CONFIRM 5
  71. #define GKI_UNREG_REJECT 6
  72. #define GKI_ADM_CONFIRM 7
  73. #define GKI_ADM_REJECT 8
  74. #define GKI_BW_CONFIRM 9
  75. #define GKI_BW_REJECT 0xa
  76. #define GKI_DISENG_CONFIRM 0xb
  77. #define GKI_DISENG_REJECT 0xc
  78. #define GKI_LOCATION_CONFIRM 0xd
  79. #define GKI_LOCATION_REJECT 0xe
  80. #define GKI_ERROR 0xf
  81. #define MAX_ASYNC_MSGS 0xf
  82. #define HR_SEVERITY_MASK 0x80000000
  83. #define HR_R_MASK 0x40000000
  84. #define HR_C_MASK 0x20000000
  85. #define HR_N_MASK 0x10000000
  86. #define HR_R2_MASK 0x08000000
  87. #define HR_FACILITY_MASK 0x07ff0000
  88. #define HR_CODE_MASK 0x0000ffff
  89. #endif // GKICOM_H
  90. /////////////////////////////////////////////////////////////////////////////