Skip to content

Latest commit

 

History

History
103 lines (68 loc) · 3.78 KB

ns-ntdddisk-_drive_layout_information.md

File metadata and controls

103 lines (68 loc) · 3.78 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:ntdddisk._DRIVE_LAYOUT_INFORMATION
_DRIVE_LAYOUT_INFORMATION (ntdddisk.h)
The DRIVE_LAYOUT_INFORMATION structure is obsolete and is provided only to support existing drivers.
storage\drive_layout_information.htm
storage
03/29/2018
DRIVE_LAYOUT_INFORMATION structure
*PDRIVE_LAYOUT_INFORMATION, DRIVE_LAYOUT_INFORMATION, DRIVE_LAYOUT_INFORMATION structure [Storage Devices], PDRIVE_LAYOUT_INFORMATION, PDRIVE_LAYOUT_INFORMATION structure pointer [Storage Devices], _DRIVE_LAYOUT_INFORMATION, ntdddisk/DRIVE_LAYOUT_INFORMATION, ntdddisk/PDRIVE_LAYOUT_INFORMATION, storage.drive_layout_information, structs-disk_4b519d3d-0729-4390-a2e2-b5eb37738db1.xml
ntdddisk.h
Ntdddisk.h
Windows
Windows
DRIVE_LAYOUT_INFORMATION, *PDRIVE_LAYOUT_INFORMATION
_DRIVE_LAYOUT_INFORMATION
ntdddisk/_DRIVE_LAYOUT_INFORMATION
PDRIVE_LAYOUT_INFORMATION
ntdddisk/PDRIVE_LAYOUT_INFORMATION
DRIVE_LAYOUT_INFORMATION
ntdddisk/DRIVE_LAYOUT_INFORMATION
APIRef
kbSyntax
HeaderDef
ntdddisk.h
_DRIVE_LAYOUT_INFORMATION
PDRIVE_LAYOUT_INFORMATION
DRIVE_LAYOUT_INFORMATION

_DRIVE_LAYOUT_INFORMATION structure

-description

The DRIVE_LAYOUT_INFORMATION structure is obsolete and is provided only to support existing drivers. New drivers must use DRIVE_LAYOUT_INFORMATION_EX.

The DRIVE_LAYOUT_INFORMATION structure is used to report information about a disk drive and its partitions. It is also used to write new drive layout information to the disk.

-struct-fields

-field PartitionCount

Contains the number of partitions on the drive.

-field Signature

Contains the disk signature.

-field PartitionEntry

Contains a variable-length array of PARTITION_INFORMATION structures, one for each partition on the drive.

-remarks

In Windows 2000 and later operating systems, disk drivers should use structures DRIVE_LAYOUT_INFORMATION_EX and PARTITION_INFORMATION_EX along with routines IoReadPartitionTableEx and IoSetPartitionInformationEx to read and alter partition information on the disk.

-see-also

IOCTL_DISK_GET_DRIVE_LAYOUT

IOCTL_DISK_GET_PARTITION_INFO

IOCTL_DISK_SET_DRIVE_LAYOUT

IoReadPartitionTable

IoReadPartitionTableEx

IoSetPartitionInformation

IoWritePartitionTable