mirror of
https://github.com/reactos/reactos.git
synced 2024-08-05 02:50:55 +00:00
- Add missing winnt.h definitions
svn path=/trunk/; revision=36127
This commit is contained in:
parent
b08929de56
commit
8f3d28e83a
|
@ -3167,6 +3167,49 @@ typedef union _SLIST_HEADER {
|
||||||
} SLIST_HEADER,*PSLIST_HEADER;
|
} SLIST_HEADER,*PSLIST_HEADER;
|
||||||
#endif /* !_SLIST_HEADER_ */
|
#endif /* !_SLIST_HEADER_ */
|
||||||
|
|
||||||
|
NTSYSAPI
|
||||||
|
VOID
|
||||||
|
NTAPI
|
||||||
|
RtlInitializeSListHead (
|
||||||
|
IN PSLIST_HEADER ListHead
|
||||||
|
);
|
||||||
|
|
||||||
|
NTSYSAPI
|
||||||
|
PSLIST_ENTRY
|
||||||
|
NTAPI
|
||||||
|
RtlFirstEntrySList (
|
||||||
|
IN const SLIST_HEADER *ListHead
|
||||||
|
);
|
||||||
|
|
||||||
|
NTSYSAPI
|
||||||
|
PSLIST_ENTRY
|
||||||
|
NTAPI
|
||||||
|
RtlInterlockedPopEntrySList (
|
||||||
|
IN PSLIST_HEADER ListHead
|
||||||
|
);
|
||||||
|
|
||||||
|
NTSYSAPI
|
||||||
|
PSLIST_ENTRY
|
||||||
|
NTAPI
|
||||||
|
RtlInterlockedPushEntrySList (
|
||||||
|
IN PSLIST_HEADER ListHead,
|
||||||
|
IN PSLIST_ENTRY ListEntry
|
||||||
|
);
|
||||||
|
|
||||||
|
NTSYSAPI
|
||||||
|
PSLIST_ENTRY
|
||||||
|
NTAPI
|
||||||
|
RtlInterlockedFlushSList (
|
||||||
|
IN PSLIST_HEADER ListHead
|
||||||
|
);
|
||||||
|
|
||||||
|
NTSYSAPI
|
||||||
|
WORD
|
||||||
|
NTAPI
|
||||||
|
RtlQueryDepthSList (
|
||||||
|
IN PSLIST_HEADER ListHead
|
||||||
|
);
|
||||||
|
|
||||||
/* FIXME: Please oh please stop including winnt.h from the DDK... */
|
/* FIXME: Please oh please stop including winnt.h from the DDK... */
|
||||||
#ifndef __NTDDK_H
|
#ifndef __NTDDK_H
|
||||||
typedef struct _RTL_CRITICAL_SECTION_DEBUG {
|
typedef struct _RTL_CRITICAL_SECTION_DEBUG {
|
||||||
|
@ -4344,9 +4387,6 @@ typedef enum _AUDIT_EVENT_TYPE {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (_WIN32_WINNT >= 0x0501)
|
#if (_WIN32_WINNT >= 0x0501)
|
||||||
typedef enum _HEAP_INFORMATION_CLASS {
|
|
||||||
HeapCompatibilityInformation
|
|
||||||
} HEAP_INFORMATION_CLASS;
|
|
||||||
typedef enum _ACTIVATION_CONTEXT_INFO_CLASS {
|
typedef enum _ACTIVATION_CONTEXT_INFO_CLASS {
|
||||||
ActivationContextBasicInformation = 1,
|
ActivationContextBasicInformation = 1,
|
||||||
ActivationContextDetailedInformation,
|
ActivationContextDetailedInformation,
|
||||||
|
@ -4463,6 +4503,56 @@ typedef OSVERSIONINFOEXA OSVERSIONINFOEX,*POSVERSIONINFOEX,*LPOSVERSIONINFOEX;
|
||||||
ULONGLONG WINAPI VerSetConditionMask(ULONGLONG,DWORD,BYTE);
|
ULONGLONG WINAPI VerSetConditionMask(ULONGLONG,DWORD,BYTE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
typedef enum _HEAP_INFORMATION_CLASS {
|
||||||
|
|
||||||
|
HeapCompatibilityInformation
|
||||||
|
|
||||||
|
} HEAP_INFORMATION_CLASS;
|
||||||
|
|
||||||
|
NTSYSAPI
|
||||||
|
DWORD
|
||||||
|
NTAPI
|
||||||
|
RtlSetHeapInformation (
|
||||||
|
IN PVOID HeapHandle,
|
||||||
|
IN HEAP_INFORMATION_CLASS HeapInformationClass,
|
||||||
|
IN PVOID HeapInformation OPTIONAL,
|
||||||
|
IN SIZE_T HeapInformationLength OPTIONAL
|
||||||
|
);
|
||||||
|
|
||||||
|
NTSYSAPI
|
||||||
|
DWORD
|
||||||
|
NTAPI
|
||||||
|
RtlQueryHeapInformation (
|
||||||
|
IN PVOID HeapHandle,
|
||||||
|
IN HEAP_INFORMATION_CLASS HeapInformationClass,
|
||||||
|
OUT PVOID HeapInformation OPTIONAL,
|
||||||
|
IN SIZE_T HeapInformationLength OPTIONAL,
|
||||||
|
OUT PSIZE_T ReturnLength OPTIONAL
|
||||||
|
);
|
||||||
|
|
||||||
|
//
|
||||||
|
// Multiple alloc-free APIS
|
||||||
|
//
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
NTAPI
|
||||||
|
RtlMultipleAllocateHeap (
|
||||||
|
IN PVOID HeapHandle,
|
||||||
|
IN DWORD Flags,
|
||||||
|
IN SIZE_T Size,
|
||||||
|
IN DWORD Count,
|
||||||
|
OUT PVOID * Array
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
NTAPI
|
||||||
|
RtlMultipleFreeHeap (
|
||||||
|
IN PVOID HeapHandle,
|
||||||
|
IN DWORD Flags,
|
||||||
|
IN DWORD Count,
|
||||||
|
OUT PVOID * Array
|
||||||
|
);
|
||||||
|
|
||||||
typedef enum _PROCESSOR_CACHE_TYPE {
|
typedef enum _PROCESSOR_CACHE_TYPE {
|
||||||
CacheUnified,
|
CacheUnified,
|
||||||
CacheInstruction,
|
CacheInstruction,
|
||||||
|
|
Loading…
Reference in a new issue