Fix header dependency issues
This commit is contained in:
@@ -81,13 +81,6 @@ typedef struct _GUID
|
|||||||
UCHAR Data4[8];
|
UCHAR Data4[8];
|
||||||
} GUID, *PGUID;
|
} GUID, *PGUID;
|
||||||
|
|
||||||
/* Double linked list structure definition */
|
|
||||||
typedef struct _LIST_ENTRY
|
|
||||||
{
|
|
||||||
PLIST_ENTRY Flink;
|
|
||||||
PLIST_ENTRY Blink;
|
|
||||||
} LIST_ENTRY, *PLIST_ENTRY;
|
|
||||||
|
|
||||||
/* 32-bit double linked list structure definition */
|
/* 32-bit double linked list structure definition */
|
||||||
typedef struct _LIST_ENTRY32
|
typedef struct _LIST_ENTRY32
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -331,6 +331,7 @@ typedef struct _POOL_TRACKING_BIG_ALLOCATIONS POOL_TRACKING_BIG_ALLOCATIONS, *PP
|
|||||||
typedef struct _POOL_TRACKING_TABLE POOL_TRACKING_TABLE, *PPOOL_TRACKING_TABLE;
|
typedef struct _POOL_TRACKING_TABLE POOL_TRACKING_TABLE, *PPOOL_TRACKING_TABLE;
|
||||||
typedef struct _PROCESSOR_IDENTITY PROCESSOR_IDENTITY, *PPROCESSOR_IDENTITY;
|
typedef struct _PROCESSOR_IDENTITY PROCESSOR_IDENTITY, *PPROCESSOR_IDENTITY;
|
||||||
typedef struct _PROCESSOR_POWER_STATE PROCESSOR_POWER_STATE, *PPROCESSOR_POWER_STATE;
|
typedef struct _PROCESSOR_POWER_STATE PROCESSOR_POWER_STATE, *PPROCESSOR_POWER_STATE;
|
||||||
|
typedef struct _QUAD QUAD, *PQUAD;
|
||||||
typedef struct _RTL_BALANCED_NODE RTL_BALANCED_NODE, *PRTL_BALANCED_NODE;
|
typedef struct _RTL_BALANCED_NODE RTL_BALANCED_NODE, *PRTL_BALANCED_NODE;
|
||||||
typedef struct _RTL_BITMAP RTL_BITMAP, *PRTL_BITMAP;
|
typedef struct _RTL_BITMAP RTL_BITMAP, *PRTL_BITMAP;
|
||||||
typedef struct _RTL_PRINT_CONTEXT RTL_PRINT_CONTEXT, *PRTL_PRINT_CONTEXT;
|
typedef struct _RTL_PRINT_CONTEXT RTL_PRINT_CONTEXT, *PRTL_PRINT_CONTEXT;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
#include <xttarget.h>
|
#include <xttarget.h>
|
||||||
#include <xtcompat.h>
|
#include <xtcompat.h>
|
||||||
|
#include <xtstruct.h>
|
||||||
|
|
||||||
|
|
||||||
/* C/C++ specific code */
|
/* C/C++ specific code */
|
||||||
@@ -156,6 +157,41 @@ typedef LPCUWSTR PCUTSTR, LPCUTSTR;
|
|||||||
/* Variadic ABI types */
|
/* Variadic ABI types */
|
||||||
typedef __builtin_va_list VA_LIST, *PVA_LIST;
|
typedef __builtin_va_list VA_LIST, *PVA_LIST;
|
||||||
|
|
||||||
|
/* ANSI string structure */
|
||||||
|
typedef struct _ANSI_STRING
|
||||||
|
{
|
||||||
|
USHORT Length;
|
||||||
|
USHORT MaximumLength;
|
||||||
|
PSTR Buffer;
|
||||||
|
} ANSI_STRING, *PANSI_STRING;
|
||||||
|
typedef const ANSI_STRING *PCANSI_STRING;
|
||||||
|
|
||||||
|
/* 32-bit ANSI string structure */
|
||||||
|
typedef struct _ANSI_STRING32
|
||||||
|
{
|
||||||
|
USHORT Length;
|
||||||
|
USHORT MaximumLength;
|
||||||
|
ULONG Buffer;
|
||||||
|
} ANSI_STRING32, *PANSI_STRING32;
|
||||||
|
typedef const ANSI_STRING32 *PCANSI_STRING32;
|
||||||
|
|
||||||
|
/* 64-bit ANSI string structure */
|
||||||
|
typedef struct _ANSI_STRING64
|
||||||
|
{
|
||||||
|
USHORT Length;
|
||||||
|
USHORT MaximumLength;
|
||||||
|
ULONGLONG Buffer;
|
||||||
|
} ANSI_STRING64, *PANSI_STRING64;
|
||||||
|
typedef const ANSI_STRING64 *PCANSI_STRING64;
|
||||||
|
|
||||||
|
/* Constant counted string structure */
|
||||||
|
typedef struct _CSTRING
|
||||||
|
{
|
||||||
|
USHORT Length;
|
||||||
|
USHORT MaximumLength;
|
||||||
|
PCCHAR Buffer;
|
||||||
|
} CSTRING, *PCSTRING;
|
||||||
|
|
||||||
/* 128-bit floats structure */
|
/* 128-bit floats structure */
|
||||||
typedef struct _FLOAT128
|
typedef struct _FLOAT128
|
||||||
{
|
{
|
||||||
@@ -191,21 +227,18 @@ typedef union _LARGE_INTEGER
|
|||||||
LONGLONG QuadPart;
|
LONGLONG QuadPart;
|
||||||
} LARGE_INTEGER, *PLARGE_INTEGER;
|
} LARGE_INTEGER, *PLARGE_INTEGER;
|
||||||
|
|
||||||
/* 64-bit unsigned integer union */
|
/* Double linked list structure definition */
|
||||||
typedef union _ULARGE_INTEGER
|
typedef struct _LIST_ENTRY
|
||||||
{
|
{
|
||||||
struct
|
PLIST_ENTRY Flink;
|
||||||
{
|
PLIST_ENTRY Blink;
|
||||||
ULONG LowPart;
|
} LIST_ENTRY, *PLIST_ENTRY;
|
||||||
ULONG HighPart;
|
|
||||||
};
|
/* Quadruple-word alignment structure definition */
|
||||||
struct
|
typedef struct _QUAD
|
||||||
{
|
{
|
||||||
ULONG LowPart;
|
unsigned long long Alignment;
|
||||||
ULONG HighPart;
|
} QUAD, *PQUAD;
|
||||||
} u;
|
|
||||||
ULONGLONG QuadPart;
|
|
||||||
} ULARGE_INTEGER, *PULARGE_INTEGER;
|
|
||||||
|
|
||||||
/* Counted string structure */
|
/* Counted string structure */
|
||||||
typedef struct _STRING
|
typedef struct _STRING
|
||||||
@@ -231,40 +264,21 @@ typedef struct _STRING64
|
|||||||
ULONGLONG Buffer;
|
ULONGLONG Buffer;
|
||||||
} STRING64, *PSTRING64;
|
} STRING64, *PSTRING64;
|
||||||
|
|
||||||
/* Constant counted string structure */
|
/* 64-bit unsigned integer union */
|
||||||
typedef struct _CSTRING
|
typedef union _ULARGE_INTEGER
|
||||||
{
|
{
|
||||||
USHORT Length;
|
struct
|
||||||
USHORT MaximumLength;
|
{
|
||||||
PCCHAR Buffer;
|
ULONG LowPart;
|
||||||
} CSTRING, *PCSTRING;
|
ULONG HighPart;
|
||||||
|
};
|
||||||
/* ANSI string structure */
|
struct
|
||||||
typedef struct _ANSI_STRING
|
{
|
||||||
{
|
ULONG LowPart;
|
||||||
USHORT Length;
|
ULONG HighPart;
|
||||||
USHORT MaximumLength;
|
} u;
|
||||||
PSTR Buffer;
|
ULONGLONG QuadPart;
|
||||||
} ANSI_STRING, *PANSI_STRING;
|
} ULARGE_INTEGER, *PULARGE_INTEGER;
|
||||||
typedef const ANSI_STRING *PCANSI_STRING;
|
|
||||||
|
|
||||||
/* 32-bit ANSI string structure */
|
|
||||||
typedef struct _ANSI_STRING32
|
|
||||||
{
|
|
||||||
USHORT Length;
|
|
||||||
USHORT MaximumLength;
|
|
||||||
ULONG Buffer;
|
|
||||||
} ANSI_STRING32, *PANSI_STRING32;
|
|
||||||
typedef const ANSI_STRING32 *PCANSI_STRING32;
|
|
||||||
|
|
||||||
/* 64-bit ANSI string structure */
|
|
||||||
typedef struct _ANSI_STRING64
|
|
||||||
{
|
|
||||||
USHORT Length;
|
|
||||||
USHORT MaximumLength;
|
|
||||||
ULONGLONG Buffer;
|
|
||||||
} ANSI_STRING64, *PANSI_STRING64;
|
|
||||||
typedef const ANSI_STRING64 *PCANSI_STRING64;
|
|
||||||
|
|
||||||
/* UNICODE string structure */
|
/* UNICODE string structure */
|
||||||
typedef struct _UNICODE_STRING
|
typedef struct _UNICODE_STRING
|
||||||
|
|||||||
Reference in New Issue
Block a user