Export (0) Print
Expand All

STORAGE_PROPERTY_ID enumeration

Enumerates the possible values of the PropertyId member of the STORAGE_PROPERTY_QUERY structure passed as input to the IOCTL_STORAGE_QUERY_PROPERTY request to retrieve the properties of a storage device or adapter.

Syntax


typedef enum _STORAGE_PROPERTY_ID { 
  StorageDeviceProperty                  = 0,
  StorageAdapterProperty                 = 1,
  StorageDeviceIdProperty                = 2,
  StorageDeviceUniqueIdProperty          = 3,
  StorageDeviceWriteCacheProperty        = 4,
  StorageMiniportProperty                = 5,
  StorageAccessAlignmentProperty         = 6,
  StorageDeviceSeekPenaltyProperty       = 7,
  StorageDeviceTrimProperty              = 8,
  StorageDeviceWriteAggregationProperty  = 9,
  StorageDeviceDeviceTelemetryProperty   = 10, // 0xA
  StorageDeviceLBProvisioningProperty    = 11, // 0xB
  StorageDevicePowerProperty             = 12, // 0xC
  StorageDeviceCopyOffloadProperty       = 13, // 0xD
  StorageDeviceResiliencyProperty        = 14 // 0xE
} STORAGE_PROPERTY_ID, *PSTORAGE_PROPERTY_ID;

Constants

StorageDeviceProperty

Indicates that the caller is querying for the device descriptor.

StorageAdapterProperty

Indicates that the caller is querying for the adapter descriptor.

StorageDeviceIdProperty

Indicates that the caller is querying for the device identifiers provided with the SCSI vital product data pages.

StorageDeviceUniqueIdProperty

Indicates that the caller is querying for the unique device identifiers.

Windows Server 2003 and Windows XP:  This value is not supported before Windows Vista and Windows Server 2008.

StorageDeviceWriteCacheProperty

Indicates that the caller is querying for the write cache property.

Windows Server 2003 and Windows XP:  This value is not supported before Windows Vista and Windows Server 2008.

StorageMiniportProperty

Indicates that the caller is querying for the miniport driver descriptor.

Windows Server 2003 and Windows XP:  This value is not supported before Windows Vista and Windows Server 2008.

StorageAccessAlignmentProperty

Indicates that the caller is querying for the access alignment descriptor.

Windows Server 2003 and Windows XP:  This value is not supported before Windows Vista and Windows Server 2008.

StorageDeviceSeekPenaltyProperty

Indicates that the caller is querying for the seek penalty descriptor.

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  This value is not supported before Windows 7 and Windows Server 2008 R2.

StorageDeviceTrimProperty

Indicates that the caller is querying for the trim descriptor.

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  This value is not supported before Windows 7 and Windows Server 2008 R2.

StorageDeviceWriteAggregationProperty

Indicates that the caller is querying for the write aggregation property.

Windows 7, Windows Server 2008 R2, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  This value is not supported before Windows 8 and Windows Server 2012.

StorageDeviceDeviceTelemetryProperty

This value is reserved.

Windows 7, Windows Server 2008 R2, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  This value is not supported before Windows 8 and Windows Server 2012.

StorageDeviceLBProvisioningProperty

Indicates that the caller is querying for the logical block provisioning descriptor, usually to detect whether the storage system uses thin provisioning.

Windows 7, Windows Server 2008 R2, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  This value is not supported before Windows 8 and Windows Server 2012.

StorageDevicePowerProperty

Indicates that the caller is querying for the power optical disk drive descriptor.

Windows 7, Windows Server 2008 R2, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  This value is not supported before Windows 8 and Windows Server 2012.

StorageDeviceCopyOffloadProperty

Indicates that the caller is querying for the write offload descriptor.

Windows 7, Windows Server 2008 R2, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  This value is not supported before Windows 8 and Windows Server 2012.

StorageDeviceResiliencyProperty

Indicates that the caller is querying for the device resiliency descriptor.

Windows 7, Windows Server 2008 R2, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  This value is not supported before Windows 8 and Windows Server 2012.

Remarks

The optional output buffer returned through the lpOutBuffer parameter of the IOCTL_STORAGE_QUERY_PROPERTY control code request can be one of several structures depending on the value of the PropertyId member of the STORAGE_PROPERTY_QUERY structure pointed to by the lpInBuffer parameter. If the QueryType member of the STORAGE_PROPERTY_QUERY is set to PropertyExistsQuery, then no structure is returned.

ValuelpOutBuffer structure
StorageDeviceProperty (0) STORAGE_DEVICE_DESCRIPTOR
StorageAdapterProperty (1) STORAGE_ADAPTER_DESCRIPTOR
StorageDeviceIdProperty (2) STORAGE_DEVICE_ID_DESCRIPTOR
StorageDeviceUniqueIdProperty (3) STORAGE_DEVICE_UNIQUE_IDENTIFIER
StorageDeviceWriteCacheProperty (4) STORAGE_WRITE_CACHE_PROPERTY
StorageMiniportProperty (5) STORAGE_MINIPORT_DESCRIPTOR
StorageAccessAlignmentProperty (6) STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR
StorageDeviceSeekPenaltyProperty (7) DEVICE_SEEK_PENALTY_DESCRIPTOR
StorageDeviceTrimProperty (8) DEVICE_TRIM_DESCRIPTOR
StorageDeviceWriteAggregationProperty (9) DEVICE_WRITE_AGGREGATION_DESCRIPTOR
StorageDeviceLBProvisioningProperty (11) DEVICE_LB_PROVISIONING_DESCRIPTOR
StorageDeviceZeroPowerProperty (12) DEVICE_POWER_DESCRIPTOR
StorageDeviceCopyOffloadProperty (13) DEVICE_COPY_OFFLOAD_DESCRIPTOR
StorageDeviceResiliencyProperty (14) STORAGE_DEVICE_RESILIENCY_DESCRIPTOR

 

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

Disk Management Enumeration Types
IOCTL_STORAGE_QUERY_PROPERTY
STORAGE_PROPERTY_QUERY
STORAGE_QUERY_TYPE

 

 

Community Additions

ADD
Show:
© 2014 Microsoft