[PSDK] Add missing INIT_ONCE_STATIC_INIT and InitOnceExecuteOnce() definitions.

svn path=/trunk/; revision=66497
This commit is contained in:
Amine Khaldi 2015-02-28 14:34:18 +00:00
parent 383d18186d
commit eef5ed99c0

View file

@ -585,6 +585,8 @@ extern "C" {
#define CONDITION_VARIABLE_LOCKMODE_SHARED RTL_CONDITION_VARIABLE_LOCKMODE_SHARED
#endif
#define INIT_ONCE_STATIC_INIT RTL_RUN_ONCE_INIT
#ifndef RC_INVOKED
#ifndef _FILETIME_
@ -3772,6 +3774,15 @@ CopyFile2(
#endif /* _WIN32_WINNT >= 0x0601 */
WINBASEAPI
BOOL
WINAPI
InitOnceExecuteOnce(
_Inout_ PINIT_ONCE InitOnce,
_In_ __callback PINIT_ONCE_FN InitFn,
_Inout_opt_ PVOID Parameter,
_Outptr_opt_result_maybenull_ LPVOID *Context);
#ifdef _MSC_VER
#pragma warning(pop)
#endif