Author: tfaber
Date: Sat Jun 17 20:26:53 2017
New Revision: 75081
URL:
http://svn.reactos.org/svn/reactos?rev=75081&view=rev
Log:
[PSDK]
- Properly add NTSTATUS code
Modified:
trunk/reactos/sdk/include/psdk/ntstatus.h
trunk/reactos/sdk/include/reactos/mc/ntstatus.mc
trunk/rostests/apitests/ntdll/NtLoadUnloadKey.c
Modified: trunk/reactos/sdk/include/psdk/ntstatus.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/ntstatus.…
==============================================================================
--- trunk/reactos/sdk/include/psdk/ntstatus.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/ntstatus.h [iso-8859-1] Sat Jun 17 20:26:53 2017
@@ -945,6 +945,7 @@
#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)
Modified: trunk/reactos/sdk/include/reactos/mc/ntstatus.mc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/reactos/mc/nts…
==============================================================================
--- trunk/reactos/sdk/include/reactos/mc/ntstatus.mc [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/reactos/mc/ntstatus.mc [iso-8859-1] Sat Jun 17 20:26:53
2017
@@ -4563,6 +4563,14 @@
The domain controller does not support the Kerberos Service for User protocol.
.
+MessageId=0x425
+Severity=Error
+Facility=System
+SymbolicName=STATUS_HIVE_UNLOADED
+Language=English
+The operation is not valid because the registry hive was unloaded.
+.
+
MessageId=0x9898
Severity=Error
Facility=System
Modified: trunk/rostests/apitests/ntdll/NtLoadUnloadKey.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ntdll/NtLoadUnlo…
==============================================================================
--- trunk/rostests/apitests/ntdll/NtLoadUnloadKey.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/ntdll/NtLoadUnloadKey.c [iso-8859-1] Sat Jun 17 20:26:53 2017
@@ -23,9 +23,6 @@
#define REG_OPENED_EXISTING_KEY 2
#define REG_FORCE_UNLOAD 1
-
-/* Vista+ ntstatus.h */
-#define STATUS_HIVE_UNLOADED ((NTSTATUS)0xC0000425)
#if 1