mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
[PSDK] Add missing RTL_RUN_ONCE_INIT, RTL_RUN_ONCE_INIT_FN, PRTL_RUN_ONCE_INIT_FN and RtlRunOnceComplete() definitions.
svn path=/trunk/; revision=66499
This commit is contained in:
parent
a492e11380
commit
bf1e0d3a4a
|
@ -4321,18 +4321,26 @@ NTAPI
|
|||
RtlQueryDepthSList(
|
||||
_In_ PSLIST_HEADER ListHead);
|
||||
|
||||
#ifndef _RTL_RUN_ONCE_DEF
|
||||
#define _RTL_RUN_ONCE_DEF
|
||||
|
||||
#define RTL_RUN_ONCE_CHECK_ONLY 0x00000001UL
|
||||
#define RTL_RUN_ONCE_ASYNC 0x00000002UL
|
||||
#define RTL_RUN_ONCE_INIT_FAILED 0x00000004UL
|
||||
|
||||
#define RTL_RUN_ONCE_INIT {0}
|
||||
|
||||
typedef union _RTL_RUN_ONCE {
|
||||
PVOID Ptr;
|
||||
} RTL_RUN_ONCE, *PRTL_RUN_ONCE;
|
||||
|
||||
#endif
|
||||
typedef DWORD WINAPI RTL_RUN_ONCE_INIT_FN(PRTL_RUN_ONCE, PVOID, PVOID*);
|
||||
typedef RTL_RUN_ONCE_INIT_FN *PRTL_RUN_ONCE_INIT_FN;
|
||||
|
||||
NTSYSAPI
|
||||
DWORD
|
||||
WINAPI
|
||||
RtlRunOnceComplete(
|
||||
PRTL_RUN_ONCE,
|
||||
DWORD,
|
||||
PVOID);
|
||||
|
||||
#define RTL_CONDITION_VARIABLE_INIT {0}
|
||||
#define RTL_CONDITION_VARIABLE_LOCKMODE_SHARED 0x1
|
||||
|
|
Loading…
Reference in a new issue