大网数据广告活动
磁盘与文件系统

Disk Management Structures

· 52CE 我爱测

Structures used in disk management.

The following list identifies the structures that are used in disk management.

In this section

Structure Description
CREATE_DISK Contains information that the IOCTL_DISK_CREATE_DISK control code uses to initialize GUID partition table (GPT), master boot record (MBR), or raw disks.
CREATE_DISK_GPT Contains information used by the IOCTL_DISK_CREATE_DISK control code to initialize GUID partition table (GPT) disks.
CREATE_DISK_MBR Contains information that the IOCTL_DISK_CREATE_DISK control code uses to initialize master boot record (MBR) disks.
DEVICE_COPY_OFFLOAD_DESCRIPTOR Contains the copy offload capabilities for a storage device.
DEVICE_LB_PROVISIONING_DESCRIPTOR Contains the thin provisioning capabilities for a storage device.
DEVICE_SEEK_PENALTY_DESCRIPTOR Used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY request to retrieve the seek penalty descriptor data for a device.
DEVICE_TRIM_DESCRIPTOR Used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY request to retrieve the trim descriptor data for a device.
DEVICE_WRITE_AGGREGATION_DESCRIPTOR Reserved for system use.
DEVICE_POWER_DESCRIPTOR The DEVICE_POWER_DESCRIPTOR structure describes the power capabilities of a storage device.
DISK_CACHE_INFORMATION Provides information about the disk cache.
DISK_CLUSTER_INFO Represents information maintained on the partition manager about a disk that is part of a cluster.
DISK_DETECTION_INFO Contains detected drive parameters.
DISK_EX_INT13_INFO Contains extended Int13 drive parameters.
DISK_EXTENT Represents a disk extent.
DISK_GEOMETRY Describes the geometry of disk devices and media.
DISK_GEOMETRY_EX Describes the extended geometry of disk devices and media.
DISK_GROW_PARTITION Contains information used to increase the size of a partition.
DISK_INT13_INFO Contains standard Int13 drive geometry parameters.
DISK_PARTITION_INFO Contains the disk partition information.
DISK_PERFORMANCE Provides disk performance information.
DISKQUOTA_USER_INFORMATION Represents the per-user quota information.
DRIVE_LAYOUT_INFORMATION Contains information about the partitions of a drive.
DRIVE_LAYOUT_INFORMATION_EX Contains extended information about a drive's partitions.
DRIVE_LAYOUT_INFORMATION_GPT Contains information about a drive's GUID partition table (GPT) partitions.
DRIVE_LAYOUT_INFORMATION_MBR Provides information about a drive's master boot record (MBR) partitions.
FORMAT_PARAMETERS Contains information used in formatting a contiguous set of disk tracks.
FORMAT_EX_PARAMETERS Contains information used in formatting a contiguous set of disk tracks. It is used by the IOCTL_DISK_FORMAT_TRACKS_EX control code.
GET_DISK_ATTRIBUTES Contains the attributes of a disk device.
GET_LENGTH_INFORMATION Contains disk, volume, or partition length information used by the IOCTL_DISK_GET_LENGTH_INFO control code.
PARTITION_INFORMATION Contains information about a disk partition.
PARTITION_INFORMATION_EX Contains partition information for standard AT-style master boot record (MBR) and Extensible Firmware Interface (EFI) disks.
PARTITION_INFORMATION_GPT Contains GUID partition table (GPT) partition information.
PARTITION_INFORMATION_MBR Contains partition information specific to master boot record (MBR) disks.
REASSIGN_BLOCKS Contains disk block reassignment data.
REASSIGN_BLOCKS_EX Contains disk block reassignment data.
SET_DISK_ATTRIBUTES Specifies the attributes to be set on a disk device.
SET_PARTITION_INFORMATION Contains information used to set a disk partition's type.
STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR Used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY control code to retrieve the storage access alignment descriptor data for a device.
STORAGE_ADAPTER_DESCRIPTOR Used with the IOCTL_STORAGE_QUERY_PROPERTY control code to retrieve the storage adapter descriptor data for a device.
STORAGE_DESCRIPTOR_HEADER Used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY control code to retrieve the properties of a storage device or adapter.
STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR Reserved for future use.
STORAGE_DEVICE_DESCRIPTOR Used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY control code to retrieve the storage device descriptor data for a device.
STORAGE_DEVICE_ID_DESCRIPTOR Used with the IOCTL_STORAGE_QUERY_PROPERTY control code request to retrieve the device ID descriptor data for a device.
STORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR The output buffer for the StorageDeviceIoCapabilityProperty as defined in STORAGE_PROPERTY_ID.
STORAGE_DEVICE_POWER_CAP This structure is used as an input and output buffer for the IOCTL_STORAGE_DEVICE_POWER_CAP.
STORAGE_DEVICE_RESILIENCY_DESCRIPTOR Reserved for system use.
STORAGE_HW_FIRMWARE_ACTIVATE This structure contains information about the downloaded firmware to activate.
STORAGE_HW_FIRMWARE_DOWNLOAD This structure contains a firmware image payload to be downloaded to the target.
STORAGE_HW_FIRMWARE_INFO This structure contains information about the device firmware.
STORAGE_HW_FIRMWARE_INFO_QUERY This structure contains information about the device firmware.
STORAGE_HW_FIRMWARE_SLOT_INFO This structure contains information about a slot on a device.
STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR Used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY request to describe the product type of a storage device.
STORAGE_MINIPORT_DESCRIPTOR Reserved for system use.
STORAGE_PHYSICAL_ADAPTER_DATA Describes a physical storage adapter.
STORAGE_PHYSICAL_DEVICE_DATA Describes a physical storage device.
STORAGE_PHYSICAL_NODE_DATA Specifies the physical device data of a storage node.
STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR The STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR structure is one of the query result structures returned from an IOCTL_STORAGE_QUERY_PROPERTY request.
STORAGE_PROPERTY_QUERY Indicates the properties of a storage device or adapter to retrieve as the input buffer passed to the IOCTL_STORAGE_QUERY_PROPERTY control code.
STORAGE_PROTOCOL_ATA_DATA_TYPE The ATA protocol data type.
STORAGE_PROTOCOL_COMMAND This structure is used as an input buffer when using the pass-through mechanism to issue a vendor-specific command to a storage device (via IOCTL_STORAGE_PROTOCOL_COMMAND).
STORAGE_PROTOCOL_DATA_DESCRIPTOR This structure is used in conjunction with IOCTL_STORAGE_QUERY_PROPERTY to return protocol-specific data from a storage device or adapter.
STORAGE_PROTOCOL_NVME_DATA_TYPE Describes the type of NVMe protocol-specific data that's to be queried during an IOCTL_STORAGE_QUERY_PROPERTY request.
STORAGE_PROTOCOL_SPECIFIC_DATA Describes protocol-specific device data, provided in the input and output buffer of an IOCTL_STORAGE_QUERY_PROPERTY request.
STORAGE_SPEC_VERSION Storage specification version.
STORAGE_TEMPERATURE_DATA_DESCRIPTOR This structure is used in conjunction with IOCTL_STORAGE_QUERY_PROPERTY to return temperature data from a storage device or adapter.
STORAGE_TEMPERATURE_INFO Describes device temperature data. Returned as part of STORAGE_TEMPERATURE_DATA_DESCRIPTOR when querying for temperature data with an IOCTL_STORAGE_QUERY_PROPERTY request.
STORAGE_TEMPERATURE_THRESHOLD This structure is used to set the over or under temperature threshold of a storage device (via IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD).
STORAGE_WRITE_CACHE_PROPERTY Used with the IOCTL_STORAGE_QUERY_PROPERTY control code to retrieve information about a device's write cache property.
VERIFY_INFORMATION Contains information used to verify a disk extent.

The following device input and output structures are obsolete:

DRIVE_LAYOUT_INFORMATION
PARTITION_INFORMATION
SET_PARTITION_INFORMATION

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。