[KERNEL32_VISTA][SDK] Move SRW definitions to NDK (#6806)

Move SRW and condition variable definitions out of kernel32_vista and into the NDK.

Essentially grabbed from PR #1190
Trying to reduce diff needed for Rtl/ntdll sync.
This commit is contained in:
Justin Miller 2024-06-11 20:03:57 +00:00 committed by GitHub
parent 4fe33fe9d5
commit bc6c731db3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 55 additions and 48 deletions

View file

@ -499,7 +499,7 @@ NTSTATUS
NTAPI
RtlSleepConditionVariableCS(IN OUT PRTL_CONDITION_VARIABLE ConditionVariable,
IN OUT PRTL_CRITICAL_SECTION CriticalSection,
IN const LARGE_INTEGER * TimeOut OPTIONAL)
IN PLARGE_INTEGER TimeOut OPTIONAL)
{
return InternalSleep(ConditionVariable,
CriticalSection,
@ -512,7 +512,7 @@ NTSTATUS
NTAPI
RtlSleepConditionVariableSRW(IN OUT PRTL_CONDITION_VARIABLE ConditionVariable,
IN OUT PRTL_SRWLOCK SRWLock,
IN const LARGE_INTEGER * TimeOut OPTIONAL,
IN PLARGE_INTEGER TimeOut OPTIONAL,
IN ULONG Flags)
{
return InternalSleep(ConditionVariable,