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.

207 lines
7.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1991 - 1999
  6. //
  7. // File: rpcerr.h
  8. //
  9. //--------------------------------------------------------------------------
  10. /*********************************************************/
  11. /** Microsoft LAN Manager **/
  12. /** Copyright(c) Microsoft Corp., 1987-1990 **/
  13. /** **/
  14. /** Rpc Error Codes from the compiler and runtime **/
  15. /** **/
  16. /*********************************************************/
  17. /*
  18. If you change this file, you must also change ntstatus.mc and winerror.mc
  19. */
  20. #ifndef __RPCERR_H__
  21. #define __RPCERR_H__
  22. #define RPC_S_OK 0
  23. #define RPC_S_INVALID_ARG 1
  24. #define RPC_S_INVALID_STRING_BINDING 2
  25. #define RPC_S_OUT_OF_MEMORY 3
  26. #define RPC_S_WRONG_KIND_OF_BINDING 4
  27. #define RPC_S_INVALID_BINDING 5
  28. #define RPC_S_PROTSEQ_NOT_SUPPORTED 6
  29. #define RPC_S_INVALID_RPC_PROTSEQ 7
  30. #define RPC_S_INVALID_STRING_UUID 8
  31. #define RPC_S_INVALID_ENDPOINT_FORMAT 9
  32. #define RPC_S_INVALID_NET_ADDR 10
  33. #define RPC_S_INVALID_NAF_ID 11
  34. #define RPC_S_NO_ENDPOINT_FOUND 12
  35. #define RPC_S_INVALID_TIMEOUT 13
  36. #define RPC_S_OBJECT_NOT_FOUND 14
  37. #define RPC_S_ALREADY_REGISTERED 15
  38. #define RPC_S_TYPE_ALREADY_REGISTERED 16
  39. #define RPC_S_ALREADY_LISTENING 17
  40. #define RPC_S_NO_PROTSEQS_REGISTERED 18
  41. #define RPC_S_NOT_LISTENING 19
  42. #define RPC_S_OUT_OF_THREADS 20
  43. #define RPC_S_UNKNOWN_MGR_TYPE 21
  44. #define RPC_S_UNKNOWN_IF 22
  45. #define RPC_S_NO_BINDINGS 23
  46. #define RPC_S_NO_PROTSEQS 24
  47. #define RPC_S_CANT_CREATE_ENDPOINT 25
  48. #define RPC_S_OUT_OF_RESOURCES 26
  49. #define RPC_S_SERVER_UNAVAILABLE 27
  50. #define RPC_S_SERVER_TOO_BUSY 28
  51. #define RPC_S_INVALID_NETWORK_OPTIONS 29
  52. #define RPC_S_NO_CALL_ACTIVE 30
  53. #define RPC_S_INVALID_LEVEL 31
  54. #define RPC_S_CANNOT_SUPPORT 32
  55. #define RPC_S_CALL_FAILED 33
  56. #define RPC_S_CALL_FAILED_DNE 34
  57. #define RPC_S_PROTOCOL_ERROR 35
  58. // Unused.
  59. // Unused.
  60. #define RPC_S_UNSUPPORTED_TRANS_SYN 38
  61. #define RPC_S_BUFFER_TOO_SMALL 39
  62. #define RPC_S_NO_CONTEXT_AVAILABLE 40
  63. #define RPC_S_SERVER_OUT_OF_MEMORY 41
  64. #define RPC_S_UNSUPPORTED_TYPE 42
  65. #define RPC_S_ZERO_DIVIDE 43
  66. #define RPC_S_ADDRESS_ERROR 44
  67. #define RPC_S_FP_DIV_ZERO 45
  68. #define RPC_S_FP_UNDERFLOW 46
  69. #define RPC_S_FP_OVERFLOW 47
  70. #define RPC_S_INVALID_TAG 48
  71. #define RPC_S_INVALID_BOUND 49
  72. #define RPC_S_NO_ENTRY_NAME 50
  73. #define RPC_S_INVALID_NAME_SYNTAX 51
  74. #define RPC_S_UNSUPPORTED_NAME_SYNTAX 52
  75. #define RPC_S_UUID_LOCAL_ONLY 53
  76. #define RPC_S_UUID_NO_ADDRESS 54
  77. #define RPC_S_DUPLICATE_ENDPOINT 55
  78. #define RPC_S_INVALID_SECURITY_DESC 56
  79. #define RPC_S_ACCESS_DENIED 57
  80. #define RPC_S_UNKNOWN_AUTHN_TYPE 58
  81. #define RPC_S_MAX_CALLS_TOO_SMALL 59
  82. #define RPC_S_STRING_TOO_LONG 60
  83. #define RPC_S_PROTSEQ_NOT_FOUND 61
  84. #define RPC_S_PROCNUM_OUT_OF_RANGE 62
  85. #define RPC_S_BINDING_HAS_NO_AUTH 63
  86. #define RPC_S_UNKNOWN_AUTHN_SERVICE 64
  87. #define RPC_S_UNKNOWN_AUTHN_LEVEL 65
  88. #define RPC_S_INVALID_AUTH_IDENTITY 66
  89. #define RPC_S_UNKNOWN_AUTHZ_SERVICE 67
  90. #define EPT_S_INVALID_ENTRY 68
  91. #define EPT_S_CANT_PERFORM_OP 69
  92. #define EPT_S_NOT_REGISTERED 70
  93. #define RPC_S_NOTHING_TO_EXPORT 71
  94. #define RPC_S_INCOMPLETE_NAME 72
  95. #define RPC_S_UNIMPLEMENTED_API 73
  96. #define RPC_S_INVALID_VERS_OPTION 74
  97. #define RPC_S_NO_MORE_MEMBERS 75
  98. #define RPC_S_NOT_ALL_OBJS_UNEXPORTED 76
  99. #define RPC_S_INTERFACE_NOT_FOUND 77
  100. #define RPC_S_ENTRY_ALREADY_EXISTS 78
  101. #define RPC_S_ENTRY_NOT_FOUND 79
  102. #define RPC_S_NAME_SERVICE_UNAVAILABLE 80
  103. #define RPC_S_CALL_IN_PROGRESS 81
  104. #define RPC_S_NO_MORE_BINDINGS 82
  105. #define RPC_S_GROUP_MEMBER_NOT_FOUND 83
  106. #define EPT_S_CANT_CREATE 84
  107. #define RPC_S_INVALID_OBJECT 85
  108. #define RPC_S_CALL_CANCELLED 86
  109. #define RPC_S_BINDING_INCOMPLETE 87
  110. #define RPC_S_COMM_FAILURE 88
  111. #define RPC_S_UNSUPPORTED_AUTHN_LEVEL 89
  112. #define RPC_S_NO_PRINC_NAME 90
  113. #define RPC_S_NOT_RPC_ERROR 91
  114. #define RPC_S_SEC_PKG_ERROR 92
  115. #define RPC_S_NOT_CANCELLED 93
  116. #define RPC_S_SEND_INCOMPLETE 94
  117. #define RPC_S_NO_INTERFACES 95
  118. #define RPC_S_ASYNC_CALL_PENDING 96
  119. #define RPC_S_INVALID_ASYNC_HANDLE 97
  120. #define RPC_S_INVALID_ASYNC_CALL 98
  121. #define RPC_S_INTERNAL_ERROR 100
  122. /* The list of servers available for auto_handle binding has been exhausted. */
  123. #define RPC_X_NO_MORE_ENTRIES 256
  124. /* Insufficient memory available to set up necessary data structures. */
  125. #define RPC_X_NO_MEMORY 257
  126. /* The specified bounds of an array are inconsistent. */
  127. #define RPC_X_INVALID_BOUND 258
  128. /* The discriminant value does not match any of the case values. */
  129. /* There is no default case. */
  130. #define RPC_X_INVALID_TAG 259
  131. /* The file designated by DCERPCCHARTRANS cannot be opened. */
  132. #define RPC_X_SS_CHAR_TRANS_OPEN_FAIL 260
  133. /* The file containing char translation table has fewer than 512 bytes. */
  134. #define RPC_X_SS_CHAR_TRANS_SHORT_FILE 261
  135. /* A null context handle is passed in an [in] parameter position. */
  136. #define RPC_X_SS_IN_NULL_CONTEXT 262
  137. /* Only raised on the callee side. */
  138. /* A uuid in an [in] handle does not correspond to any known context. */
  139. #define RPC_X_SS_CONTEXT_MISMATCH 263
  140. /* Only raised on the caller side. */
  141. /* A uuid in an [in, out] context handle changed during a call. */
  142. #define RPC_X_SS_CONTEXT_DAMAGED 264
  143. #define RPC_X_SS_HANDLES_MISMATCH 265
  144. #define RPC_X_SS_CANNOT_GET_CALL_HANDLE 266
  145. #define RPC_X_NULL_REF_POINTER 267
  146. #define RPC_X_ENUM_VALUE_OUT_OF_RANGE 268
  147. #define RPC_X_BYTE_COUNT_TOO_SMALL 269
  148. #define RPC_X_BAD_STUB_DATA 270
  149. #define RPC_X_INVALID_ES_ACTION 271
  150. #define RPC_X_WRONG_ES_VERSION 272
  151. #define RPC_X_WRONG_STUB_VERSION 273
  152. #define RPC_X_INVALID_BUFFER 274
  153. #define RPC_X_INVALID_PIPE_OBJECT 275
  154. #define RPC_X_INVALID_PIPE_OPERATION 276
  155. #define RPC_X_WRONG_PIPE_VERSION 277
  156. #define RPC_X_PIPE_CLOSED 278
  157. #define RPC_X_PIPE_EMPTY 279
  158. #define RPC_X_WRONG_PIPE_ORDER 280
  159. #define RPC_X_PIPE_DISCIPLINE_ERROR 281
  160. #define RPC_X_PIPE_APP_MEMORY RPC_S_OUT_OF_MEMORY
  161. #define RPC_X_INVALID_PIPE_OPERATION RPC_X_WRONG_PIPE_ORDER
  162. #endif /* __RPCERR_H__ */