Author: akhaldi Date: Sat Feb 28 14:34:18 2015 New Revision: 66497
URL: http://svn.reactos.org/svn/reactos?rev=66497&view=rev Log: [PSDK] Add missing INIT_ONCE_STATIC_INIT and InitOnceExecuteOnce() definitions.
Modified: trunk/reactos/include/psdk/winbase.h
Modified: trunk/reactos/include/psdk/winbase.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winbase.h?rev=... ============================================================================== --- trunk/reactos/include/psdk/winbase.h [iso-8859-1] (original) +++ trunk/reactos/include/psdk/winbase.h [iso-8859-1] Sat Feb 28 14:34:18 2015 @@ -585,6 +585,8 @@ #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 @@
#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