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.

139 lines
5.8 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1991 - 1999
  3. Module Name:
  4. rpcerrp.h
  5. Abstract:
  6. This file contains internal error codes used by the rpc runtime.
  7. Each error code has a define which begins with RPC_P_.
  8. Author:
  9. Michael Montague (mikemon) 19-Nov-1991
  10. Revision History:
  11. --*/
  12. #ifndef __RPCERRP_H__
  13. #define __RPCERRP_H__
  14. #ifdef WIN32RPC
  15. #define RPC_P_NETWORK_ADDRESS_TOO_SMALL 0xC0021000L
  16. #define RPC_P_ENDPOINT_TOO_SMALL 0xC0021001L
  17. #define RPC_P_UNSUPPORTED_TRANSFER_SYNTAX 0xC0021005L
  18. #define RPC_P_UNSUPPORTED_INTERFACE 0xC0021006L
  19. #define RPC_P_RECEIVE_ALERTED 0xC0021007L
  20. #define RPC_P_CONNECTION_CLOSED 0xC0021008L
  21. #define RPC_P_RECEIVE_FAILED 0xC0021009L
  22. #define RPC_P_SEND_FAILED 0xC002100AL
  23. #define RPC_P_TIMEOUT 0xC002100BL
  24. #define RPC_P_SERVER_TRANSPORT_ERROR 0xC002100CL
  25. #define RPC_P_OK_REQUEST 0xC002100DL
  26. #define RPC_P_EXCEPTION_OCCURED 0xC002100EL
  27. #define RPC_P_CONTINUE_NEEDED 0xC002100FL
  28. #define RPC_P_COMPLETE_NEEDED 0xC0021010L
  29. #define RPC_P_COMPLETE_AND_CONTINUE 0xC0021011L
  30. #define RPC_P_CONNECTION_SHUTDOWN 0xC0021012L
  31. #define RPC_P_EPMAPPER_EP 0xC0021013L
  32. #define RPC_P_OVERSIZE_PACKET 0xC0021014L
  33. #define RPC_P_RECEIVE_COMPLETE 0xC0021015L
  34. #define RPC_P_CONTEXT_EXPIRED 0xC0021016L
  35. //#define RPC_P_ABORT_CALL 0xC0020017L
  36. #define RPC_P_IO_PENDING 0xC0020018L
  37. #define RPC_P_NO_BUFFERS 0xC0020019L
  38. #define RPC_P_FOUND_IN_CACHE 0xC0021020L
  39. #define RPC_P_MATCHED_CACHE 0xC0021021L
  40. #define RPC_P_PARTIAL_RECEIVE 0xC0021022L
  41. #define RPC_P_HOST_DOWN 0XC0021023L
  42. #define RPC_P_PORT_DOWN 0xC0021024L
  43. #define RPC_P_CLIENT_SHUTDOWN_IN_PROGRESS 0xC0021025L
  44. #define RPC_P_TRANSFER_SYNTAX_CHANGED 0xC0021026L
  45. #define RPC_P_ADDRESS_FAMILY_INVALID 0xC0021028L
  46. #define RPC_P_PACKET_CONSUMED 0xC0021029L
  47. #define RPC_P_CHANNEL_NEEDS_RECYCLING 0xC002102AL
  48. #define RPC_P_PACKET_NEEDS_FORWARDING 0xC002102BL
  49. #define RPC_P_AUTH_NEEDED 0xC002102CL
  50. #define RPC_P_ABORT_NEEDED 0xC002102DL
  51. #define RPC_P_INITIALIZE_HTTP2_CONNECTION 0xC002102EL
  52. #else // WIN32RPC
  53. #define RPC_P_NETWORK_ADDRESS_TOO_SMALL 1000
  54. #define RPC_P_ENDPOINT_TOO_SMALL 1001
  55. #define RPC_P_UNSUPPORTED_TRANSFER_SYNTAX 1005
  56. #define RPC_P_UNSUPPORTED_INTERFACE 1006
  57. #define RPC_P_RECEIVE_ALERTED 1007
  58. #define RPC_P_CONNECTION_CLOSED 1008
  59. #define RPC_P_RECEIVE_FAILED 1009
  60. #define RPC_P_SEND_FAILED 1010
  61. #define RPC_P_TIMEOUT 1011
  62. #define RPC_P_SERVER_TRANSPORT_ERROR 1012
  63. #define RPC_P_OK_REQUEST 1013
  64. #define RPC_P_EXCEPTION_OCCURED 1014
  65. #define RPC_P_CONTINUE_NEEDED 1015
  66. #define RPC_P_COMPLETE_NEEDED 1016
  67. #define RPC_P_COMPLETE_AND_CONTINUE 1017
  68. #define RPC_P_CONNECTION_SHUTDOWN 1018
  69. #define RPC_P_EPMAPPER_EP 1019
  70. #define RPC_P_OVERSIZE_PACKET 1020
  71. #define RPC_P_THREAD_LISTENING 1021
  72. #define RPC_P_CONTEXT_EXPIRED 1022
  73. #define RPC_P_ABORT_CALL 1023
  74. #define RPC_P_IO_PENDING 1024
  75. #define RPC_P_NO_BUFFERS 1025
  76. #define RPC_P_FOUND_IN_CACHE 1026
  77. #define RPC_P_MATCHED_CACHE 1027
  78. #define RPC_P_PARTIAL_RECEIVE 1028
  79. #endif // WIN32RPC
  80. //
  81. // DCE on-the-wire error codes
  82. //
  83. #define NCA_STATUS_COMM_FAILURE 0x1C010001
  84. #define NCA_STATUS_OP_RNG_ERROR 0x1C010002
  85. #define NCA_STATUS_UNK_IF 0x1C010003
  86. #define NCA_STATUS_WRONG_BOOT_TIME 0x1C010006
  87. #define NCA_STATUS_YOU_CRASHED 0x1C010009
  88. #define NCA_STATUS_PROTO_ERROR 0x1C01000B
  89. #define NCA_STATUS_OUT_ARGS_TOO_BIG 0x1C010013
  90. #define NCA_STATUS_SERVER_TOO_BUSY 0x1C010014
  91. #define NCA_STATUS_UNSUPPORTED_TYPE 0x1C010017
  92. #define NCA_STATUS_INVALID_PRES_CXT_ID 0x1C01001c
  93. #define NCA_STATUS_UNSUPPORTED_AUTHN_LEVEL 0x1C01001d
  94. #define NCA_STATUS_INVALID_CHECKSUM 0x1C01001f
  95. #define NCA_STATUS_INVALID_CRC 0x1C010020
  96. #define NCA_STATUS_ZERO_DIVIDE 0x1C000001
  97. #define NCA_STATUS_ADDRESS_ERROR 0x1C000002
  98. #define NCA_STATUS_FP_DIV_ZERO 0x1C000003
  99. #define NCA_STATUS_FP_UNDERFLOW 0x1C000004
  100. #define NCA_STATUS_FP_OVERFLOW 0x1C000005
  101. #define NCA_STATUS_INVALID_TAG 0x1C000006
  102. #define NCA_STATUS_INVALID_BOUND 0x1C000007
  103. #define NCA_STATUS_VERSION_MISMATCH 0x1C000008
  104. #define NCA_STATUS_UNSPEC_REJECT 0x1C000009
  105. #define NCA_STATUS_BAD_ACTID 0x1C00000A
  106. #define NCA_STATUS_WHO_ARE_YOU_FAILED 0x1C00000B
  107. #define NCA_STATUS_CALL_DNE 0x1C00000C
  108. #define NCA_STATUS_FAULT_CANCEL 0x1C00000D
  109. #define NCA_STATUS_ILLEGAL_INSTRUCTION 0x1C00000E
  110. #define NCA_STATUS_FP_ERROR 0x1C00000F
  111. #define NCA_STATUS_OVERFLOW 0x1C000010
  112. #define NCA_STATUS_FAULT_UNSPEC 0x1C000012
  113. #define NCA_STATUS_FAULT_PIPE_EMPTY 0x1C000014
  114. #define NCA_STATUS_FAULT_PIPE_CLOSED 0x1C000015
  115. #define NCA_STATUS_FAULT_PIPE_ORDER 0x1C000016
  116. #define NCA_STATUS_FAULT_PIPE_DISCIPLINE 0x1C000017
  117. #define NCA_STATUS_FAULT_PIPE_COMM_ERROR 0x1C000018
  118. #define NCA_STATUS_FAULT_PIPE_MEMORY 0x1C000019
  119. #define NCA_STATUS_CONTEXT_MISMATCH 0x1C00001A
  120. #define NCA_STATUS_REMOTE_OUT_OF_MEMORY 0x1C00001B
  121. #define NCA_STATUS_PARTIAL_CREDENTIALS 0x16C9A117
  122. #endif // __RPCERRP_H__