https://git.reactos.org/?p=reactos.git;a=commitdiff;h=40ab30d6a0b6fccdf2aa4…
commit 40ab30d6a0b6fccdf2aa4f55b674f74b5f4e5592
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Thu Aug 15 15:42:34 2019 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Thu Aug 15 15:42:34 2019 +0200
[KERNEL32] Partially fix dll/win32/kernel32/client/vista.c compilation as NT6
CORE-12596
---
dll/win32/kernel32/client/vista.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dll/win32/kernel32/client/vista.c b/dll/win32/kernel32/client/vista.c
index d56c7ae7a62..8fa60a995cd 100644
--- a/dll/win32/kernel32/client/vista.c
+++ b/dll/win32/kernel32/client/vista.c
@@ -39,7 +39,8 @@ SleepConditionVariableCS(IN OUT PCONDITION_VARIABLE ConditionVariable,
IN OUT PCRITICAL_SECTION CriticalSection,
IN DWORD dwMilliseconds)
{
- NTSTATUS Status = 0;
+ NTSTATUS Status = STATUS_SUCCESS;
+#if 0
LARGE_INTEGER TimeOut;
PLARGE_INTEGER TimeOutPtr = NULL;
@@ -49,7 +50,6 @@ SleepConditionVariableCS(IN OUT PCONDITION_VARIABLE ConditionVariable,
TimeOutPtr = &TimeOut;
}
-#if 0
Status = RtlSleepConditionVariableCS((PRTL_CONDITION_VARIABLE)ConditionVariable,
(PRTL_CRITICAL_SECTION)CriticalSection,
TimeOutPtr);
@@ -74,7 +74,8 @@ SleepConditionVariableSRW(IN OUT PCONDITION_VARIABLE ConditionVariable,
IN DWORD dwMilliseconds,
IN ULONG Flags)
{
- NTSTATUS Status = 0;
+ NTSTATUS Status = STATUS_SUCCESS;
+#if 0
LARGE_INTEGER TimeOut;
PLARGE_INTEGER TimeOutPtr = NULL;
@@ -84,7 +85,6 @@ SleepConditionVariableSRW(IN OUT PCONDITION_VARIABLE ConditionVariable,
TimeOutPtr = &TimeOut;
}
-#if 0
Status = RtlSleepConditionVariableSRW((PRTL_CONDITION_VARIABLE)ConditionVariable,
(PRTL_SRWLOCK)SRWLock,
TimeOutPtr,