DRIVE_LAYOUT_INFORMATION structure
Contains information about the partitions of a drive.
Note DRIVE_LAYOUT_INFORMATION is superseded by the DRIVE_LAYOUT_INFORMATION_EX structure.
Syntax
typedef struct _DRIVE_LAYOUT_INFORMATION { DWORD PartitionCount; DWORD Signature; PARTITION_INFORMATION PartitionEntry[1]; } DRIVE_LAYOUT_INFORMATION, *PDRIVE_LAYOUT_INFORMATION;
Members
- PartitionCount
-
The number of partitions on a drive.
On disks with the MBR layout, this value is always a multiple of 4. Any partitions that are unused have a partition type of PARTITION_ENTRY_UNUSED (0).
- Signature
-
The drive signature value.
- PartitionEntry
-
A variable-sized array of PARTITION_INFORMATION structures, one structure for each partition on a drive.
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