mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 02:41:22 +00:00
[XDK] Fix / improve some definitions
This commit is contained in:
parent
7b38f80119
commit
d9cb169920
3 changed files with 22 additions and 34 deletions
|
@ -296,7 +296,7 @@ typedef LPOSVERSIONINFOA LPOSVERSIONINFO;
|
||||||
#endif /* UNICODE */
|
#endif /* UNICODE */
|
||||||
|
|
||||||
$endif (_WDMDDK_)
|
$endif (_WDMDDK_)
|
||||||
$if (_NTDDK_)
|
$if (_NTDDK_ || _WINNT_)
|
||||||
|
|
||||||
#ifndef _RTL_RUN_ONCE_DEF
|
#ifndef _RTL_RUN_ONCE_DEF
|
||||||
#define _RTL_RUN_ONCE_DEF
|
#define _RTL_RUN_ONCE_DEF
|
||||||
|
@ -309,6 +309,26 @@ $if (_NTDDK_)
|
||||||
|
|
||||||
#define RTL_RUN_ONCE_CTX_RESERVED_BITS 2
|
#define RTL_RUN_ONCE_CTX_RESERVED_BITS 2
|
||||||
|
|
||||||
|
typedef union _RTL_RUN_ONCE {
|
||||||
|
PVOID Ptr;
|
||||||
|
} RTL_RUN_ONCE, *PRTL_RUN_ONCE;
|
||||||
|
|
||||||
|
typedef
|
||||||
|
_Function_class_(RTL_RUN_ONCE_INIT_FN)
|
||||||
|
_IRQL_requires_same_
|
||||||
|
ULONG
|
||||||
|
NTAPI
|
||||||
|
RTL_RUN_ONCE_INIT_FN(
|
||||||
|
_Inout_ PRTL_RUN_ONCE RunOnce,
|
||||||
|
_Inout_opt_ PVOID Parameter,
|
||||||
|
_Inout_opt_ PVOID* Context);
|
||||||
|
typedef RTL_RUN_ONCE_INIT_FN* PRTL_RUN_ONCE_INIT_FN;
|
||||||
|
|
||||||
|
#endif /* _RTL_RUN_ONCE_DEF */
|
||||||
|
|
||||||
|
$endif(_NTDDK_ || _WINNT_)
|
||||||
|
$if(_NTDDK_)
|
||||||
|
|
||||||
#define RTL_HASH_ALLOCATED_HEADER 0x00000001
|
#define RTL_HASH_ALLOCATED_HEADER 0x00000001
|
||||||
|
|
||||||
#define RTL_HASH_RESERVED_SIGNATURE 0
|
#define RTL_HASH_RESERVED_SIGNATURE 0
|
||||||
|
@ -345,20 +365,6 @@ $if (_NTDDK_)
|
||||||
#define VER_PLATFORM_WIN32_WINDOWS 1
|
#define VER_PLATFORM_WIN32_WINDOWS 1
|
||||||
#define VER_PLATFORM_WIN32_NT 2
|
#define VER_PLATFORM_WIN32_NT 2
|
||||||
|
|
||||||
typedef union _RTL_RUN_ONCE {
|
|
||||||
PVOID Ptr;
|
|
||||||
} RTL_RUN_ONCE, *PRTL_RUN_ONCE;
|
|
||||||
|
|
||||||
_Function_class_(RTL_RUN_ONCE_INIT_FN)
|
|
||||||
_IRQL_requires_same_
|
|
||||||
typedef ULONG /* LOGICAL */
|
|
||||||
(NTAPI *PRTL_RUN_ONCE_INIT_FN) (
|
|
||||||
_Inout_ PRTL_RUN_ONCE RunOnce,
|
|
||||||
_Inout_opt_ PVOID Parameter,
|
|
||||||
_Inout_opt_ PVOID *Context);
|
|
||||||
|
|
||||||
#endif /* _RTL_RUN_ONCE_DEF */
|
|
||||||
|
|
||||||
typedef enum _TABLE_SEARCH_RESULT {
|
typedef enum _TABLE_SEARCH_RESULT {
|
||||||
TableEmptyTree,
|
TableEmptyTree,
|
||||||
TableFoundNode,
|
TableFoundNode,
|
||||||
|
|
|
@ -74,6 +74,7 @@ $include(ntbasedef.h)
|
||||||
$include(interlocked.h)
|
$include(interlocked.h)
|
||||||
$include(ketypes.h)
|
$include(ketypes.h)
|
||||||
$include(extypes.h)
|
$include(extypes.h)
|
||||||
|
$include(rtltypes.h)
|
||||||
$include(winnt_old.h)
|
$include(winnt_old.h)
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -2749,25 +2749,6 @@ NTAPI
|
||||||
RtlQueryDepthSList(
|
RtlQueryDepthSList(
|
||||||
_In_ PSLIST_HEADER ListHead);
|
_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_CTX_RESERVED_BITS 2
|
|
||||||
|
|
||||||
#define RTL_RUN_ONCE_INIT {0}
|
|
||||||
|
|
||||||
typedef union _RTL_RUN_ONCE {
|
|
||||||
PVOID Ptr;
|
|
||||||
} RTL_RUN_ONCE, *PRTL_RUN_ONCE;
|
|
||||||
|
|
||||||
typedef DWORD WINAPI RTL_RUN_ONCE_INIT_FN(PRTL_RUN_ONCE, PVOID, PVOID*);
|
|
||||||
typedef RTL_RUN_ONCE_INIT_FN *PRTL_RUN_ONCE_INIT_FN;
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define RTL_CONDITION_VARIABLE_INIT {0}
|
#define RTL_CONDITION_VARIABLE_INIT {0}
|
||||||
#define RTL_CONDITION_VARIABLE_LOCKMODE_SHARED 0x1
|
#define RTL_CONDITION_VARIABLE_LOCKMODE_SHARED 0x1
|
||||||
|
|
Loading…
Reference in a new issue