winnt.h: Add defines for SLIST_HEADER.

This commit is contained in:
Mike McCormack 2007-01-26 23:21:41 +09:00 committed by Alexandre Julliard
parent 1ca4ddbd09
commit a425bfc622
1 changed files with 29 additions and 0 deletions

View File

@ -593,6 +593,35 @@ typedef struct _SINGLE_LIST_ENTRY {
struct _SINGLE_LIST_ENTRY *Next;
} SINGLE_LIST_ENTRY, *PSINGLE_LIST_ENTRY;
#ifdef _WIN64
typedef struct _SLIST_ENTRY *PSLIST_ENTRY;
typedef struct _SLIST_ENTRY {
PSLIST_ENTRY Next;
};
typedef struct _SLIST_HEADER {
ULONGLONG Alignment;
ULONGLONG Region;
} SLIST_HEADER, *PSLIST_HEADER;
#else
#define SLIST_ENTRY SINGLE_LIST_ENTRY
#define _SLIST_ENTRY _SINGLE_LIST_ENTRY
#define PSLIST_ENTRY PSINGLE_LIST_ENTRY
typedef union _SLIST_HEADER {
ULONGLONG Alignment;
struct {
SLIST_ENTRY Next;
WORD Depth;
WORD Sequence;
};
} SLIST_HEADER, *PSLIST_HEADER;
#endif
/* Heap flags */
#define HEAP_NO_SERIALIZE 0x00000001