[PSDK]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 17 Jun 2017 20:26:53 +0000 (20:26 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 17 Jun 2017 20:26:53 +0000 (20:26 +0000)
- Properly add NTSTATUS code

svn path=/trunk/; revision=75081

reactos/sdk/include/psdk/ntstatus.h
reactos/sdk/include/reactos/mc/ntstatus.mc
rostests/apitests/ntdll/NtLoadUnloadKey.c

index 06e1da9..a955263 100644 (file)
@@ -945,6 +945,7 @@ extern "C" {
 #define STATUS_INVALID_CRUNTIME_PARAMETER       ((NTSTATUS)0xC0000417)
 #define STATUS_ASSERTION_FAILURE                ((NTSTATUS)0xC0000420L)
 #define STATUS_CALLBACK_POP_STACK               ((NTSTATUS)0xC0000423)
+#define STATUS_HIVE_UNLOADED                    ((NTSTATUS)0xC0000425)
 #define STATUS_ELEVATION_REQUIRED               ((NTSTATUS)0xC000042C)
 #define STATUS_ALREADY_REGISTERED               ((NTSTATUS)0xC0000718)
 #define STATUS_WOW_ASSERTION                    ((NTSTATUS)0xC0009898)
index a41751e..f2b0509 100644 (file)
@@ -4563,6 +4563,14 @@ Language=English
 The domain controller does not support the Kerberos Service for User protocol.\r
 .\r
 \r
+MessageId=0x425\r
+Severity=Error\r
+Facility=System\r
+SymbolicName=STATUS_HIVE_UNLOADED\r
+Language=English\r
+The operation is not valid because the registry hive was unloaded.\r
+.\r
+\r
 MessageId=0x9898\r
 Severity=Error\r
 Facility=System\r
index 011d530..ed5c14a 100644 (file)
@@ -24,9 +24,6 @@
 
 #define REG_FORCE_UNLOAD        1
 
-/* Vista+ ntstatus.h */
-#define STATUS_HIVE_UNLOADED    ((NTSTATUS)0xC0000425)
-
 #if 1
 
     #define NDEBUG