STORAGE_PROPERTY_ID enumeration

The STORAGE_PROPERTY_ID enumeration is used in conjunction with 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,
  StorageDeviceIdProperty,
  StorageDeviceUniqueIdProperty,
  StorageDeviceWriteCacheProperty,
  StorageMiniportProperty,
  StorageAccessAlignmentProperty,
  StorageDeviceSeekPenaltyProperty,
  StorageDeviceTrimProperty,
  StorageDeviceWriteAggregationProperty,
  StorageDeviceDeviceTelemetryProperty,
  StorageDeviceLBProvisioningProperty,
  StorageDevicePowerProperty,
  StorageDeviceCopyOffloadProperty,
  StorageDeviceResiliencyProperty
} 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.

StorageDeviceWriteCacheProperty

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

StorageMiniportProperty

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

StorageAccessAlignmentProperty

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

StorageDeviceSeekPenaltyProperty

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

StorageDeviceTrimProperty

Indicates that the caller is querying for the trim descriptor.

StorageDeviceWriteAggregationProperty

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

StorageDeviceDeviceTelemetryProperty

Indicates that the caller is querying for the device telemetry property.

StorageDeviceLBProvisioningProperty

Indicates that the caller is querying for the logical block provisioning property.

StorageDevicePowerProperty

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

StorageDeviceCopyOffloadProperty

Indicates that the caller is querying for the copy offload parameters property.

StorageDeviceResiliencyProperty

Indicates that the caller is querying for the data resiliency property.

Remarks

Enumerations indicate which properties the caller is querying for.

Caller defines the exact nature of an IOCTL_STORAGE_QUERY_PROPERTY request by specifying the query type together with the property ID. See STORAGE_PROPERTY_QUERY for an explanation of how these two values are combined to define the query.

Requirements

Header

Ntddstor.h (include Ntddstor.h)

See also

IOCTL_STORAGE_QUERY_PROPERTY
STORAGE_PROPERTY_QUERY
STORAGE_QUERY_TYPE

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft