Author: fireball
Date: Tue Aug 11 15:01:42 2009
New Revision: 42612
URL:
http://svn.reactos.org/svn/reactos?rev=42612&view=rev
Log:
- Get NtUnloadKey2 back to old behavior until its caller learns to properly handle various
error codes.
See issue #4787 for more details.
Modified:
trunk/reactos/ntoskrnl/config/ntapi.c
Modified: trunk/reactos/ntoskrnl/config/ntapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/ntapi.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/config/ntapi.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/ntapi.c [iso-8859-1] Tue Aug 11 15:01:42 2009
@@ -1130,6 +1130,7 @@
NtUnloadKey2(IN POBJECT_ATTRIBUTES TargetKey,
IN ULONG Flags)
{
+#if 0
NTSTATUS Status = STATUS_SUCCESS;
OBJECT_ATTRIBUTES ObjectAttributes;
UNICODE_STRING ObjectName;
@@ -1290,6 +1291,10 @@
/* Return status */
return Status;
+#else
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+#endif
}
NTSTATUS