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>
* include/winnt.h (PAGE_WRITECOMBINE): Define.

View File

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

View File

@ -432,9 +432,12 @@ typedef struct _DRIVE_LAYOUT_INFORMATION_GPT {
LARGE_INTEGER UsableLength;
ULONG MaxPartitionCount;
} 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 {
ULONG Signature;
} DRIVE_LAYOUT_INFORMATION_MBR, *PDRIVE_LAYOUT_INFORMATION_MBR;
#endif
typedef struct _PARTITION_INFORMATION_MBR {
BYTE PartitionType;
BOOLEAN BootIndicator;