nterr.h 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507
  1. /* these are the NT error codes less than 1000. They are here for when
  2. we start supporting NT error codes in Samba. They were extracted
  3. using a loop in smbclient then printing a netmon sniff to a file */
  4. #define NT_STATUS_UNSUCCESSFUL (1)
  5. #define NT_STATUS_NOT_IMPLEMENTED (2)
  6. #define NT_STATUS_INVALID_INFO_CLASS (3)
  7. #define NT_STATUS_INFO_LENGTH_MISMATCH (4)
  8. #define NT_STATUS_ACCESS_VIOLATION (5)
  9. #define STATUS_BUFFER_OVERFLOW (5)
  10. #define NT_STATUS_IN_PAGE_ERROR (6)
  11. #define NT_STATUS_PAGEFILE_QUOTA (7)
  12. #define NT_STATUS_INVALID_HANDLE (8)
  13. #define NT_STATUS_BAD_INITIAL_STACK (9)
  14. #define NT_STATUS_BAD_INITIAL_PC (10)
  15. #define NT_STATUS_INVALID_CID (11)
  16. #define NT_STATUS_TIMER_NOT_CANCELED (12)
  17. #define NT_STATUS_INVALID_PARAMETER (13)
  18. #define NT_STATUS_NO_SUCH_DEVICE (14)
  19. #define NT_STATUS_NO_SUCH_FILE (15)
  20. #define NT_STATUS_INVALID_DEVICE_REQUEST (16)
  21. #define NT_STATUS_END_OF_FILE (17)
  22. #define NT_STATUS_WRONG_VOLUME (18)
  23. #define NT_STATUS_NO_MEDIA_IN_DEVICE (19)
  24. #define NT_STATUS_UNRECOGNIZED_MEDIA (20)
  25. #define NT_STATUS_NONEXISTENT_SECTOR (21)
  26. #define NT_STATUS_MORE_PROCESSING_REQUIRED (22)
  27. #define NT_STATUS_NO_MEMORY (23)
  28. #define NT_STATUS_CONFLICTING_ADDRESSES (24)
  29. #define NT_STATUS_NOT_MAPPED_VIEW (25)
  30. #define NT_STATUS_UNABLE_TO_FREE_VM (26)
  31. #define NT_STATUS_UNABLE_TO_DELETE_SECTION (27)
  32. #define NT_STATUS_INVALID_SYSTEM_SERVICE (28)
  33. #define NT_STATUS_ILLEGAL_INSTRUCTION (29)
  34. #define NT_STATUS_INVALID_LOCK_SEQUENCE (30)
  35. #define NT_STATUS_INVALID_VIEW_SIZE (31)
  36. #define NT_STATUS_INVALID_FILE_FOR_SECTION (32)
  37. #define NT_STATUS_ALREADY_COMMITTED (33)
  38. #define NT_STATUS_ACCESS_DENIED (34)
  39. #define NT_STATUS_BUFFER_TOO_SMALL (35)
  40. #define NT_STATUS_OBJECT_TYPE_MISMATCH (36)
  41. #define NT_STATUS_NONCONTINUABLE_EXCEPTION (37)
  42. #define NT_STATUS_INVALID_DISPOSITION (38)
  43. #define NT_STATUS_UNWIND (39)
  44. #define NT_STATUS_BAD_STACK (40)
  45. #define NT_STATUS_INVALID_UNWIND_TARGET (41)
  46. #define NT_STATUS_NOT_LOCKED (42)
  47. #define NT_STATUS_PARITY_ERROR (43)
  48. #define NT_STATUS_UNABLE_TO_DECOMMIT_VM (44)
  49. #define NT_STATUS_NOT_COMMITTED (45)
  50. #define NT_STATUS_INVALID_PORT_ATTRIBUTES (46)
  51. #define NT_STATUS_PORT_MESSAGE_TOO_LONG (47)
  52. #define NT_STATUS_INVALID_PARAMETER_MIX (48)
  53. #define NT_STATUS_INVALID_QUOTA_LOWER (49)
  54. #define NT_STATUS_DISK_CORRUPT_ERROR (50)
  55. #define NT_STATUS_OBJECT_NAME_INVALID (51)
  56. #define NT_STATUS_OBJECT_NAME_NOT_FOUND (52)
  57. #define NT_STATUS_OBJECT_NAME_COLLISION (53)
  58. #define NT_STATUS_HANDLE_NOT_WAITABLE (54)
  59. #define NT_STATUS_PORT_DISCONNECTED (55)
  60. #define NT_STATUS_DEVICE_ALREADY_ATTACHED (56)
  61. #define NT_STATUS_OBJECT_PATH_INVALID (57)
  62. #define NT_STATUS_OBJECT_PATH_NOT_FOUND (58)
  63. #define NT_STATUS_OBJECT_PATH_SYNTAX_BAD (59)
  64. #define NT_STATUS_DATA_OVERRUN (60)
  65. #define NT_STATUS_DATA_LATE_ERROR (61)
  66. #define NT_STATUS_DATA_ERROR (62)
  67. #define NT_STATUS_CRC_ERROR (63)
  68. #define NT_STATUS_SECTION_TOO_BIG (64)
  69. #define NT_STATUS_PORT_CONNECTION_REFUSED (65)
  70. #define NT_STATUS_INVALID_PORT_HANDLE (66)
  71. #define NT_STATUS_SHARING_VIOLATION (67)
  72. #define NT_STATUS_QUOTA_EXCEEDED (68)
  73. #define NT_STATUS_INVALID_PAGE_PROTECTION (69)
  74. #define NT_STATUS_MUTANT_NOT_OWNED (70)
  75. #define NT_STATUS_SEMAPHORE_LIMIT_EXCEEDED (71)
  76. #define NT_STATUS_PORT_ALREADY_SET (72)
  77. #define NT_STATUS_SECTION_NOT_IMAGE (73)
  78. #define NT_STATUS_SUSPEND_COUNT_EXCEEDED (74)
  79. #define NT_STATUS_THREAD_IS_TERMINATING (75)
  80. #define NT_STATUS_BAD_WORKING_SET_LIMIT (76)
  81. #define NT_STATUS_INCOMPATIBLE_FILE_MAP (77)
  82. #define NT_STATUS_SECTION_PROTECTION (78)
  83. #define NT_STATUS_EAS_NOT_SUPPORTED (79)
  84. #define NT_STATUS_EA_TOO_LARGE (80)
  85. #define NT_STATUS_NONEXISTENT_EA_ENTRY (81)
  86. #define NT_STATUS_NO_EAS_ON_FILE (82)
  87. #define NT_STATUS_EA_CORRUPT_ERROR (83)
  88. #define NT_STATUS_FILE_LOCK_CONFLICT (84)
  89. #define NT_STATUS_LOCK_NOT_GRANTED (85)
  90. #define NT_STATUS_DELETE_PENDING (86)
  91. #define NT_STATUS_CTL_FILE_NOT_SUPPORTED (87)
  92. #define NT_STATUS_UNKNOWN_REVISION (88)
  93. #define NT_STATUS_REVISION_MISMATCH (89)
  94. #define NT_STATUS_INVALID_OWNER (90)
  95. #define NT_STATUS_INVALID_PRIMARY_GROUP (91)
  96. #define NT_STATUS_NO_IMPERSONATION_TOKEN (92)
  97. #define NT_STATUS_CANT_DISABLE_MANDATORY (93)
  98. #define NT_STATUS_NO_LOGON_SERVERS (94)
  99. #define NT_STATUS_NO_SUCH_LOGON_SESSION (95)
  100. #define NT_STATUS_NO_SUCH_PRIVILEGE (96)
  101. #define NT_STATUS_PRIVILEGE_NOT_HELD (97)
  102. #define NT_STATUS_INVALID_ACCOUNT_NAME (98)
  103. #define NT_STATUS_USER_EXISTS (99)
  104. #define NT_STATUS_NO_SUCH_USER (100)
  105. #define NT_STATUS_GROUP_EXISTS (101)
  106. #define NT_STATUS_NO_SUCH_GROUP (102)
  107. #define NT_STATUS_MEMBER_IN_GROUP (103)
  108. #define NT_STATUS_MEMBER_NOT_IN_GROUP (104)
  109. #define NT_STATUS_LAST_ADMIN (105)
  110. #define NT_STATUS_WRONG_PASSWORD (106)
  111. #define NT_STATUS_ILL_FORMED_PASSWORD (107)
  112. #define NT_STATUS_PASSWORD_RESTRICTION (108)
  113. #define NT_STATUS_LOGON_FAILURE (109)
  114. #define NT_STATUS_ACCOUNT_RESTRICTION (110)
  115. #define NT_STATUS_INVALID_LOGON_HOURS (111)
  116. #define NT_STATUS_INVALID_WORKSTATION (112)
  117. #define NT_STATUS_PASSWORD_EXPIRED (113)
  118. #define NT_STATUS_ACCOUNT_DISABLED (114)
  119. #define NT_STATUS_NONE_MAPPED (115)
  120. #define NT_STATUS_TOO_MANY_LUIDS_REQUESTED (116)
  121. #define NT_STATUS_LUIDS_EXHAUSTED (117)
  122. #define NT_STATUS_INVALID_SUB_AUTHORITY (118)
  123. #define NT_STATUS_INVALID_ACL (119)
  124. #define NT_STATUS_INVALID_SID (120)
  125. #define NT_STATUS_INVALID_SECURITY_DESCR (121)
  126. #define NT_STATUS_PROCEDURE_NOT_FOUND (122)
  127. #define NT_STATUS_INVALID_IMAGE_FORMAT (123)
  128. #define NT_STATUS_NO_TOKEN (124)
  129. #define NT_STATUS_BAD_INHERITANCE_ACL (125)
  130. #define NT_STATUS_RANGE_NOT_LOCKED (126)
  131. #define NT_STATUS_DISK_FULL (127)
  132. #define NT_STATUS_SERVER_DISABLED (128)
  133. #define NT_STATUS_SERVER_NOT_DISABLED (129)
  134. #define NT_STATUS_TOO_MANY_GUIDS_REQUESTED (130)
  135. #define NT_STATUS_GUIDS_EXHAUSTED (131)
  136. #define NT_STATUS_INVALID_ID_AUTHORITY (132)
  137. #define NT_STATUS_AGENTS_EXHAUSTED (133)
  138. #define NT_STATUS_INVALID_VOLUME_LABEL (134)
  139. #define NT_STATUS_SECTION_NOT_EXTENDED (135)
  140. #define NT_STATUS_NOT_MAPPED_DATA (136)
  141. #define NT_STATUS_RESOURCE_DATA_NOT_FOUND (137)
  142. #define NT_STATUS_RESOURCE_TYPE_NOT_FOUND (138)
  143. #define NT_STATUS_RESOURCE_NAME_NOT_FOUND (139)
  144. #define NT_STATUS_ARRAY_BOUNDS_EXCEEDED (140)
  145. #define NT_STATUS_FLOAT_DENORMAL_OPERAND (141)
  146. #define NT_STATUS_FLOAT_DIVIDE_BY_ZERO (142)
  147. #define NT_STATUS_FLOAT_INEXACT_RESULT (143)
  148. #define NT_STATUS_FLOAT_INVALID_OPERATION (144)
  149. #define NT_STATUS_FLOAT_OVERFLOW (145)
  150. #define NT_STATUS_FLOAT_STACK_CHECK (146)
  151. #define NT_STATUS_FLOAT_UNDERFLOW (147)
  152. #define NT_STATUS_INTEGER_DIVIDE_BY_ZERO (148)
  153. #define NT_STATUS_INTEGER_OVERFLOW (149)
  154. #define NT_STATUS_PRIVILEGED_INSTRUCTION (150)
  155. #define NT_STATUS_TOO_MANY_PAGING_FILES (151)
  156. #define NT_STATUS_FILE_INVALID (152)
  157. #define NT_STATUS_ALLOTTED_SPACE_EXCEEDED (153)
  158. #define NT_STATUS_INSUFFICIENT_RESOURCES (154)
  159. #define NT_STATUS_DFS_EXIT_PATH_FOUND (155)
  160. #define NT_STATUS_DEVICE_DATA_ERROR (156)
  161. #define NT_STATUS_DEVICE_NOT_CONNECTED (157)
  162. #define NT_STATUS_DEVICE_POWER_FAILURE (158)
  163. #define NT_STATUS_FREE_VM_NOT_AT_BASE (159)
  164. #define NT_STATUS_MEMORY_NOT_ALLOCATED (160)
  165. #define NT_STATUS_WORKING_SET_QUOTA (161)
  166. #define NT_STATUS_MEDIA_WRITE_PROTECTED (162)
  167. #define NT_STATUS_DEVICE_NOT_READY (163)
  168. #define NT_STATUS_INVALID_GROUP_ATTRIBUTES (164)
  169. #define NT_STATUS_BAD_IMPERSONATION_LEVEL (165)
  170. #define NT_STATUS_CANT_OPEN_ANONYMOUS (166)
  171. #define NT_STATUS_BAD_VALIDATION_CLASS (167)
  172. #define NT_STATUS_BAD_TOKEN_TYPE (168)
  173. #define NT_STATUS_BAD_MASTER_BOOT_RECORD (169)
  174. #define NT_STATUS_INSTRUCTION_MISALIGNMENT (170)
  175. #define NT_STATUS_INSTANCE_NOT_AVAILABLE (171)
  176. #define NT_STATUS_PIPE_NOT_AVAILABLE (172)
  177. #define NT_STATUS_INVALID_PIPE_STATE (173)
  178. #define NT_STATUS_PIPE_BUSY (174)
  179. #define NT_STATUS_ILLEGAL_FUNCTION (175)
  180. #define NT_STATUS_PIPE_DISCONNECTED (176)
  181. #define NT_STATUS_PIPE_CLOSING (177)
  182. #define NT_STATUS_PIPE_CONNECTED (178)
  183. #define NT_STATUS_PIPE_LISTENING (179)
  184. #define NT_STATUS_INVALID_READ_MODE (180)
  185. #define NT_STATUS_IO_TIMEOUT (181)
  186. #define NT_STATUS_FILE_FORCED_CLOSED (182)
  187. #define NT_STATUS_PROFILING_NOT_STARTED (183)
  188. #define NT_STATUS_PROFILING_NOT_STOPPED (184)
  189. #define NT_STATUS_COULD_NOT_INTERPRET (185)
  190. #define NT_STATUS_FILE_IS_A_DIRECTORY (186)
  191. #define NT_STATUS_NOT_SUPPORTED (187)
  192. #define NT_STATUS_REMOTE_NOT_LISTENING (188)
  193. #define NT_STATUS_DUPLICATE_NAME (189)
  194. #define NT_STATUS_BAD_NETWORK_PATH (190)
  195. #define NT_STATUS_NETWORK_BUSY (191)
  196. #define NT_STATUS_DEVICE_DOES_NOT_EXIST (192)
  197. #define NT_STATUS_TOO_MANY_COMMANDS (193)
  198. #define NT_STATUS_ADAPTER_HARDWARE_ERROR (194)
  199. #define NT_STATUS_INVALID_NETWORK_RESPONSE (195)
  200. #define NT_STATUS_UNEXPECTED_NETWORK_ERROR (196)
  201. #define NT_STATUS_BAD_REMOTE_ADAPTER (197)
  202. #define NT_STATUS_PRINT_QUEUE_FULL (198)
  203. #define NT_STATUS_NO_SPOOL_SPACE (199)
  204. #define NT_STATUS_PRINT_CANCELLED (200)
  205. #define NT_STATUS_NETWORK_NAME_DELETED (201)
  206. #define NT_STATUS_NETWORK_ACCESS_DENIED (202)
  207. #define NT_STATUS_BAD_DEVICE_TYPE (203)
  208. #define NT_STATUS_BAD_NETWORK_NAME (204)
  209. #define NT_STATUS_TOO_MANY_NAMES (205)
  210. #define NT_STATUS_TOO_MANY_SESSIONS (206)
  211. #define NT_STATUS_SHARING_PAUSED (207)
  212. #define NT_STATUS_REQUEST_NOT_ACCEPTED (208)
  213. #define NT_STATUS_REDIRECTOR_PAUSED (209)
  214. #define NT_STATUS_NET_WRITE_FAULT (210)
  215. #define NT_STATUS_PROFILING_AT_LIMIT (211)
  216. #define NT_STATUS_NOT_SAME_DEVICE (212)
  217. #define NT_STATUS_FILE_RENAMED (213)
  218. #define NT_STATUS_VIRTUAL_CIRCUIT_CLOSED (214)
  219. #define NT_STATUS_NO_SECURITY_ON_OBJECT (215)
  220. #define NT_STATUS_CANT_WAIT (216)
  221. #define NT_STATUS_PIPE_EMPTY (217)
  222. #define NT_STATUS_CANT_ACCESS_DOMAIN_INFO (218)
  223. #define NT_STATUS_CANT_TERMINATE_SELF (219)
  224. #define NT_STATUS_INVALID_SERVER_STATE (220)
  225. #define NT_STATUS_INVALID_DOMAIN_STATE (221)
  226. #define NT_STATUS_INVALID_DOMAIN_ROLE (222)
  227. #define NT_STATUS_NO_SUCH_DOMAIN (223)
  228. #define NT_STATUS_DOMAIN_EXISTS (224)
  229. #define NT_STATUS_DOMAIN_LIMIT_EXCEEDED (225)
  230. #define NT_STATUS_OPLOCK_NOT_GRANTED (226)
  231. #define NT_STATUS_INVALID_OPLOCK_PROTOCOL (227)
  232. #define NT_STATUS_INTERNAL_DB_CORRUPTION (228)
  233. #define NT_STATUS_INTERNAL_ERROR (229)
  234. #define NT_STATUS_GENERIC_NOT_MAPPED (230)
  235. #define NT_STATUS_BAD_DESCRIPTOR_FORMAT (231)
  236. #define NT_STATUS_INVALID_USER_BUFFER (232)
  237. #define NT_STATUS_UNEXPECTED_IO_ERROR (233)
  238. #define NT_STATUS_UNEXPECTED_MM_CREATE_ERR (234)
  239. #define NT_STATUS_UNEXPECTED_MM_MAP_ERROR (235)
  240. #define NT_STATUS_UNEXPECTED_MM_EXTEND_ERR (236)
  241. #define NT_STATUS_NOT_LOGON_PROCESS (237)
  242. #define NT_STATUS_LOGON_SESSION_EXISTS (238)
  243. #define NT_STATUS_INVALID_PARAMETER_1 (239)
  244. #define NT_STATUS_INVALID_PARAMETER_2 (240)
  245. #define NT_STATUS_INVALID_PARAMETER_3 (241)
  246. #define NT_STATUS_INVALID_PARAMETER_4 (242)
  247. #define NT_STATUS_INVALID_PARAMETER_5 (243)
  248. #define NT_STATUS_INVALID_PARAMETER_6 (244)
  249. #define NT_STATUS_INVALID_PARAMETER_7 (245)
  250. #define NT_STATUS_INVALID_PARAMETER_8 (246)
  251. #define NT_STATUS_INVALID_PARAMETER_9 (247)
  252. #define NT_STATUS_INVALID_PARAMETER_10 (248)
  253. #define NT_STATUS_INVALID_PARAMETER_11 (249)
  254. #define NT_STATUS_INVALID_PARAMETER_12 (250)
  255. #define NT_STATUS_REDIRECTOR_NOT_STARTED (251)
  256. #define NT_STATUS_REDIRECTOR_STARTED (252)
  257. #define NT_STATUS_STACK_OVERFLOW (253)
  258. #define NT_STATUS_NO_SUCH_PACKAGE (254)
  259. #define NT_STATUS_BAD_FUNCTION_TABLE (255)
  260. #define NT_STATUS_DIRECTORY_NOT_EMPTY (257)
  261. #define NT_STATUS_FILE_CORRUPT_ERROR (258)
  262. #define NT_STATUS_NOT_A_DIRECTORY (259)
  263. #define NT_STATUS_BAD_LOGON_SESSION_STATE (260)
  264. #define NT_STATUS_LOGON_SESSION_COLLISION (261)
  265. #define NT_STATUS_NAME_TOO_LONG (262)
  266. #define NT_STATUS_FILES_OPEN (263)
  267. #define NT_STATUS_CONNECTION_IN_USE (264)
  268. #define NT_STATUS_MESSAGE_NOT_FOUND (265)
  269. #define NT_STATUS_PROCESS_IS_TERMINATING (266)
  270. #define NT_STATUS_INVALID_LOGON_TYPE (267)
  271. #define NT_STATUS_NO_GUID_TRANSLATION (268)
  272. #define NT_STATUS_CANNOT_IMPERSONATE (269)
  273. #define NT_STATUS_IMAGE_ALREADY_LOADED (270)
  274. #define NT_STATUS_ABIOS_NOT_PRESENT (271)
  275. #define NT_STATUS_ABIOS_LID_NOT_EXIST (272)
  276. #define NT_STATUS_ABIOS_LID_ALREADY_OWNED (273)
  277. #define NT_STATUS_ABIOS_NOT_LID_OWNER (274)
  278. #define NT_STATUS_ABIOS_INVALID_COMMAND (275)
  279. #define NT_STATUS_ABIOS_INVALID_LID (276)
  280. #define NT_STATUS_ABIOS_SELECTOR_NOT_AVAILABLE (277)
  281. #define NT_STATUS_ABIOS_INVALID_SELECTOR (278)
  282. #define NT_STATUS_NO_LDT (279)
  283. #define NT_STATUS_INVALID_LDT_SIZE (280)
  284. #define NT_STATUS_INVALID_LDT_OFFSET (281)
  285. #define NT_STATUS_INVALID_LDT_DESCRIPTOR (282)
  286. #define NT_STATUS_INVALID_IMAGE_NE_FORMAT (283)
  287. #define NT_STATUS_RXACT_INVALID_STATE (284)
  288. #define NT_STATUS_RXACT_COMMIT_FAILURE (285)
  289. #define NT_STATUS_MAPPED_FILE_SIZE_ZERO (286)
  290. #define NT_STATUS_TOO_MANY_OPENED_FILES (287)
  291. #define NT_STATUS_CANCELLED (288)
  292. #define NT_STATUS_CANNOT_DELETE (289)
  293. #define NT_STATUS_INVALID_COMPUTER_NAME (290)
  294. #define NT_STATUS_FILE_DELETED (291)
  295. #define NT_STATUS_SPECIAL_ACCOUNT (292)
  296. #define NT_STATUS_SPECIAL_GROUP (293)
  297. #define NT_STATUS_SPECIAL_USER (294)
  298. #define NT_STATUS_MEMBERS_PRIMARY_GROUP (295)
  299. #define NT_STATUS_FILE_CLOSED (296)
  300. #define NT_STATUS_TOO_MANY_THREADS (297)
  301. #define NT_STATUS_THREAD_NOT_IN_PROCESS (298)
  302. #define NT_STATUS_TOKEN_ALREADY_IN_USE (299)
  303. #define NT_STATUS_PAGEFILE_QUOTA_EXCEEDED (300)
  304. #define NT_STATUS_COMMITMENT_LIMIT (301)
  305. #define NT_STATUS_INVALID_IMAGE_LE_FORMAT (302)
  306. #define NT_STATUS_INVALID_IMAGE_NOT_MZ (303)
  307. #define NT_STATUS_INVALID_IMAGE_PROTECT (304)
  308. #define NT_STATUS_INVALID_IMAGE_WIN_16 (305)
  309. #define NT_STATUS_LOGON_SERVER_CONFLICT (306)
  310. #define NT_STATUS_TIME_DIFFERENCE_AT_DC (307)
  311. #define NT_STATUS_SYNCHRONIZATION_REQUIRED (308)
  312. #define NT_STATUS_DLL_NOT_FOUND (309)
  313. #define NT_STATUS_OPEN_FAILED (310)
  314. #define NT_STATUS_IO_PRIVILEGE_FAILED (311)
  315. #define NT_STATUS_ORDINAL_NOT_FOUND (312)
  316. #define NT_STATUS_ENTRYPOINT_NOT_FOUND (313)
  317. #define NT_STATUS_CONTROL_C_EXIT (314)
  318. #define NT_STATUS_LOCAL_DISCONNECT (315)
  319. #define NT_STATUS_REMOTE_DISCONNECT (316)
  320. #define NT_STATUS_REMOTE_RESOURCES (317)
  321. #define NT_STATUS_LINK_FAILED (318)
  322. #define NT_STATUS_LINK_TIMEOUT (319)
  323. #define NT_STATUS_INVALID_CONNECTION (320)
  324. #define NT_STATUS_INVALID_ADDRESS (321)
  325. #define NT_STATUS_DLL_INIT_FAILED (322)
  326. #define NT_STATUS_MISSING_SYSTEMFILE (323)
  327. #define NT_STATUS_UNHANDLED_EXCEPTION (324)
  328. #define NT_STATUS_APP_INIT_FAILURE (325)
  329. #define NT_STATUS_PAGEFILE_CREATE_FAILED (326)
  330. #define NT_STATUS_NO_PAGEFILE (327)
  331. #define NT_STATUS_INVALID_LEVEL (328)
  332. #define NT_STATUS_WRONG_PASSWORD_CORE (329)
  333. #define NT_STATUS_ILLEGAL_FLOAT_CONTEXT (330)
  334. #define NT_STATUS_PIPE_BROKEN (331)
  335. #define NT_STATUS_REGISTRY_CORRUPT (332)
  336. #define NT_STATUS_REGISTRY_IO_FAILED (333)
  337. #define NT_STATUS_NO_EVENT_PAIR (334)
  338. #define NT_STATUS_UNRECOGNIZED_VOLUME (335)
  339. #define NT_STATUS_SERIAL_NO_DEVICE_INITED (336)
  340. #define NT_STATUS_NO_SUCH_ALIAS (337)
  341. #define NT_STATUS_MEMBER_NOT_IN_ALIAS (338)
  342. #define NT_STATUS_MEMBER_IN_ALIAS (339)
  343. #define NT_STATUS_ALIAS_EXISTS (340)
  344. #define NT_STATUS_LOGON_NOT_GRANTED (341)
  345. #define NT_STATUS_TOO_MANY_SECRETS (342)
  346. #define NT_STATUS_SECRET_TOO_LONG (343)
  347. #define NT_STATUS_INTERNAL_DB_ERROR (344)
  348. #define NT_STATUS_FULLSCREEN_MODE (345)
  349. #define NT_STATUS_TOO_MANY_CONTEXT_IDS (346)
  350. #define NT_STATUS_LOGON_TYPE_NOT_GRANTED (347)
  351. #define NT_STATUS_NOT_REGISTRY_FILE (348)
  352. #define NT_STATUS_NT_CROSS_ENCRYPTION_REQUIRED (349)
  353. #define NT_STATUS_DOMAIN_CTRLR_CONFIG_ERROR (350)
  354. #define NT_STATUS_FT_MISSING_MEMBER (351)
  355. #define NT_STATUS_ILL_FORMED_SERVICE_ENTRY (352)
  356. #define NT_STATUS_ILLEGAL_CHARACTER (353)
  357. #define NT_STATUS_UNMAPPABLE_CHARACTER (354)
  358. #define NT_STATUS_UNDEFINED_CHARACTER (355)
  359. #define NT_STATUS_FLOPPY_VOLUME (356)
  360. #define NT_STATUS_FLOPPY_ID_MARK_NOT_FOUND (357)
  361. #define NT_STATUS_FLOPPY_WRONG_CYLINDER (358)
  362. #define NT_STATUS_FLOPPY_UNKNOWN_ERROR (359)
  363. #define NT_STATUS_FLOPPY_BAD_REGISTERS (360)
  364. #define NT_STATUS_DISK_RECALIBRATE_FAILED (361)
  365. #define NT_STATUS_DISK_OPERATION_FAILED (362)
  366. #define NT_STATUS_DISK_RESET_FAILED (363)
  367. #define NT_STATUS_SHARED_IRQ_BUSY (364)
  368. #define NT_STATUS_FT_ORPHANING (365)
  369. #define NT_STATUS_PARTITION_FAILURE (370)
  370. #define NT_STATUS_INVALID_BLOCK_LENGTH (371)
  371. #define NT_STATUS_DEVICE_NOT_PARTITIONED (372)
  372. #define NT_STATUS_UNABLE_TO_LOCK_MEDIA (373)
  373. #define NT_STATUS_UNABLE_TO_UNLOAD_MEDIA (374)
  374. #define NT_STATUS_EOM_OVERFLOW (375)
  375. #define NT_STATUS_NO_MEDIA (376)
  376. #define NT_STATUS_NO_SUCH_MEMBER (378)
  377. #define NT_STATUS_INVALID_MEMBER (379)
  378. #define NT_STATUS_KEY_DELETED (380)
  379. #define NT_STATUS_NO_LOG_SPACE (381)
  380. #define NT_STATUS_TOO_MANY_SIDS (382)
  381. #define NT_STATUS_LM_CROSS_ENCRYPTION_REQUIRED (383)
  382. #define NT_STATUS_KEY_HAS_CHILDREN (384)
  383. #define NT_STATUS_CHILD_MUST_BE_VOLATILE (385)
  384. #define NT_STATUS_DEVICE_CONFIGURATION_ERROR (386)
  385. #define NT_STATUS_DRIVER_INTERNAL_ERROR (387)
  386. #define NT_STATUS_INVALID_DEVICE_STATE (388)
  387. #define NT_STATUS_IO_DEVICE_ERROR (389)
  388. #define NT_STATUS_DEVICE_PROTOCOL_ERROR (390)
  389. #define NT_STATUS_BACKUP_CONTROLLER (391)
  390. #define NT_STATUS_LOG_FILE_FULL (392)
  391. #define NT_STATUS_TOO_LATE (393)
  392. #define NT_STATUS_NO_TRUST_LSA_SECRET (394)
  393. #define NT_STATUS_NO_TRUST_SAM_ACCOUNT (395)
  394. #define NT_STATUS_TRUSTED_DOMAIN_FAILURE (396)
  395. #define NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE (397)
  396. #define NT_STATUS_EVENTLOG_FILE_CORRUPT (398)
  397. #define NT_STATUS_EVENTLOG_CANT_START (399)
  398. #define NT_STATUS_TRUST_FAILURE (400)
  399. #define NT_STATUS_MUTANT_LIMIT_EXCEEDED (401)
  400. #define NT_STATUS_NETLOGON_NOT_STARTED (402)
  401. #define NT_STATUS_ACCOUNT_EXPIRED (403)
  402. #define NT_STATUS_POSSIBLE_DEADLOCK (404)
  403. #define NT_STATUS_NETWORK_CREDENTIAL_CONFLICT (405)
  404. #define NT_STATUS_REMOTE_SESSION_LIMIT (406)
  405. #define NT_STATUS_EVENTLOG_FILE_CHANGED (407)
  406. #define NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT (408)
  407. #define NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT (409)
  408. #define NT_STATUS_NOLOGON_SERVER_TRUST_ACCOUNT (410)
  409. #define NT_STATUS_DOMAIN_TRUST_INCONSISTENT (411)
  410. #define NT_STATUS_FS_DRIVER_REQUIRED (412)
  411. #define NT_STATUS_NO_USER_SESSION_KEY (514)
  412. #define NT_STATUS_USER_SESSION_DELETED (515)
  413. #define NT_STATUS_RESOURCE_LANG_NOT_FOUND (516)
  414. #define NT_STATUS_INSUFF_SERVER_RESOURCES (517)
  415. #define NT_STATUS_INVALID_BUFFER_SIZE (518)
  416. #define NT_STATUS_INVALID_ADDRESS_COMPONENT (519)
  417. #define NT_STATUS_INVALID_ADDRESS_WILDCARD (520)
  418. #define NT_STATUS_TOO_MANY_ADDRESSES (521)
  419. #define NT_STATUS_ADDRESS_ALREADY_EXISTS (522)
  420. #define NT_STATUS_ADDRESS_CLOSED (523)
  421. #define NT_STATUS_CONNECTION_DISCONNECTED (524)
  422. #define NT_STATUS_CONNECTION_RESET (525)
  423. #define NT_STATUS_TOO_MANY_NODES (526)
  424. #define NT_STATUS_TRANSACTION_ABORTED (527)
  425. #define NT_STATUS_TRANSACTION_TIMED_OUT (528)
  426. #define NT_STATUS_TRANSACTION_NO_RELEASE (529)
  427. #define NT_STATUS_TRANSACTION_NO_MATCH (530)
  428. #define NT_STATUS_TRANSACTION_RESPONDED (531)
  429. #define NT_STATUS_TRANSACTION_INVALID_ID (532)
  430. #define NT_STATUS_TRANSACTION_INVALID_TYPE (533)
  431. #define NT_STATUS_NOT_SERVER_SESSION (534)
  432. #define NT_STATUS_NOT_CLIENT_SESSION (535)
  433. #define NT_STATUS_CANNOT_LOAD_REGISTRY_FILE (536)
  434. #define NT_STATUS_DEBUG_ATTACH_FAILED (537)
  435. #define NT_STATUS_SYSTEM_PROCESS_TERMINATED (538)
  436. #define NT_STATUS_DATA_NOT_ACCEPTED (539)
  437. #define NT_STATUS_NO_BROWSER_SERVERS_FOUND (540)
  438. #define NT_STATUS_VDM_HARD_ERROR (541)
  439. #define NT_STATUS_DRIVER_CANCEL_TIMEOUT (542)
  440. #define NT_STATUS_REPLY_MESSAGE_MISMATCH (543)
  441. #define NT_STATUS_MAPPED_ALIGNMENT (544)
  442. #define NT_STATUS_IMAGE_CHECKSUM_MISMATCH (545)
  443. #define NT_STATUS_LOST_WRITEBEHIND_DATA (546)
  444. #define NT_STATUS_CLIENT_SERVER_PARAMETERS_INVALID (547)
  445. #define NT_STATUS_PASSWORD_MUST_CHANGE (548)
  446. #define NT_STATUS_NOT_FOUND (549)
  447. #define NT_STATUS_NOT_TINY_STREAM (550)
  448. #define NT_STATUS_RECOVERY_FAILURE (551)
  449. #define NT_STATUS_STACK_OVERFLOW_READ (552)
  450. #define NT_STATUS_FAIL_CHECK (553)
  451. #define NT_STATUS_DUPLICATE_OBJECTID (554)
  452. #define NT_STATUS_OBJECTID_EXISTS (555)
  453. #define NT_STATUS_CONVERT_TO_LARGE (556)
  454. #define NT_STATUS_RETRY (557)
  455. #define NT_STATUS_FOUND_OUT_OF_SCOPE (558)
  456. #define NT_STATUS_ALLOCATE_BUCKET (559)
  457. #define NT_STATUS_PROPSET_NOT_FOUND (560)
  458. #define NT_STATUS_MARSHALL_OVERFLOW (561)
  459. #define NT_STATUS_INVALID_VARIANT (562)
  460. #define NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND (563)
  461. #define NT_STATUS_ACCOUNT_LOCKED_OUT (564)
  462. #define NT_STATUS_HANDLE_NOT_CLOSABLE (565)
  463. #define NT_STATUS_CONNECTION_REFUSED (566)
  464. #define NT_STATUS_GRACEFUL_DISCONNECT (567)
  465. #define NT_STATUS_ADDRESS_ALREADY_ASSOCIATED (568)
  466. #define NT_STATUS_ADDRESS_NOT_ASSOCIATED (569)
  467. #define NT_STATUS_CONNECTION_INVALID (570)
  468. #define NT_STATUS_CONNECTION_ACTIVE (571)
  469. #define NT_STATUS_NETWORK_UNREACHABLE (572)
  470. #define NT_STATUS_HOST_UNREACHABLE (573)
  471. #define NT_STATUS_PROTOCOL_UNREACHABLE (574)
  472. #define NT_STATUS_PORT_UNREACHABLE (575)
  473. #define NT_STATUS_REQUEST_ABORTED (576)
  474. #define NT_STATUS_CONNECTION_ABORTED (577)
  475. #define NT_STATUS_BAD_COMPRESSION_BUFFER (578)
  476. #define NT_STATUS_USER_MAPPED_FILE (579)
  477. #define NT_STATUS_AUDIT_FAILED (580)
  478. #define NT_STATUS_TIMER_RESOLUTION_NOT_SET (581)
  479. #define NT_STATUS_CONNECTION_COUNT_LIMIT (582)
  480. #define NT_STATUS_LOGIN_TIME_RESTRICTION (583)
  481. #define NT_STATUS_LOGIN_WKSTA_RESTRICTION (584)
  482. #define NT_STATUS_IMAGE_MP_UP_MISMATCH (585)
  483. #define NT_STATUS_INSUFFICIENT_LOGON_INFO (592)
  484. #define NT_STATUS_BAD_DLL_ENTRYPOINT (593)
  485. #define NT_STATUS_BAD_SERVICE_ENTRYPOINT (594)
  486. #define NT_STATUS_LPC_REPLY_LOST (595)
  487. #define NT_STATUS_IP_ADDRESS_CONFLICT1 (596)
  488. #define NT_STATUS_IP_ADDRESS_CONFLICT2 (597)
  489. #define NT_STATUS_REGISTRY_QUOTA_LIMIT (598)
  490. #define NT_STATUS_PATH_NOT_COVERED (599)
  491. #define NT_STATUS_NO_CALLBACK_ACTIVE (600)
  492. #define NT_STATUS_LICENSE_QUOTA_EXCEEDED (601)
  493. #define NT_STATUS_PWD_TOO_SHORT (602)
  494. #define NT_STATUS_PWD_TOO_RECENT (603)
  495. #define NT_STATUS_PWD_HISTORY_CONFLICT (604)
  496. #define NT_STATUS_PLUGPLAY_NO_DEVICE (606)
  497. #define NT_STATUS_UNSUPPORTED_COMPRESSION (607)
  498. #define NT_STATUS_INVALID_HW_PROFILE (608)
  499. #define NT_STATUS_INVALID_PLUGPLAY_DEVICE_PATH (609)
  500. #define NT_STATUS_DRIVER_ORDINAL_NOT_FOUND (610)
  501. #define NT_STATUS_DRIVER_ENTRYPOINT_NOT_FOUND (611)
  502. #define NT_STATUS_RESOURCE_NOT_OWNED (612)
  503. #define NT_STATUS_TOO_MANY_LINKS (613)
  504. #define NT_STATUS_QUOTA_LIST_INCONSISTENT (614)
  505. #define NT_STATUS_FILE_IS_OFFLINE (615)
  506. #define NT_STATUS_NOTIFY_ENUM_DIR (0x10C)