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 |
|
See also
Send comments about this topic to Microsoft
Build date: 4/16/2013