mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 17:01:53 +00:00
[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:
parent
4fe33fe9d5
commit
bc6c731db3
4 changed files with 55 additions and 48 deletions
|
@ -4693,6 +4693,46 @@ BOOLEAN
|
|||
NTAPI
|
||||
RtlGetNtProductType(_Out_ PNT_PRODUCT_TYPE ProductType);
|
||||
|
||||
#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA)
|
||||
//
|
||||
// Synchronization functions
|
||||
//
|
||||
NTSYSAPI
|
||||
VOID
|
||||
NTAPI
|
||||
RtlInitializeConditionVariable(
|
||||
_Out_ PRTL_CONDITION_VARIABLE ConditionVariable);
|
||||
|
||||
NTSYSAPI
|
||||
VOID
|
||||
NTAPI
|
||||
RtlWakeConditionVariable(
|
||||
_Inout_ PRTL_CONDITION_VARIABLE ConditionVariable);
|
||||
|
||||
NTSYSAPI
|
||||
VOID
|
||||
NTAPI
|
||||
RtlWakeAllConditionVariable(
|
||||
_Inout_ PRTL_CONDITION_VARIABLE ConditionVariable);
|
||||
|
||||
NTSYSAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RtlSleepConditionVariableCS(
|
||||
_Inout_ PRTL_CONDITION_VARIABLE ConditionVariable,
|
||||
_Inout_ PRTL_CRITICAL_SECTION CriticalSection,
|
||||
_In_opt_ PLARGE_INTEGER TimeOut);
|
||||
|
||||
NTSYSAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RtlSleepConditionVariableSRW(
|
||||
_Inout_ PRTL_CONDITION_VARIABLE ConditionVariable,
|
||||
_Inout_ PRTL_SRWLOCK SRWLock,
|
||||
_In_opt_ PLARGE_INTEGER TimeOut,
|
||||
_In_ ULONG Flags);
|
||||
#endif
|
||||
|
||||
//
|
||||
// Secure Memory Functions
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue