Extend unnamed union/struct by __GNU_EXTENSION in wdm.h

svn path=/branches/header-work/; revision=45693
This commit is contained in:
Kai Tietz 2010-02-27 12:04:42 +00:00
parent 05754bfdfe
commit 9c22184e3c

View file

@ -221,7 +221,7 @@ typedef struct _CM_PARTIAL_RESOURCE_DESCRIPTOR {
} Interrupt; } Interrupt;
#if (NTDDI_VERSION >= NTDDI_LONGHORN) #if (NTDDI_VERSION >= NTDDI_LONGHORN)
struct { struct {
union { __GNU_EXTENSION union {
struct { struct {
USHORT Reserved; USHORT Reserved;
USHORT MessageCount; USHORT MessageCount;
@ -1073,22 +1073,22 @@ InterlockedPushEntrySList(
typedef struct _DISPATCHER_HEADER typedef struct _DISPATCHER_HEADER
{ {
union __GNU_EXTENSION union
{ {
struct __GNU_EXTENSION struct
{ {
UCHAR Type; UCHAR Type;
union __GNU_EXTENSION union
{ {
UCHAR Absolute; UCHAR Absolute;
UCHAR NpxIrql; UCHAR NpxIrql;
}; };
union __GNU_EXTENSION union
{ {
UCHAR Size; UCHAR Size;
UCHAR Hand; UCHAR Hand;
}; };
union __GNU_EXTENSION union
{ {
UCHAR Inserted; UCHAR Inserted;
BOOLEAN DebugActive; BOOLEAN DebugActive;
@ -2410,7 +2410,7 @@ typedef struct _ERESOURCE
ULONG ContentionCount; ULONG ContentionCount;
ULONG NumberOfSharedWaiters; ULONG NumberOfSharedWaiters;
ULONG NumberOfExclusiveWaiters; ULONG NumberOfExclusiveWaiters;
union __GNU_EXTENSION union
{ {
PVOID Address; PVOID Address;
ULONG_PTR CreatorBackTraceIndex; ULONG_PTR CreatorBackTraceIndex;
@ -2510,7 +2510,7 @@ typedef struct LOOKASIDE_ALIGN _NPAGED_LOOKASIDE_LIST {
//} LOOKASIDE_LIST_EX, *PLOOKASIDE_LIST_EX; //} LOOKASIDE_LIST_EX, *PLOOKASIDE_LIST_EX;
typedef struct _EX_RUNDOWN_REF { typedef struct _EX_RUNDOWN_REF {
union { __GNU_EXTENSION union {
volatile ULONG_PTR Count; volatile ULONG_PTR Count;
volatile PVOID Ptr; volatile PVOID Ptr;
}; };