Author: tfaber
Date: Wed Aug 24 12:31:08 2011
New Revision: 53413
URL:
http://svn.reactos.org/svn/reactos?rev=53413&view=rev
Log:
[NTOSKRNL]
- Do not return an NTSTATUS from KeSynchronizeExecution, which returns BOOLEAN
[KERNEL32]
- Do not return an NTSTATUS from BasepGetModuleHandleExW
Found by MSVC.
Modified:
trunk/reactos/dll/win32/kernel32/client/loader.c
trunk/reactos/ntoskrnl/ke/i386/irqobj.c
Modified: trunk/reactos/dll/win32/kernel32/client/loader.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/loader.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/loader.c [iso-8859-1] Wed Aug 24 12:31:08
2011
@@ -818,7 +818,7 @@
/* Fail */
BaseSetLastNTError(Status);
if (phModule) *phModule = 0;
- return Status;
+ return NT_SUCCESS(Status);
}
}
Modified: trunk/reactos/ntoskrnl/ke/i386/irqobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/irqobj.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/irqobj.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/irqobj.c [iso-8859-1] Wed Aug 24 12:31:08 2011
@@ -591,7 +591,7 @@
KfLowerIrql(OldIrql);
/* Return status */
- return Status;
+ return NT_SUCCESS(Status);
}
/* EOF */