[KERNEL32] Partially fix dll/win32/kernel32/client/vista.c compilation as NT6
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Thu, 15 Aug 2019 13:42:34 +0000 (15:42 +0200)
committerMark Jansen <mark.jansen@reactos.org>
Thu, 15 Aug 2019 13:42:34 +0000 (15:42 +0200)
CORE-12596

dll/win32/kernel32/client/vista.c

index d56c7ae..8fa60a9 100644 (file)
@@ -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,