Export (0) Print
Expand All

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

WinIoCtl.h (include Windows.h)

See also

DRIVE_LAYOUT_INFORMATION_EX
IOCTL_DISK_GET_DRIVE_LAYOUT
IOCTL_DISK_SET_DRIVE_LAYOUT

 

 

Community Additions

ADD
Show:
© 2014 Microsoft