Advertisement
MagicAndre1981

new NTSTATUS codes in Windows 10

Apr 3rd, 2015
564
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //
  2. // MessageId: STATUS_VALID_STRONG_CODE_HASH
  3. //
  4. // MessageText:
  5. //
  6. // The file hash is valid and uses strong code integrity.
  7. //
  8. #define STATUS_VALID_STRONG_CODE_HASH    ((NTSTATUS)0x0000012EL)
  9.  
  10.  
  11. //
  12. // MessageId: STATUS_DEVICE_POWER_CYCLE_REQUIRED
  13. //
  14. // MessageText:
  15. //
  16. // The device needs to be power cycled.
  17. //
  18. #define STATUS_DEVICE_POWER_CYCLE_REQUIRED ((NTSTATUS)0x80000031L)
  19.  
  20.  
  21. //
  22. // MessageId: STATUS_PORT_DO_NOT_DISTURB
  23. //
  24. // MessageText:
  25. //
  26. // A port with the 'do not disturb' flag set attempted to send a message to a port in a suspended process.
  27. // The process was not woken, and the message was not delivered.
  28. //
  29. #define STATUS_PORT_DO_NOT_DISTURB       ((NTSTATUS)0xC0000036L)
  30.  
  31.  
  32. //
  33. // MessageId: STATUS_COMPRESSION_NOT_BENEFICIAL
  34. //
  35. // MessageText:
  36. //
  37. // Compressing this object would not save space.
  38. //
  39. #define STATUS_COMPRESSION_NOT_BENEFICIAL ((NTSTATUS)0xC000046FL)
  40.  
  41.  
  42. //
  43. // MessageId: STATUS_FIRMWARE_SLOT_INVALID
  44. //
  45. // MessageText:
  46. //
  47. // The specified firmware slot is invalid.
  48. //
  49. #define STATUS_FIRMWARE_SLOT_INVALID     ((NTSTATUS)0xC0000484L)
  50.  
  51. //
  52. // MessageId: STATUS_FIRMWARE_IMAGE_INVALID
  53. //
  54. // MessageText:
  55. //
  56. // The specified firmware image is invalid.
  57. //
  58. #define STATUS_FIRMWARE_IMAGE_INVALID    ((NTSTATUS)0xC0000485L)
  59.  
  60. //
  61. // MessageId: STATUS_STORAGE_TOPOLOGY_ID_MISMATCH
  62. //
  63. // MessageText:
  64. //
  65. // The request failed due to a storage topology ID mismatch.
  66. //
  67. #define STATUS_STORAGE_TOPOLOGY_ID_MISMATCH ((NTSTATUS)0xC0000486L)
  68.  
  69. //
  70. // MessageId: STATUS_WIM_NOT_BOOTABLE
  71. //
  72. // MessageText:
  73. //
  74. // The specified Windows Image (WIM) is not marked as bootable.
  75. //
  76. #define STATUS_WIM_NOT_BOOTABLE          ((NTSTATUS)0xC0000487L)
  77.  
  78. //
  79. // MessageId: STATUS_BLOCKED_BY_PARENTAL_CONTROLS
  80. //
  81. // MessageText:
  82. //
  83. // The operation was blocked by parental controls.
  84. //
  85. #define STATUS_BLOCKED_BY_PARENTAL_CONTROLS ((NTSTATUS)0xC0000488L)
  86.  
  87.  
  88.  
  89. //
  90. // MessageId: STATUS_DEVICE_HUNG
  91. //
  92. // MessageText:
  93. //
  94. // The device is not responding and cannot be safely removed.
  95. //
  96. #define STATUS_DEVICE_HUNG               ((NTSTATUS)0xC0000507L)
  97.  
  98.  
  99. //
  100. // MessageId: STATUS_CLUSTER_CSV_NO_SNAPSHOTS
  101. //
  102. // MessageText:
  103. //
  104. // Volsnap on the coordinating node returned an error indicating that there is no snapshots on this volume.
  105. //
  106. #define STATUS_CLUSTER_CSV_NO_SNAPSHOTS  ((NTSTATUS)0xC0130027L)
  107.  
  108. //
  109. // MessageId: STATUS_CSV_IO_PAUSE_TIMEOUT
  110. //
  111. // MessageText:
  112. //
  113. // The operation has failed because CSV volume was not able to recover in time specified on this file object.
  114. //
  115. #define STATUS_CSV_IO_PAUSE_TIMEOUT      ((NTSTATUS)0xC0130028L)
  116.  
  117.  
  118. //
  119. // MessageId: STATUS_GRAPHICS_DEPENDABLE_CHILD_STATUS
  120. //
  121. // MessageText:
  122. //
  123. // We can depend on the child device presence returned by the driver.
  124. //
  125. #define STATUS_GRAPHICS_DEPENDABLE_CHILD_STATUS ((NTSTATUS)0x401E043CL)
  126.  
  127.  
  128. //
  129. // Remote TPM Error Codes
  130. //
  131.  
  132. //
  133. // MessageId: STATUS_RTPM_CONTEXT_CONTINUE
  134. //
  135. // MessageText:
  136. //
  137. // The remote TPM context exchange is not complete. The context should be transported to the target and continued.
  138. //
  139. #define STATUS_RTPM_CONTEXT_CONTINUE     ((NTSTATUS)0x00293000L)
  140.  
  141. //
  142. // MessageId: STATUS_RTPM_CONTEXT_COMPLETE
  143. //
  144. // MessageText:
  145. //
  146. // The remote TPM operation is complete.
  147. //
  148. #define STATUS_RTPM_CONTEXT_COMPLETE     ((NTSTATUS)0x00293001L)
  149.  
  150. //
  151. // MessageId: STATUS_RTPM_NO_RESULT
  152. //
  153. // MessageText:
  154. //
  155. // No result associated with this instance exists.
  156. //
  157. #define STATUS_RTPM_NO_RESULT            ((NTSTATUS)0xC0293002L)
  158.  
  159. //
  160. // MessageId: STATUS_RTPM_PCR_READ_INCOMPLETE
  161. //
  162. // MessageText:
  163. //
  164. // The TPM returned incomplete PCR results. This maybe due to an unsupported selection set. Attempt the read again with a different selection set.
  165. //
  166. #define STATUS_RTPM_PCR_READ_INCOMPLETE  ((NTSTATUS)0xC0293003L)
  167.  
  168. //
  169. // MessageId: STATUS_RTPM_INVALID_CONTEXT
  170. //
  171. // MessageText:
  172. //
  173. // The rTPM context has been corrupted. The rTPM operation must be restarted.
  174. //
  175. #define STATUS_RTPM_INVALID_CONTEXT      ((NTSTATUS)0xC0293004L)
  176.  
  177. //
  178. // MessageId: STATUS_RTPM_UNSUPPORTED_CMD
  179. //
  180. // MessageText:
  181. //
  182. // The rTPM target does not support remote processing of the specified TPM command.
  183. //
  184. #define STATUS_RTPM_UNSUPPORTED_CMD      ((NTSTATUS)0xC0293005L)
  185.  
  186.  
  187. //
  188. // MessageId: STATUS_HV_CPUID_FEATURE_VALIDATION_ERROR
  189. //
  190. // MessageText:
  191. //
  192. // Validation of CPUID data of the processor failed.
  193. //
  194. #define STATUS_HV_CPUID_FEATURE_VALIDATION_ERROR ((NTSTATUS)0xC035003CL)
  195.  
  196. //
  197. // MessageId: STATUS_HV_CPUID_XSAVE_FEATURE_VALIDATION_ERROR
  198. //
  199. // MessageText:
  200. //
  201. // Validation of XSAVE CPUID data of the processor failed.
  202. //
  203. #define STATUS_HV_CPUID_XSAVE_FEATURE_VALIDATION_ERROR ((NTSTATUS)0xC035003DL)
  204.  
  205. //
  206. // MessageId: STATUS_HV_PROCESSOR_STARTUP_TIMEOUT
  207. //
  208. // MessageText:
  209. //
  210. // Processor did not respond within the timeout period.
  211. //
  212. #define STATUS_HV_PROCESSOR_STARTUP_TIMEOUT ((NTSTATUS)0xC035003EL)
  213.  
  214. //
  215. // MessageId: STATUS_HV_SMX_ENABLED
  216. //
  217. // MessageText:
  218. //
  219. // SMX has been enabled in the BIOS.
  220. //
  221. #define STATUS_HV_SMX_ENABLED            ((NTSTATUS)0xC035003FL)
  222.  
  223.  
  224. //
  225. // MessageId: STATUS_HV_INVALID_REGISTER_VALUE
  226. //
  227. // MessageText:
  228. //
  229. // The supplied register value is invalid.
  230. //
  231. #define STATUS_HV_INVALID_REGISTER_VALUE ((NTSTATUS)0xC0350050L)
  232.  
  233. //
  234. // MessageId: STATUS_HV_INVALID_VTL_STATE
  235. //
  236. // MessageText:
  237. //
  238. // The supplied virtual trust level is not in the correct state to perform the requested operation.
  239. //
  240. #define STATUS_HV_INVALID_VTL_STATE      ((NTSTATUS)0xC0350051L)
  241.  
  242. //
  243. // MessageId: STATUS_HV_NX_NOT_DETECTED
  244. //
  245. // MessageText:
  246. //
  247. // No execute feature (NX) is not present or not enabled in the BIOS.
  248. //
  249. #define STATUS_HV_NX_NOT_DETECTED        ((NTSTATUS)0xC0350055L)
  250.  
  251. //
  252. // MessageId: STATUS_HV_INVALID_DEVICE_ID
  253. //
  254. // MessageText:
  255. //
  256. // The supplied device ID is invalid.
  257. //
  258. #define STATUS_HV_INVALID_DEVICE_ID      ((NTSTATUS)0xC0350057L)
  259.  
  260. //
  261. // MessageId: STATUS_HV_INVALID_DEVICE_STATE
  262. //
  263. // MessageText:
  264. //
  265. // The operation is not allowed in the current device state.
  266. //
  267. #define STATUS_HV_INVALID_DEVICE_STATE   ((NTSTATUS)0xC0350058L)
  268.  
  269. //
  270. // MessageId: STATUS_HV_PENDING_PAGE_REQUESTS
  271. //
  272. // MessageText:
  273. //
  274. // The device had pending page requests which were discarded.
  275. //
  276. #define STATUS_HV_PENDING_PAGE_REQUESTS  ((NTSTATUS)0x00350059L)
  277.  
  278. //
  279. // MessageId: STATUS_HV_PAGE_REQUEST_INVALID
  280. //
  281. // MessageText:
  282. //
  283. // The supplied page request specifies a memory access that the guest does not have permissions to perform.
  284. //
  285. #define STATUS_HV_PAGE_REQUEST_INVALID   ((NTSTATUS)0xC0350060L)
  286.  
  287.  
  288. //
  289. // MessageId: STATUS_VHD_INVALID_CHANGE_TRACKING_ID
  290. //
  291. // MessageText:
  292. //
  293. // The specified change tracking identifier is not valid.
  294. //
  295. #define STATUS_VHD_INVALID_CHANGE_TRACKING_ID ((NTSTATUS)0xC03A0029L)
  296.  
  297. //
  298. // MessageId: STATUS_VHD_CHANGE_TRACKING_DISABLED
  299. //
  300. // MessageText:
  301. //
  302. // Change tracking is disabled for the specified virtual hard disk, so no change tracking information is available.
  303. //
  304. #define STATUS_VHD_CHANGE_TRACKING_DISABLED ((NTSTATUS)0xC03A002AL)
  305.  
  306. //
  307. // MessageId: STATUS_VHD_MISSING_CHANGE_TRACKING_INFORMATION
  308. //
  309. // MessageText:
  310. //
  311. // There is no change tracking data available associated with the specified change tracking identifier.
  312. //
  313. #define STATUS_VHD_MISSING_CHANGE_TRACKING_INFORMATION ((NTSTATUS)0xC03A0030L)
  314.  
  315. //
  316. // MessageId: STATUS_VHD_RESIZE_WOULD_TRUNCATE_DATA
  317. //
  318. // MessageText:
  319. //
  320. // The requested resize operation might truncate user data residing on the virtual disk.
  321. //
  322. #define STATUS_VHD_RESIZE_WOULD_TRUNCATE_DATA ((NTSTATUS)0xC03A0031L)
  323.  
  324. //
  325. // MessageId: STATUS_VHD_COULD_NOT_COMPUTE_MINIMUM_VIRTUAL_SIZE
  326. //
  327. // MessageText:
  328. //
  329. // The minimum safe size of the virtual disk could not be determined. This may be due to a missing or corrupt partition table.
  330. //
  331. #define STATUS_VHD_COULD_NOT_COMPUTE_MINIMUM_VIRTUAL_SIZE ((NTSTATUS)0xC03A0032L)
  332.  
  333. //
  334. // MessageId: STATUS_VHD_ALREADY_AT_OR_BELOW_MINIMUM_VIRTUAL_SIZE
  335. //
  336. // MessageText:
  337. //
  338. // The size of the virtual disk cannot be safely reduced further.
  339. //
  340. #define STATUS_VHD_ALREADY_AT_OR_BELOW_MINIMUM_VIRTUAL_SIZE ((NTSTATUS)0xC03A0033L)
  341.  
  342.  
  343. //
  344. // System Integrity Policy error messages.
  345. //
  346. //
  347. // MessageId: STATUS_SYSTEM_INTEGRITY_ROLLBACK_DETECTED
  348. //
  349. // MessageText:
  350. //
  351. // System Integrity detected that policy rollback has been attempted.
  352. //
  353. #define STATUS_SYSTEM_INTEGRITY_ROLLBACK_DETECTED ((NTSTATUS)0xC0E90001L)
  354.  
  355. //
  356. // MessageId: STATUS_SYSTEM_INTEGRITY_POLICY_VIOLATION
  357. //
  358. // MessageText:
  359. //
  360. // System Integrity policy has been violated.
  361. //
  362. #define STATUS_SYSTEM_INTEGRITY_POLICY_VIOLATION ((NTSTATUS)0xC0E90002L)
  363.  
  364. //
  365. // MessageId: STATUS_SYSTEM_INTEGRITY_INVALID_POLICY
  366. //
  367. // MessageText:
  368. //
  369. // The System Integrity policy is invalid.
  370. //
  371. #define STATUS_SYSTEM_INTEGRITY_INVALID_POLICY ((NTSTATUS)0xC0E90003L)
  372.  
  373. //
  374. // MessageId: STATUS_SYSTEM_INTEGRITY_POLICY_NOT_SIGNED
  375. //
  376. // MessageText:
  377. //
  378. // The System Integrity policy is either not signed or is signed by a non-trusted signer.
  379. //
  380. #define STATUS_SYSTEM_INTEGRITY_POLICY_NOT_SIGNED ((NTSTATUS)0xC0E90004L)
  381.  
  382. //
  383. // Clip modern app and windows licensing error messages.
  384. //
  385. //
  386. // MessageId: STATUS_NO_APPLICABLE_APP_LICENSES_FOUND
  387. //
  388. // MessageText:
  389. //
  390. // No applicable app licenses found.
  391. //
  392. #define STATUS_NO_APPLICABLE_APP_LICENSES_FOUND ((NTSTATUS)0xC0EA0001L)
  393.  
  394.  
  395. //
  396. // MessageId: STATUS_SPACES_DRIVE_REDUNDANCY_INVALID
  397. //
  398. // MessageText:
  399. //
  400. // The value for fault tolerance is outside of the supported range of values.
  401. //
  402. #define STATUS_SPACES_DRIVE_REDUNDANCY_INVALID ((NTSTATUS)0xC0E70006L)
  403.  
  404. //
  405. // MessageId: STATUS_SPACES_NUMBER_OF_DATA_COPIES_INVALID
  406. //
  407. // MessageText:
  408. //
  409. // The number of data copies requested is outside of the supported range of values.
  410. //
  411. #define STATUS_SPACES_NUMBER_OF_DATA_COPIES_INVALID ((NTSTATUS)0xC0E70007L)
  412.  
  413.  
  414. //
  415. // MessageId: STATUS_SPACES_EXTENDED_ERROR
  416. //
  417. // MessageText:
  418. //
  419. // Extended error information is available.
  420. //
  421. #define STATUS_SPACES_EXTENDED_ERROR     ((NTSTATUS)0xC0E7000CL)
  422.  
  423. //
  424. // MessageId: STATUS_SPACES_PROVISIONING_TYPE_INVALID
  425. //
  426. // MessageText:
  427. //
  428. // The specified provisioning type is not valid.
  429. //
  430. #define STATUS_SPACES_PROVISIONING_TYPE_INVALID ((NTSTATUS)0xC0E7000DL)
  431.  
  432. //
  433. // MessageId: STATUS_SPACES_ALLOCATION_SIZE_INVALID
  434. //
  435. // MessageText:
  436. //
  437. // The allocation size is outside of the supported range of values.
  438. //
  439. #define STATUS_SPACES_ALLOCATION_SIZE_INVALID ((NTSTATUS)0xC0E7000EL)
  440.  
  441. //
  442. // MessageId: STATUS_SPACES_ENCLOSURE_AWARE_INVALID
  443. //
  444. // MessageText:
  445. //
  446. // Enclosure awareness is not supported for this virtual disk.
  447. //
  448. #define STATUS_SPACES_ENCLOSURE_AWARE_INVALID ((NTSTATUS)0xC0E7000FL)
  449.  
  450. //
  451. // MessageId: STATUS_SPACES_WRITE_CACHE_SIZE_INVALID
  452. //
  453. // MessageText:
  454. //
  455. // The write cache size is outside of the supported range of values.
  456. //
  457. #define STATUS_SPACES_WRITE_CACHE_SIZE_INVALID ((NTSTATUS)0xC0E70010L)
  458.  
  459. //
  460. // MessageId: STATUS_SPACES_NUMBER_OF_GROUPS_INVALID
  461. //
  462. // MessageText:
  463. //
  464. // The value for number of groups is outside of the supported range of values.
  465. //
  466. #define STATUS_SPACES_NUMBER_OF_GROUPS_INVALID ((NTSTATUS)0xC0E70011L)
  467.  
  468. //
  469. // MessageId: STATUS_SPACES_DRIVE_OPERATIONAL_STATE_INVALID
  470. //
  471. // MessageText:
  472. //
  473. // The OperationalState of the physical disk is invalid for this operation.
  474. //
  475. #define STATUS_SPACES_DRIVE_OPERATIONAL_STATE_INVALID ((NTSTATUS)0xC0E70012L)
  476.  
  477. //
  478. // MessageId: STATUS_SPACES_UPDATE_COLUMN_STATE
  479. //
  480. // MessageText:
  481. //
  482. // A column's state needs to be updated.
  483. //
  484. #define STATUS_SPACES_UPDATE_COLUMN_STATE ((NTSTATUS)0xC0E70013L)
  485.  
  486. //
  487. // MessageId: STATUS_SPACES_MAP_REQUIRED
  488. //
  489. // MessageText:
  490. //
  491. // An extent needs to be allocated.
  492. //
  493. #define STATUS_SPACES_MAP_REQUIRED       ((NTSTATUS)0xC0E70014L)
  494.  
  495. //
  496. // MessageId: STATUS_SPACES_UNSUPPORTED_VERSION
  497. //
  498. // MessageText:
  499. //
  500. // The metadata version is unsupported.
  501. //
  502. #define STATUS_SPACES_UNSUPPORTED_VERSION ((NTSTATUS)0xC0E70015L)
  503.  
  504. //
  505. // MessageId: STATUS_SPACES_CORRUPT_METADATA
  506. //
  507. // MessageText:
  508. //
  509. // The metadata read was corrupt.
  510. //
  511. #define STATUS_SPACES_CORRUPT_METADATA   ((NTSTATUS)0xC0E70016L)
  512.  
  513. //
  514. // MessageId: STATUS_SPACES_DRT_FULL
  515. //
  516. // MessageText:
  517. //
  518. // The DRT is full.
  519. //
  520. #define STATUS_SPACES_DRT_FULL           ((NTSTATUS)0xC0E70017L)
  521.  
  522. //
  523. // MessageId: STATUS_SPACES_INCONSISTENCY
  524. //
  525. // MessageText:
  526. //
  527. // An inconsistency was found.
  528. //
  529. #define STATUS_SPACES_INCONSISTENCY      ((NTSTATUS)0xC0E70018L)
  530.  
  531. //
  532. // MessageId: STATUS_SPACES_LOG_NOT_READY
  533. //
  534. // MessageText:
  535. //
  536. // The log is not ready.
  537. //
  538. #define STATUS_SPACES_LOG_NOT_READY      ((NTSTATUS)0xC0E70019L)
  539.  
  540. //
  541. // MessageId: STATUS_SPACES_NO_REDUNDANCY
  542. //
  543. // MessageText:
  544. //
  545. // No good copy of data was available.
  546. //
  547. #define STATUS_SPACES_NO_REDUNDANCY      ((NTSTATUS)0xC0E7001AL)
  548.  
  549. //
  550. // MessageId: STATUS_SPACES_DRIVE_NOT_READY
  551. //
  552. // MessageText:
  553. //
  554. // The drive is not ready.
  555. //
  556. #define STATUS_SPACES_DRIVE_NOT_READY    ((NTSTATUS)0xC0E7001BL)
  557.  
  558. //
  559. // MessageId: STATUS_SPACES_REPAIRED
  560. //
  561. // MessageText:
  562. //
  563. // The repair was successful.
  564. //
  565. #define STATUS_SPACES_REPAIRED           ((NTSTATUS)0x00E7001CL)
  566.  
  567. //
  568. // MessageId: STATUS_SPACES_PAUSE
  569. //
  570. // MessageText:
  571. //
  572. // The operation has been paused.
  573. //
  574. #define STATUS_SPACES_PAUSE              ((NTSTATUS)0x00E7001DL)
  575.  
  576. //
  577. // MessageId: STATUS_SPACES_COMPLETE
  578. //
  579. // MessageText:
  580. //
  581. // The operation is complete.
  582. //
  583. #define STATUS_SPACES_COMPLETE           ((NTSTATUS)0x00E7001EL)
  584.  
  585.  
  586. //
  587. // MessageId: STATUS_SVHDX_NO_INITIATOR
  588. //
  589. // MessageText:
  590. //
  591. // Invalid Shared VHDX open due to lack of initiator ID. Check for related Continuous Availability failures.
  592. //
  593. #define STATUS_SVHDX_NO_INITIATOR        ((NTSTATUS)0xC05CFF0BL)
  594.  
  595. //
  596. // MessageId: STATUS_VHDSET_BACKING_STORAGE_NOT_FOUND
  597. //
  598. // MessageText:
  599. //
  600. // The requested operation failed due to a missing backing storage file.
  601. //
  602. #define STATUS_VHDSET_BACKING_STORAGE_NOT_FOUND ((NTSTATUS)0xC05CFF0CL)
  603.  
  604. //
  605. // SMB status codes
  606. //
  607. //
  608. // MessageId: STATUS_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP
  609. //
  610. // MessageText:
  611. //
  612. // Failed to negotiate a preauthentication integrity hash function.
  613. //
  614. #define STATUS_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP ((NTSTATUS)0xC05D0000L)
  615.  
  616. //
  617. // MessageId: STATUS_SMB_BAD_CLUSTER_DIALECT
  618. //
  619. // MessageText:
  620. //
  621. // The current cluster functional level does not support this SMB dialect.
  622. //
  623. #define STATUS_SMB_BAD_CLUSTER_DIALECT   ((NTSTATUS)0xC05D0001L)
  624.  
  625. //
  626. // MessageId: STATUS_SMB_GUEST_LOGON_BLOCKED
  627. //
  628. // MessageText:
  629. //
  630. // Your PC's security settings don't allow you to access shared folders as a guest. Contact your system administrator for more information.
  631. //
  632. #define STATUS_SMB_GUEST_LOGON_BLOCKED   ((NTSTATUS)0xC05D0002L)
  633.  
  634. //
  635. // Embedded Security Core
  636. //
  637. // Reserved id values 0x0001 - 0x00FF
  638. //                    0x8xxx
  639. //                    0x4xxx
  640. //
  641. // MessageId: STATUS_SECCORE_INVALID_COMMAND
  642. //
  643. // MessageText:
  644. //
  645. // The command was not recognized by the security core
  646. //
  647. #define STATUS_SECCORE_INVALID_COMMAND   ((NTSTATUS)0xC0E80000L)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement