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.

206 lines
5.7 KiB

  1. /***********************************************************************
  2. * *
  3. * INTEL CORPORATION PROPRIETARY INFORMATION *
  4. * *
  5. * This software is supplied under the terms of a license *
  6. * agreement or non-disclosure agreement with Intel Corporation *
  7. * and may not be copied or disclosed except in accordance *
  8. * with the terms of that agreement. *
  9. * *
  10. * Copyright (C) 1997 Intel Corp. All Rights Reserved *
  11. * *
  12. * $Archive: S:\sturgeon\src\include\vcs\gkerror.h_v $
  13. *
  14. * $Revision: 1.18 $
  15. * $Date: 16 Jan 1997 15:25:06 $
  16. *
  17. * $Author: BPOLING $
  18. *
  19. * $Log: S:\sturgeon\src\include\vcs\gkerror.h_v $
  20. *
  21. * Rev 1.18 16 Jan 1997 15:25:06 BPOLING
  22. * changed copyrights to 1997
  23. *
  24. * Rev 1.17 19 Dec 1996 18:46:44 BPOLING
  25. * added error code for no call signal address left in a user.
  26. *
  27. * Rev 1.16 18 Dec 1996 21:48:16 AKLEMENT
  28. * Fixed an error code for GWInfo.cpp
  29. *
  30. * Rev 1.14 18 Dec 1996 17:02:58 AKLEMENT
  31. * Added more GKInfo error codes.
  32. *
  33. * Rev 1.13 17 Dec 1996 19:20:02 AKLEMENT
  34. * Added GWInfo error codes.
  35. *
  36. * Rev 1.12 11 Dec 1996 13:32:44 AKLEMENT
  37. * Fixed the Prop Info header.
  38. *
  39. * Rev 1.11 10 Dec 1996 15:55:02 AKLEMENT
  40. * Added Resource Reading error define.
  41. *
  42. * Rev 1.10 10 Dec 1996 01:23:58 BPOLING
  43. * added a new error code for sending RRJ Undefined Reason.
  44. *
  45. * Rev 1.9 09 Dec 1996 14:13:34 EHOWARDX
  46. * Updated copyright notice.
  47. *
  48. * Rev 1.8 04 Dec 1996 10:43:18 BPOLING
  49. * added a new message id to post to h/i.
  50. *
  51. * Rev 1.7 04 Dec 1996 10:14:46 BPOLING
  52. * added error code for invalid ip address
  53. *
  54. * Rev 1.6 21 Nov 1996 13:06:18 BPOLING
  55. * added error code for HI PostMessage decoding.
  56. *
  57. * Rev 1.5 15 Nov 1996 14:38:18 BPOLING
  58. * vcs log fix.
  59. * *
  60. ***********************************************************************/
  61. #ifndef GK_ERROR_H
  62. #define GK_ERROR_H
  63. #define GK_NOERROR 0
  64. // WIN32 system error 000
  65. #define GK_MEMORY_ERROR 1
  66. #define GK_REGCREATEKEY_FAILED 2
  67. #define GK_GUID_ERROR 3
  68. #define GK_EXCEPTION 4
  69. #define GK_RESOURCE_ERROR 5
  70. // Service related 100
  71. #define GK_INVALID_ARG 101
  72. #define GK_NOARGS 102
  73. #define GK_STARTSERVICE_FAILED 103
  74. #define GK_EXIT 104
  75. // User Class Errors 200
  76. #define GK_USER_NOTINITIALIZED 201
  77. #define GK_NOUSERFOUND 202
  78. #define GK_EMPTYSEQUENCE 203
  79. #define GK_TRANSPORTNOTFOUND 204
  80. #define GK_ALIASNOTFOUND 205
  81. #define GK_NO_CALLSIG 206
  82. // Engine related Errors 300
  83. #define GK_XRSRESPONSE 301
  84. #define GK_NORESPONSE 303
  85. #define GK_INVALIDMESSAGE 304
  86. #define GK_SENDRRJ_NEEDGRQ 305
  87. #define GK_XRSMESSAGERECEIVED 306
  88. #define GK_NSMMESSAGERECEIVED 307
  89. #define GK_BADENDPOINTID 308
  90. #define GK_SENDGRJ_TERMEX 309
  91. #define GK_SENDRRJ_UNDEFINED 310
  92. // Ras Map related errors 400
  93. #define GK_NORASFOUND 401
  94. #define GK_RASFOUND 402
  95. #define GK_DUPLICATERAS 403
  96. #define GK_RAS_NOTINITIALIZED 404
  97. #define GK_RAS_NOT_UNIQUE 405
  98. // Sockets related errors 500
  99. #define GK_NOPORT 501
  100. #define GK_NOHOSTNAME 502
  101. #define GK_UNSUPPORTEDPROTOCOL 503
  102. #define GK_PROTOCOLNOTFOUND 504
  103. #define GK_INVALIDPDUTYPE 505
  104. #define GK_SOCKETSERROR 506
  105. #define GK_RESPONSE 507
  106. #define GK_INVALID_IPADDRESS 508
  107. // Bound Map related errors 600
  108. #define GK_NOBOUNDFOUND 601
  109. #define GK_BOUNDFOUND 602
  110. #define GK_DUPLICATEBOUND 603
  111. #define GK_BOUND_NOTINITIALIZED 604
  112. #define GK_BOUNDLOCKED 607
  113. #define GK_BOUNDNOTLOCKED 608
  114. // CONF Map related errors 700
  115. #define GK_NOCONFFOUND 701
  116. #define GK_CONFFOUND 702
  117. #define GK_DUPLICATECONF 703
  118. #define GK_CONF_NOTINITIALIZED 704
  119. #define GK_NOT_IN_CONF 706
  120. #define GK_INVALID_REQUEST 707
  121. #define GK_CONFDELETE 708
  122. #define GK_CONFCREATEFAILED 709
  123. // PDU Error return codes 800
  124. #define GK_ARJ_REQUEST_DENIED 800
  125. #define GK_ARJ_UNDEFINED_REASON 801
  126. // Alias CMap Errors 900
  127. #define GK_ALIAS_NOTINITIALIZED 900
  128. #define GK_ALIAS_NOT_UNIQUE 901
  129. #define GK_ALIASFOUND 902
  130. #define GK_NOALIASFOUND 903
  131. // Guid Map related errors 1000
  132. #define GK_NOGUIDFOUND 1001
  133. #define GK_GUIDFOUND 1002
  134. #define GK_DUPLICATEGUID 1003
  135. #define GK_GUIDINUSE 1004
  136. #define GK_GUID_NOTINITIALIZED 1005
  137. // Call Sig CMap Errors 1100
  138. #define GK_CALLSIG_NOTINITIALIZED 1100
  139. #define GK_CALLSIG_NOT_UNIQUE 1101
  140. #define GK_CALLSIGFOUND 1102
  141. #define GK_NOCALLSIGFOUND 1103
  142. // Call Errors 1200
  143. #define GK_NOCALLFOUND 1200
  144. #define GK_DIDNOTPURGE 1201
  145. #define GK_CALL_NOTINITIALIZED 1202
  146. #define GK_CALL_CREATE 1203
  147. #define GK_CALL_DELETE 1204
  148. #define GK_CALL_CHANGE 1205
  149. #define GK_CALL_TIMER 1206
  150. // Bandwidth Manager Errors 1300
  151. #define GK_INVALID_BANDWIDTH 1300
  152. #define GK_EXTERNAL_EXCEEDS_INTERNAL 1301
  153. #define GK_NO_AVAILABLE_BANDWIDTH 1302
  154. #define GK_USEDBW_WENT_NEGATIVE 1303
  155. #define GK_LESS_AVAILABLE_BANDWIDTH 1304
  156. // Logger Errors 1400
  157. #define GK_LOGGING_IS_OFF 1400
  158. #define GK_FILE_NOT_OPEN 1401
  159. #define GK_COULD_NOT_OPEN_FILE 1402
  160. #define GK_FILE_ALREADY_OPEN 1403
  161. #define GK_NAME_USED_FOR_LOG 1404
  162. #define GK_COULD_NOT_MAKE_DIR 1405
  163. // GWInfo Errors 1500
  164. #define GK_WRONG_PDU 1500
  165. #define GK_NOT_GATEWAY 1501
  166. #define GK_PROTOCOL_NOT_PRESENT 1502
  167. #define GK_GW_NOT_FOUND 1503
  168. #define GK_GW_NOT_REQUIRED 1504
  169. #define GK_PREFIX_RESERVED 1505
  170. #define GK_NO_DEST_INFO_SPECIFIED 1506
  171. #endif