[KERNEL32] Partially fix dll/win32/kernel32/client/vista.c compilation as NT6

CORE-12596
This commit is contained in:
Serge Gautherie 2019-08-15 15:42:34 +02:00 committed by Mark Jansen
parent ad89837c0e
commit 40ab30d6a0

View 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,