winnt.h: Correct declaration of SLIST_HEADER and SLIST_ENTRY for Win64.

This commit is contained in:
Kevin Koltzau 2007-02-07 22:58:52 -05:00 committed by Alexandre Julliard
parent dc600ac53e
commit 5f8659b186
1 changed files with 25 additions and 6 deletions

View File

@ -595,14 +595,33 @@ typedef struct _SINGLE_LIST_ENTRY {
#ifdef _WIN64
typedef struct _SLIST_ENTRY *PSLIST_ENTRY;
typedef struct _SLIST_ENTRY {
typedef struct DECLSPEC_ALIGN(16) _SLIST_ENTRY *PSLIST_ENTRY;
typedef struct DECLSPEC_ALIGN(16) _SLIST_ENTRY {
PSLIST_ENTRY Next;
};
} SLIST_ENTRY;
typedef struct _SLIST_HEADER {
ULONGLONG Alignment;
ULONGLONG Region;
typedef union DECLSPEC_ALIGN(16) _SLIST_HEADER {
struct {
ULONGLONG Alignment;
ULONGLONG Region;
};
struct {
ULONGLONG Depth:16;
ULONGLONG Sequence:9;
ULONGLONG NextEntry:39;
ULONGLONG HeaderType:1;
ULONGLONG Init:1;
ULONGLONG Reserved:59;
ULONGLONG Region:3;
} Header8;
struct {
ULONGLONG Depth:16;
ULONGLONG Sequence:48;
ULONGLONG HeaderType:1;
ULONGLONG Init:1;
ULONGLONG Reserved:2;
ULONGLONG NextEntry:60;
} Header16;
} SLIST_HEADER, *PSLIST_HEADER;
#else