comErr.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:19k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* dcomErr.h -- DCOM API error codes (subset of win32 error codes) */
  2. /* Copyright (c) 1998 Wind River Systems, Inc. */
  3. #ifndef __INC_dcomErr_h
  4. #define __INC_dcomErr_h
  5. /* facility codes */
  6. #define FACILITY_WINDOWS                 8
  7. #define FACILITY_STORAGE                 3
  8. #define FACILITY_RPC                     1
  9. #define FACILITY_SSPI                    9
  10. #define FACILITY_WIN32                   7
  11. #define FACILITY_CONTROL                 10
  12. #define FACILITY_NULL                    0
  13. #define FACILITY_INTERNET                12
  14. #define FACILITY_ITF                     4
  15. #define FACILITY_DISPATCH                2
  16. #define FACILITY_CERT                    11
  17. #define NO_ERROR 0L
  18. /* DCOM / RPC error codes */
  19. #define RPC_S_INVALID_STRING_BINDING     1700L
  20. #define RPC_S_WRONG_KIND_OF_BINDING      1701L
  21. #define RPC_S_INVALID_BINDING            1702L
  22. #define RPC_S_PROTSEQ_NOT_SUPPORTED      1703L
  23. #define RPC_S_INVALID_RPC_PROTSEQ        1704L
  24. #define RPC_S_INVALID_STRING_UUID        1705L
  25. #define RPC_S_INVALID_ENDPOINT_FORMAT    1706L
  26. #define RPC_S_INVALID_NET_ADDR           1707L
  27. #define RPC_S_NO_ENDPOINT_FOUND          1708L
  28. #define RPC_S_INVALID_TIMEOUT            1709L
  29. #define RPC_S_OBJECT_NOT_FOUND           1710L
  30. #define RPC_S_ALREADY_REGISTERED         1711L
  31. #define RPC_S_TYPE_ALREADY_REGISTERED    1712L
  32. #define RPC_S_ALREADY_LISTENING          1713L
  33. #define RPC_S_NO_PROTSEQS_REGISTERED     1714L
  34. #define RPC_S_NOT_LISTENING              1715L
  35. #define RPC_S_UNKNOWN_MGR_TYPE           1716L
  36. #define RPC_S_UNKNOWN_IF                 1717L
  37. #define RPC_S_NO_BINDINGS                1718L
  38. #define RPC_S_NO_PROTSEQS                1719L
  39. #define RPC_S_CANT_CREATE_ENDPOINT       1720L
  40. #define RPC_S_OUT_OF_RESOURCES           1721L
  41. #define RPC_S_SERVER_UNAVAILABLE         1722L
  42. #define RPC_S_SERVER_TOO_BUSY            1723L
  43. #define RPC_S_INVALID_NETWORK_OPTIONS    1724L
  44. #define RPC_S_NO_CALL_ACTIVE             1725L
  45. #define RPC_S_CALL_FAILED                1726L
  46. #define RPC_S_CALL_FAILED_DNE            1727L
  47. #define RPC_S_PROTOCOL_ERROR             1728L
  48. #define RPC_S_UNSUPPORTED_TRANS_SYN      1730L
  49. #define RPC_S_UNSUPPORTED_TYPE           1732L
  50. #define RPC_S_INVALID_TAG                1733L
  51. #define RPC_S_INVALID_BOUND              1734L
  52. #define RPC_S_NO_ENTRY_NAME              1735L
  53. #define RPC_S_INVALID_NAME_SYNTAX        1736L
  54. #define RPC_S_UNSUPPORTED_NAME_SYNTAX    1737L
  55. #define RPC_S_UUID_NO_ADDRESS            1739L
  56. #define RPC_S_DUPLICATE_ENDPOINT         1740L
  57. #define RPC_S_UNKNOWN_AUTHN_TYPE         1741L
  58. #define RPC_S_MAX_CALLS_TOO_SMALL        1742L
  59. #define RPC_S_STRING_TOO_LONG            1743L
  60. #define RPC_S_PROTSEQ_NOT_FOUND          1744L
  61. #define RPC_S_PROCNUM_OUT_OF_RANGE       1745L
  62. #define RPC_S_BINDING_HAS_NO_AUTH        1746L
  63. #define RPC_S_UNKNOWN_AUTHN_SERVICE      1747L
  64. #define RPC_S_UNKNOWN_AUTHN_LEVEL        1748L
  65. #define RPC_S_INVALID_AUTH_IDENTITY      1749L
  66. #define RPC_S_UNKNOWN_AUTHZ_SERVICE      1750L
  67. #define EPT_S_INVALID_ENTRY              1751L
  68. #define EPT_S_CANT_PERFORM_OP            1752L
  69. #define EPT_S_NOT_REGISTERED             1753L
  70. #define RPC_S_NOTHING_TO_EXPORT          1754L
  71. #define RPC_S_INCOMPLETE_NAME            1755L
  72. #define RPC_S_INVALID_VERS_OPTION        1756L
  73. #define RPC_S_NO_MORE_MEMBERS            1757L
  74. #define RPC_S_NOT_ALL_OBJS_UNEXPORTED    1758L
  75. #define RPC_S_INTERFACE_NOT_FOUND        1759L
  76. #define RPC_S_ENTRY_ALREADY_EXISTS       1760L
  77. #define RPC_S_ENTRY_NOT_FOUND            1761L
  78. #define RPC_S_NAME_SERVICE_UNAVAILABLE   1762L
  79. #define RPC_S_INVALID_NAF_ID             1763L
  80. #define RPC_S_CANNOT_SUPPORT             1764L
  81. #define RPC_S_NO_CONTEXT_AVAILABLE       1765L
  82. #define RPC_S_INTERNAL_ERROR             1766L
  83. #define RPC_S_ZERO_DIVIDE                1767L
  84. #define RPC_S_ADDRESS_ERROR              1768L
  85. #define RPC_S_FP_DIV_ZERO                1769L
  86. #define RPC_S_FP_UNDERFLOW               1770L
  87. #define RPC_S_FP_OVERFLOW                1771L
  88. #define RPC_X_NO_MORE_ENTRIES            1772L
  89. #define RPC_X_SS_CHAR_TRANS_OPEN_FAIL    1773L
  90. #define RPC_X_SS_CHAR_TRANS_SHORT_FILE   1774L
  91. #define RPC_X_SS_IN_NULL_CONTEXT         1775L
  92. #define RPC_X_SS_CONTEXT_DAMAGED         1777L
  93. #define RPC_X_SS_HANDLES_MISMATCH        1778L
  94. #define RPC_X_SS_CANNOT_GET_CALL_HANDLE  1779L
  95. #define RPC_X_NULL_REF_POINTER           1780L
  96. #define RPC_X_ENUM_VALUE_OUT_OF_RANGE    1781L
  97. #define RPC_X_BYTE_COUNT_TOO_SMALL       1782L
  98. #define RPC_X_BAD_STUB_DATA              1783L
  99. #define ERROR_INVALID_USER_BUFFER        1784L
  100. #define ERROR_UNRECOGNIZED_MEDIA         1785L
  101. #define ERROR_NO_TRUST_LSA_SECRET        1786L
  102. #define ERROR_NO_TRUST_SAM_ACCOUNT       1787L
  103. #define ERROR_TRUSTED_DOMAIN_FAILURE     1788L
  104. #define ERROR_TRUSTED_RELATIONSHIP_FAILURE 1789L
  105. #define ERROR_TRUST_FAILURE              1790L
  106. #define RPC_S_CALL_IN_PROGRESS           1791L
  107. #define ERROR_NETLOGON_NOT_STARTED       1792L
  108. #define ERROR_ACCOUNT_EXPIRED            1793L
  109. #define ERROR_REDIRECTOR_HAS_OPEN_HANDLES 1794L
  110. #define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 1795L
  111. #define ERROR_UNKNOWN_PORT               1796L
  112. #define ERROR_UNKNOWN_PRINTER_DRIVER     1797L
  113. #define ERROR_UNKNOWN_PRINTPROCESSOR     1798L
  114. #define ERROR_INVALID_SEPARATOR_FILE     1799L
  115. #define ERROR_INVALID_PRIORITY           1800L
  116. #define ERROR_INVALID_PRINTER_NAME       1801L
  117. #define ERROR_PRINTER_ALREADY_EXISTS     1802L
  118. #define ERROR_INVALID_PRINTER_COMMAND    1803L
  119. #define ERROR_INVALID_DATATYPE           1804L
  120. #define ERROR_INVALID_ENVIRONMENT        1805L
  121. #define RPC_S_NO_MORE_BINDINGS           1806L
  122. #define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 1807L
  123. #define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT 1808L
  124. #define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT 1809L
  125. #define ERROR_DOMAIN_TRUST_INCONSISTENT  1810L
  126. #define ERROR_SERVER_HAS_OPEN_HANDLES    1811L
  127. #define ERROR_RESOURCE_DATA_NOT_FOUND    1812L
  128. #define ERROR_RESOURCE_TYPE_NOT_FOUND    1813L
  129. #define ERROR_RESOURCE_NAME_NOT_FOUND    1814L
  130. #define ERROR_RESOURCE_LANG_NOT_FOUND    1815L
  131. #define ERROR_NOT_ENOUGH_QUOTA           1816L
  132. #define RPC_S_NO_INTERFACES              1817L
  133. #define RPC_S_CALL_CANCELLED             1818L
  134. #define RPC_S_BINDING_INCOMPLETE         1819L
  135. #define RPC_S_COMM_FAILURE               1820L
  136. #define RPC_S_UNSUPPORTED_AUTHN_LEVEL    1821L
  137. #define RPC_S_NO_PRINC_NAME              1822L
  138. #define RPC_S_NOT_RPC_ERROR              1823L
  139. #define RPC_S_UUID_LOCAL_ONLY            1824L
  140. #define RPC_S_SEC_PKG_ERROR              1825L
  141. #define RPC_S_NOT_CANCELLED              1826L
  142. #define RPC_X_INVALID_ES_ACTION          1827L
  143. #define RPC_X_WRONG_ES_VERSION           1828L
  144. #define RPC_X_WRONG_STUB_VERSION         1829L
  145. #define RPC_X_INVALID_PIPE_OBJECT        1830L
  146. #define RPC_X_INVALID_PIPE_OPERATION     1831L
  147. #define RPC_X_WRONG_PIPE_VERSION         1832L
  148. #define RPC_S_GROUP_MEMBER_NOT_FOUND     1898L
  149. #define EPT_S_CANT_CREATE                1899L
  150. #define RPC_S_INVALID_OBJECT             1900L
  151. /* DCOM object exporter error codes */
  152. #define OR_INVALID_OXID                  1910L
  153. #define OR_INVALID_OID                   1911L
  154. #define OR_INVALID_SET                   1912L
  155. /* HRESULT SEVERITY values required for DCOM */
  156. #define SEVERITY_SUCCESS    0
  157. #define SEVERITY_ERROR      1
  158. /* SUCCEEDED / FAILED macros for testing returned HRESULTs */
  159. #define SUCCEEDED(hr) ((HRESULT) (hr) >= 0)
  160. #define FAILED(hr) ((HRESULT) (hr) < 0)
  161. #define HRESULT_CODE(hr) ((hr) & 0xFFFF)
  162. #define HRESULT_FACILITY(hr) (((hr) >> 16) & 0x1FFF)
  163. #define HRESULT_SEVERITY(hr) (((hr) >> 31) & 0x01)
  164. /* How to make your own HRESULT */
  165. #define MAKE_HRESULT(sev,fac,code)
  166.     ((HRESULT) (((unsigned long)(sev)<<31) |
  167. ((unsigned long)(fac)<<16) |
  168. ((unsigned long)(code))) )
  169. #define DEFINE_HRESULT(_sc) ((HRESULT)_sc)
  170. /* Standard COM/DCOM HRESULT values */
  171. #define NOERROR               0
  172. #define S_OK                             ((HRESULT)0x00000000L)
  173. #define S_FALSE                          ((HRESULT)0x00000001L)
  174. #define E_UNEXPECTED                     DEFINE_HRESULT(0x8000FFFFL)
  175. #define E_NOTIMPL                        DEFINE_HRESULT(0x80004001L)
  176. #define E_OUTOFMEMORY                    DEFINE_HRESULT(0x8007000EL)
  177. #define E_INVALIDARG                     DEFINE_HRESULT(0x80070057L)
  178. #define E_NOINTERFACE                    DEFINE_HRESULT(0x80004002L)
  179. #define E_POINTER                        DEFINE_HRESULT(0x80004003L)
  180. #define E_HANDLE                         DEFINE_HRESULT(0x80070006L)
  181. #define E_ABORT                          DEFINE_HRESULT(0x80004004L)
  182. #define E_FAIL                           DEFINE_HRESULT(0x80004005L)
  183. #define E_ACCESSDENIED                   DEFINE_HRESULT(0x80070005L)
  184. #define E_PENDING                        DEFINE_HRESULT(0x8000000AL)
  185. #define CO_E_INIT_TLS                    DEFINE_HRESULT(0x80004006L)
  186. #define CO_E_INIT_SHARED_ALLOCATOR       DEFINE_HRESULT(0x80004007L)
  187. #define CO_E_INIT_MEMORY_ALLOCATOR       DEFINE_HRESULT(0x80004008L)
  188. #define CO_E_INIT_CLASS_CACHE            DEFINE_HRESULT(0x80004009L)
  189. #define CO_E_INIT_RPC_CHANNEL            DEFINE_HRESULT(0x8000400AL)
  190. #define CO_E_INIT_TLS_SET_CHANNEL_CONTROL DEFINE_HRESULT(0x8000400BL)
  191. #define CO_E_INIT_TLS_CHANNEL_CONTROL    DEFINE_HRESULT(0x8000400CL)
  192. #define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR DEFINE_HRESULT(0x8000400DL)
  193. #define CO_E_INIT_SCM_MUTEX_EXISTS       DEFINE_HRESULT(0x8000400EL)
  194. #define CO_E_INIT_SCM_FILE_MAPPING_EXISTS DEFINE_HRESULT(0x8000400FL)
  195. #define CO_E_INIT_SCM_MAP_VIEW_OF_FILE   DEFINE_HRESULT(0x80004010L)
  196. #define CO_E_INIT_SCM_EXEC_FAILURE       DEFINE_HRESULT(0x80004011L)
  197. #define CO_E_INIT_ONLY_SINGLE_THREADED   DEFINE_HRESULT(0x80004012L)
  198. #define CO_E_CANT_REMOTE                 DEFINE_HRESULT(0x80004013L)
  199. #define CO_E_BAD_SERVER_NAME             DEFINE_HRESULT(0x80004014L)
  200. #define CO_E_WRONG_SERVER_IDENTITY       DEFINE_HRESULT(0x80004015L)
  201. #define CO_E_OLE1DDE_DISABLED            DEFINE_HRESULT(0x80004016L)
  202. #define CO_E_RUNAS_SYNTAX                DEFINE_HRESULT(0x80004017L)
  203. #define CO_E_CREATEPROCESS_FAILURE       DEFINE_HRESULT(0x80004018L)
  204. #define CO_E_RUNAS_CREATEPROCESS_FAILURE DEFINE_HRESULT(0x80004019L)
  205. #define CO_E_RUNAS_LOGON_FAILURE         DEFINE_HRESULT(0x8000401AL)
  206. #define CO_E_LAUNCH_PERMSSION_DENIED     DEFINE_HRESULT(0x8000401BL)
  207. #define CO_E_START_SERVICE_FAILURE       DEFINE_HRESULT(0x8000401CL)
  208. #define CO_E_REMOTE_COMMUNICATION_FAILURE DEFINE_HRESULT(0x8000401DL)
  209. #define CO_E_SERVER_START_TIMEOUT        DEFINE_HRESULT(0x8000401EL)
  210. #define CO_E_CLSREG_INCONSISTENT         DEFINE_HRESULT(0x8000401FL)
  211. #define CO_E_IIDREG_INCONSISTENT         DEFINE_HRESULT(0x80004020L)
  212. #define CO_E_NOT_SUPPORTED               DEFINE_HRESULT(0x80004021L)
  213. #define CLASS_E_NOAGGREGATION            DEFINE_HRESULT(0x80040110L)
  214. #define CLASS_E_CLASSNOTAVAILABLE        DEFINE_HRESULT(0x80040111L)
  215. #define REGDB_E_READREGDB                DEFINE_HRESULT(0x80040150L)
  216. #define REGDB_E_WRITEREGDB               DEFINE_HRESULT(0x80040151L)
  217. #define REGDB_E_KEYMISSING               DEFINE_HRESULT(0x80040152L)
  218. #define REGDB_E_INVALIDVALUE             DEFINE_HRESULT(0x80040153L)
  219. #define REGDB_E_CLASSNOTREG              DEFINE_HRESULT(0x80040154L)
  220. #define REGDB_E_IIDNOTREG                DEFINE_HRESULT(0x80040155L)
  221. #define CO_E_NOTINITIALIZED              DEFINE_HRESULT(0x800401F0L)
  222. #define CO_E_ALREADYINITIALIZED          DEFINE_HRESULT(0x800401F1L)
  223. #define CO_E_CANTDETERMINECLASS          DEFINE_HRESULT(0x800401F2L)
  224. #define CO_E_CLASSSTRING                 DEFINE_HRESULT(0x800401F3L)
  225. #define CO_E_IIDSTRING                   DEFINE_HRESULT(0x800401F4L)
  226. #define CO_E_APPNOTFOUND                 DEFINE_HRESULT(0x800401F5L)
  227. #define CO_E_APPSINGLEUSE                DEFINE_HRESULT(0x800401F6L)
  228. #define CO_E_ERRORINAPP                  DEFINE_HRESULT(0x800401F7L)
  229. #define CO_E_DLLNOTFOUND                 DEFINE_HRESULT(0x800401F8L)
  230. #define CO_E_ERRORINDLL                  DEFINE_HRESULT(0x800401F9L)
  231. #define CO_E_WRONGOSFORAPP               DEFINE_HRESULT(0x800401FAL)
  232. #define CO_E_OBJNOTREG                   DEFINE_HRESULT(0x800401FBL)
  233. #define CO_E_OBJISREG                    DEFINE_HRESULT(0x800401FCL)
  234. #define CO_E_OBJNOTCONNECTED             DEFINE_HRESULT(0x800401FDL)
  235. #define CO_E_APPDIDNTREG                 DEFINE_HRESULT(0x800401FEL)
  236. #define CO_E_RELEASED                    DEFINE_HRESULT(0x800401FFL)
  237. #define CO_E_CLASS_CREATE_FAILED         DEFINE_HRESULT(0x80080001L)
  238. #define CO_E_SCM_ERROR                   DEFINE_HRESULT(0x80080002L)
  239. #define CO_E_SCM_RPC_FAILURE             DEFINE_HRESULT(0x80080003L)
  240. #define CO_E_BAD_PATH                    DEFINE_HRESULT(0x80080004L)
  241. #define CO_E_SERVER_EXEC_FAILURE         DEFINE_HRESULT(0x80080005L)
  242. #define CO_E_OBJSRV_RPC_FAILURE          DEFINE_HRESULT(0x80080006L)
  243. #define CO_E_SERVER_STOPPING             DEFINE_HRESULT(0x80080008L)
  244. #define CO_S_NOTALLINTERFACES            DEFINE_HRESULT(0x00080012L)
  245. #define DISP_E_UNKNOWNINTERFACE          DEFINE_HRESULT(0x80020001L)
  246. #define DISP_E_MEMBERNOTFOUND            DEFINE_HRESULT(0x80020003L)
  247. #define DISP_E_PARAMNOTFOUND             DEFINE_HRESULT(0x80020004L)
  248. #define DISP_E_TYPEMISMATCH              DEFINE_HRESULT(0x80020005L)
  249. #define DISP_E_UNKNOWNNAME               DEFINE_HRESULT(0x80020006L)
  250. #define DISP_E_NONAMEDARGS               DEFINE_HRESULT(0x80020007L)
  251. #define DISP_E_BADVARTYPE                DEFINE_HRESULT(0x80020008L)
  252. #define DISP_E_EXCEPTION                 DEFINE_HRESULT(0x80020009L)
  253. #define DISP_E_OVERFLOW                  DEFINE_HRESULT(0x8002000AL)
  254. #define DISP_E_BADINDEX                  DEFINE_HRESULT(0x8002000BL)
  255. #define DISP_E_UNKNOWNLCID               DEFINE_HRESULT(0x8002000CL)
  256. #define DISP_E_ARRAYISLOCKED             DEFINE_HRESULT(0x8002000DL)
  257. #define DISP_E_BADPARAMCOUNT             DEFINE_HRESULT(0x8002000EL)
  258. #define DISP_E_PARAMNOTOPTIONAL          DEFINE_HRESULT(0x8002000FL)
  259. #define DISP_E_BADCALLEE                 DEFINE_HRESULT(0x80020010L)
  260. #define DISP_E_NOTACOLLECTION            DEFINE_HRESULT(0x80020011L)
  261. #define TYPE_E_BUFFERTOOSMALL            DEFINE_HRESULT(0x80028016L)
  262. #define TYPE_E_INVDATAREAD               DEFINE_HRESULT(0x80028018L)
  263. #define TYPE_E_UNSUPFORMAT               DEFINE_HRESULT(0x80028019L)
  264. #define TYPE_E_REGISTRYACCESS            DEFINE_HRESULT(0x8002801CL)
  265. #define TYPE_E_LIBNOTREGISTERED          DEFINE_HRESULT(0x8002801DL)
  266. #define TYPE_E_UNDEFINEDTYPE             DEFINE_HRESULT(0x80028027L)
  267. #define TYPE_E_QUALIFIEDNAMEDISALLOWED   DEFINE_HRESULT(0x80028028L)
  268. #define TYPE_E_INVALIDSTATE              DEFINE_HRESULT(0x80028029L)
  269. #define TYPE_E_WRONGTYPEKIND             DEFINE_HRESULT(0x8002802AL)
  270. #define TYPE_E_ELEMENTNOTFOUND           DEFINE_HRESULT(0x8002802BL)
  271. #define TYPE_E_AMBIGUOUSNAME             DEFINE_HRESULT(0x8002802CL)
  272. #define TYPE_E_NAMECONFLICT              DEFINE_HRESULT(0x8002802DL)
  273. #define TYPE_E_UNKNOWNLCID               DEFINE_HRESULT(0x8002802EL)
  274. #define TYPE_E_DLLFUNCTIONNOTFOUND       DEFINE_HRESULT(0x8002802FL)
  275. #define TYPE_E_BADMODULEKIND             DEFINE_HRESULT(0x800288BDL)
  276. #define TYPE_E_SIZETOOBIG                DEFINE_HRESULT(0x800288C5L)
  277. #define TYPE_E_DUPLICATEID               DEFINE_HRESULT(0x800288C6L)
  278. #define TYPE_E_INVALIDID                 DEFINE_HRESULT(0x800288CFL)
  279. #define TYPE_E_TYPEMISMATCH              DEFINE_HRESULT(0x80028CA0L)
  280. #define TYPE_E_OUTOFBOUNDS               DEFINE_HRESULT(0x80028CA1L)
  281. #define TYPE_E_IOERROR                   DEFINE_HRESULT(0x80028CA2L)
  282. #define TYPE_E_CANTCREATETMPFILE         DEFINE_HRESULT(0x80028CA3L)
  283. #define TYPE_E_CANTLOADLIBRARY           DEFINE_HRESULT(0x80029C4AL)
  284. #define TYPE_E_INCONSISTENTPROPFUNCS     DEFINE_HRESULT(0x80029C83L)
  285. #define TYPE_E_CIRCULARTYPE              DEFINE_HRESULT(0x80029C84L)
  286. #define RPC_E_CALL_REJECTED              DEFINE_HRESULT(0x80010001L)
  287. #define RPC_E_CALL_CANCELED              DEFINE_HRESULT(0x80010002L)
  288. #define RPC_E_CANTPOST_INSENDCALL        DEFINE_HRESULT(0x80010003L)
  289. #define RPC_E_CANTCALLOUT_INASYNCCALL    DEFINE_HRESULT(0x80010004L)
  290. #define RPC_E_CANTCALLOUT_INEXTERNALCALL DEFINE_HRESULT(0x80010005L)
  291. #define RPC_E_CONNECTION_TERMINATED      DEFINE_HRESULT(0x80010006L)
  292. #define RPC_E_SERVER_DIED                DEFINE_HRESULT(0x80010007L)
  293. #define RPC_E_CLIENT_DIED                DEFINE_HRESULT(0x80010008L)
  294. #define RPC_E_INVALID_DATAPACKET         DEFINE_HRESULT(0x80010009L)
  295. #define RPC_E_CANTTRANSMIT_CALL          DEFINE_HRESULT(0x8001000AL)
  296. #define RPC_E_CLIENT_CANTMARSHAL_DATA    DEFINE_HRESULT(0x8001000BL)
  297. #define RPC_E_CLIENT_CANTUNMARSHAL_DATA  DEFINE_HRESULT(0x8001000CL)
  298. #define RPC_E_SERVER_CANTMARSHAL_DATA    DEFINE_HRESULT(0x8001000DL)
  299. #define RPC_E_SERVER_CANTUNMARSHAL_DATA  DEFINE_HRESULT(0x8001000EL)
  300. #define RPC_E_INVALID_DATA               DEFINE_HRESULT(0x8001000FL)
  301. #define RPC_E_INVALID_PARAMETER          DEFINE_HRESULT(0x80010010L)
  302. #define RPC_E_CANTCALLOUT_AGAIN          DEFINE_HRESULT(0x80010011L)
  303. #define RPC_E_SERVER_DIED_DNE            DEFINE_HRESULT(0x80010012L)
  304. #define RPC_E_SYS_CALL_FAILED            DEFINE_HRESULT(0x80010100L)
  305. #define RPC_E_OUT_OF_RESOURCES           DEFINE_HRESULT(0x80010101L)
  306. #define RPC_E_ATTEMPTED_MULTITHREAD      DEFINE_HRESULT(0x80010102L)
  307. #define RPC_E_NOT_REGISTERED             DEFINE_HRESULT(0x80010103L)
  308. #define RPC_E_FAULT                      DEFINE_HRESULT(0x80010104L)
  309. #define RPC_E_SERVERFAULT                DEFINE_HRESULT(0x80010105L)
  310. #define RPC_E_CHANGED_MODE               DEFINE_HRESULT(0x80010106L)
  311. #define RPC_E_INVALIDMETHOD              DEFINE_HRESULT(0x80010107L)
  312. #define RPC_E_DISCONNECTED               DEFINE_HRESULT(0x80010108L)
  313. #define RPC_E_RETRY                      DEFINE_HRESULT(0x80010109L)
  314. #define RPC_E_SERVERCALL_RETRYLATER      DEFINE_HRESULT(0x8001010AL)
  315. #define RPC_E_SERVERCALL_REJECTED        DEFINE_HRESULT(0x8001010BL)
  316. #define RPC_E_INVALID_CALLDATA           DEFINE_HRESULT(0x8001010CL)
  317. #define RPC_E_CANTCALLOUT_ININPUTSYNCCALL DEFINE_HRESULT(0x8001010DL)
  318. #define RPC_E_WRONG_THREAD               DEFINE_HRESULT(0x8001010EL)
  319. #define RPC_E_THREAD_NOT_INIT            DEFINE_HRESULT(0x8001010FL)
  320. #define RPC_E_VERSION_MISMATCH           DEFINE_HRESULT(0x80010110L)
  321. #define RPC_E_INVALID_HEADER             DEFINE_HRESULT(0x80010111L)
  322. #define RPC_E_INVALID_EXTENSION          DEFINE_HRESULT(0x80010112L)
  323. #define RPC_E_INVALID_IPID               DEFINE_HRESULT(0x80010113L)
  324. #define RPC_E_INVALID_OBJECT             DEFINE_HRESULT(0x80010114L)
  325. #define RPC_S_CALLPENDING                DEFINE_HRESULT(0x80010115L)
  326. #define RPC_S_WAITONTIMER                DEFINE_HRESULT(0x80010116L)
  327. #define RPC_E_CALL_COMPLETE              DEFINE_HRESULT(0x80010117L)
  328. #define RPC_E_UNSECURE_CALL              DEFINE_HRESULT(0x80010118L)
  329. #define RPC_E_TOO_LATE                   DEFINE_HRESULT(0x80010119L)
  330. #define RPC_E_NO_GOOD_SECURITY_PACKAGES  DEFINE_HRESULT(0x8001011AL)
  331. #define RPC_E_ACCESS_DENIED              DEFINE_HRESULT(0x8001011BL)
  332. #define RPC_E_REMOTE_DISABLED            DEFINE_HRESULT(0x8001011CL)
  333. #define RPC_E_INVALID_OBJREF             DEFINE_HRESULT(0x8001011DL)
  334. #define RPC_E_UNEXPECTED                 DEFINE_HRESULT(0x8001FFFFL)
  335. #endif