2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

* include/winioctl.h (_DRIVE_LAYOUT_INFORMATION_MBR): Add
        _DRIVE_LAYOUT_INFORMATION_MBR_DEFINED guard.
        * include/ddk/winddk.h (_DRIVE_LAYOUT_INFORMATION_MBR): Ditto.
This commit is contained in:
Chris Sutcliffe 2011-03-05 04:51:01 +00:00
parent 2af4c4de09
commit 09ba620e3f
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winioctl.h (_DRIVE_LAYOUT_INFORMATION_MBR): Add
_DRIVE_LAYOUT_INFORMATION_MBR_DEFINED guard.
* include/ddk/winddk.h (_DRIVE_LAYOUT_INFORMATION_MBR): Ditto.
2011-03-04 Seth Jackson <sethj@users.sourceforge.net> 2011-03-04 Seth Jackson <sethj@users.sourceforge.net>
* include/winnt.h (PAGE_WRITECOMBINE): Define. * include/winnt.h (PAGE_WRITECOMBINE): Define.

View File

@ -1075,10 +1075,12 @@ enum
IRP_RETRY_IO_COMPLETION = 0x4000 IRP_RETRY_IO_COMPLETION = 0x4000
}; };
#ifndef _DRIVE_LAYOUT_INFORMATION_MBR_DEFINED
#define _DRIVE_LAYOUT_INFORMATION_MBR_DEFINED
typedef struct _DRIVE_LAYOUT_INFORMATION_MBR { typedef struct _DRIVE_LAYOUT_INFORMATION_MBR {
ULONG Signature; ULONG Signature;
} DRIVE_LAYOUT_INFORMATION_MBR, *PDRIVE_LAYOUT_INFORMATION_MBR; } DRIVE_LAYOUT_INFORMATION_MBR, *PDRIVE_LAYOUT_INFORMATION_MBR;
#endif
typedef struct _DRIVE_LAYOUT_INFORMATION_GPT { typedef struct _DRIVE_LAYOUT_INFORMATION_GPT {
GUID DiskId; GUID DiskId;

View File

@ -432,9 +432,12 @@ typedef struct _DRIVE_LAYOUT_INFORMATION_GPT {
LARGE_INTEGER UsableLength; LARGE_INTEGER UsableLength;
ULONG MaxPartitionCount; ULONG MaxPartitionCount;
} DRIVE_LAYOUT_INFORMATION_GPT,*PDRIVE_LAYOUT_INFORMATION_GPT; } DRIVE_LAYOUT_INFORMATION_GPT,*PDRIVE_LAYOUT_INFORMATION_GPT;
#ifndef _DRIVE_LAYOUT_INFORMATION_MBR_DEFINED
#define _DRIVE_LAYOUT_INFORMATION_MBR_DEFINED
typedef struct _DRIVE_LAYOUT_INFORMATION_MBR { typedef struct _DRIVE_LAYOUT_INFORMATION_MBR {
ULONG Signature; ULONG Signature;
} DRIVE_LAYOUT_INFORMATION_MBR, *PDRIVE_LAYOUT_INFORMATION_MBR; } DRIVE_LAYOUT_INFORMATION_MBR, *PDRIVE_LAYOUT_INFORMATION_MBR;
#endif
typedef struct _PARTITION_INFORMATION_MBR { typedef struct _PARTITION_INFORMATION_MBR {
BYTE PartitionType; BYTE PartitionType;
BOOLEAN BootIndicator; BOOLEAN BootIndicator;