Export (0) Print
Expand All
2 out of 2 rated this helpful - Rate this topic

DISK_PARTITION_INFO structure

Contains the disk partition information.

Syntax


typedef struct _DISK_PARTITION_INFO {
  DWORD           SizeOfPartitionInfo;
  PARTITION_STYLE PartitionStyle;
  union {
    struct {
      DWORD Signature;
    } Mbr;
    struct {
      GUID DiskId;
    } Gpt;
  };
} DISK_PARTITION_INFO, *PDISK_PARTITION_INFO;

Members

SizeOfPartitionInfo

The size of this structure, in bytes.

PartitionStyle

The format of a partition.

For more information, see PARTITION_STYLE.

Mbr

If PartitionStyle is PARTITION_STYLE_MBR (0), the union is a structure that contains information for an master boot record partition, which includes a disk signature and a checksum.

Signature

MBR signature of the partition.

Gpt

If PartitionStyle is PARTITION_STYLE_GPT (1), the union is a structure that contains information for a GUID partition table partition, which includes a disk identifier (GUID).

DiskId

GUID of the GPT partition.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

WinIoCtl.h (include Windows.h)

See also

DISK_GEOMETRY_EX
PARTITION_STYLE

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.