Author: akhaldi
Date: Sat Feb 28 15:41:27 2015
New Revision: 66499
URL:
http://svn.reactos.org/svn/reactos?rev=66499&view=rev
Log:
[PSDK] Add missing RTL_RUN_ONCE_INIT, RTL_RUN_ONCE_INIT_FN, PRTL_RUN_ONCE_INIT_FN and
RtlRunOnceComplete() definitions.
Modified:
trunk/reactos/include/psdk/winnt.h
Modified: trunk/reactos/include/psdk/winnt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnt.h?rev=6…
==============================================================================
--- trunk/reactos/include/psdk/winnt.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/winnt.h [iso-8859-1] Sat Feb 28 15:41:27 2015
@@ -4321,18 +4321,26 @@
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