mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +00:00
[NTOSKRNL]
- Do not return an NTSTATUS from KeSynchronizeExecution, which returns BOOLEAN [KERNEL32] - Do not return an NTSTATUS from BasepGetModuleHandleExW Found by MSVC. svn path=/trunk/; revision=53413
This commit is contained in:
@@ -818,7 +818,7 @@ BasepGetModuleHandleExW(BOOLEAN NoLock, DWORD dwPublicFlags, LPCWSTR lpwModuleNa
|
||||
/* Fail */
|
||||
BaseSetLastNTError(Status);
|
||||
if (phModule) *phModule = 0;
|
||||
return Status;
|
||||
return NT_SUCCESS(Status);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -591,7 +591,7 @@ KeSynchronizeExecution(IN OUT PKINTERRUPT Interrupt,
|
||||
KfLowerIrql(OldIrql);
|
||||
|
||||
/* Return status */
|
||||
return Status;
|
||||
return NT_SUCCESS(Status);
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
||||
Reference in New Issue
Block a user