mirror of
https://github.com/reactos/reactos.git
synced 2025-06-26 02:09:43 +00:00
[KERNEL32][RTL] Implement One-Time initialization API and improve RTL support (#5046)
* [KERNEL32][RTL] Implement One-Time initialization API and improve RTL support
This commit is contained in:
parent
583be404dd
commit
f491d7cc99
12 changed files with 472 additions and 65 deletions
|
@ -4961,6 +4961,43 @@ RtlGetNativeSystemInformation(
|
|||
_Out_opt_ PULONG ReturnLength
|
||||
);
|
||||
|
||||
#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA) || (DLL_EXPORT_VERSION >= _WIN32_WINNT_VISTA)
|
||||
|
||||
NTSYSAPI
|
||||
VOID
|
||||
NTAPI
|
||||
RtlRunOnceInitialize(
|
||||
_Out_ PRTL_RUN_ONCE RunOnce);
|
||||
|
||||
_Maybe_raises_SEH_exception_
|
||||
NTSYSAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RtlRunOnceExecuteOnce(
|
||||
_Inout_ PRTL_RUN_ONCE RunOnce,
|
||||
_In_ __inner_callback PRTL_RUN_ONCE_INIT_FN InitFn,
|
||||
_Inout_opt_ PVOID Parameter,
|
||||
_Outptr_opt_result_maybenull_ PVOID *Context);
|
||||
|
||||
_Must_inspect_result_
|
||||
NTSYSAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RtlRunOnceBeginInitialize(
|
||||
_Inout_ PRTL_RUN_ONCE RunOnce,
|
||||
_In_ ULONG Flags,
|
||||
_Outptr_opt_result_maybenull_ PVOID *Context);
|
||||
|
||||
NTSYSAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RtlRunOnceComplete(
|
||||
_Inout_ PRTL_RUN_ONCE RunOnce,
|
||||
_In_ ULONG Flags,
|
||||
_In_opt_ PVOID Context);
|
||||
|
||||
#endif
|
||||
|
||||
#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA) || (defined(__REACTOS__) && defined(_NTDLLBUILD_))
|
||||
/* Put NTSYSAPI back when this will be really exported. Only statically linked for now */
|
||||
// NTSYSAPI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue