STORAGE_PROPERTY_ID enumeration

This enumeration is used in the STORAGE_PROPERTY_QUERY structure in conjunction with IOCTL_STORAGE_QUERY_PROPERTY to retrieve information about 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,
  StorageDeviceMediumProductType,
  StorageAdapterCryptoProperty,
  StorageDeviceIoCapabilityProperty       = 48,
  StorageAdapterProtocolSpecificProperty,
  StorageDeviceProtocolSpecificProperty,
  StorageAdapterTemperatureProperty,
  StorageDeviceTemperatureProperty,
  StorageAdapterPhysicalTopologyProperty,
  StorageDevicePhysicalTopologyProperty,
  StorageDeviceAttributesProperty
} STORAGE_PROPERTY_ID, *PSTORAGE_PROPERTY_ID;

Constants

StorageDeviceProperty

Indicates that the caller is querying for the device descriptor, STORAGE_DEVICE_DESCRIPTOR.

StorageAdapterProperty

Indicates that the caller is querying for the adapter descriptor, STORAGE_ADAPTER_DESCRIPTOR.

StorageDeviceIdProperty

Indicates that the caller is querying for the device identifiers provided with the SCSI vital product data pages. Data is returned using the STORAGE_DEVICE_ID_DESCRIPTOR structure.

StorageDeviceUniqueIdProperty

Indicates that the caller is querying for the unique device identifiers. Data is returned using the STORAGE_DEVICE_UNIQUE_IDENTIFIER structure.

StorageDeviceWriteCacheProperty

Indicates that the caller is querying for the write cache property. Data is returned using the STORAGE_WRITE_CACHE_PROPERTY structure.

StorageMiniportProperty

Reserved for system use.

StorageAccessAlignmentProperty

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

StorageDeviceSeekPenaltyProperty

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

StorageDeviceTrimProperty

Indicates that the caller is querying for the trim descriptor, DEVICE_TRIM_DESCRIPTOR.

StorageDeviceWriteAggregationProperty

Reserved for system use.

StorageDeviceDeviceTelemetryProperty

Reserved for system use.

StorageDeviceLBProvisioningProperty

Indicates that the caller is querying for the logical block provisioning property. Data is returned using the DEVICE_LB_PROVISIONING_DESCRIPTOR structure.

StorageDevicePowerProperty

Indicates that the caller is querying for the device power descriptor. Data is returned using the DEVICE_POWER_DESCRIPTOR structure.

StorageDeviceCopyOffloadProperty

Indicates that the caller is querying for the copy offload parameters property. Data is returned using the DEVICE_COPY_OFFLOAD_DESCRIPTOR structure.

StorageDeviceResiliencyProperty

Reserved for system use.

StorageDeviceMediumProductType

Indicates that the caller is querying for the medium product type. Data is returned using the STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR structure.

StorageAdapterCryptoProperty

Reserved for system use.

StorageDeviceIoCapabilityProperty

Indicates that the caller is querying for the device I/O capability property. Data is returned using the DEVICE_IO_CAPABILITY_DESCRIPTOR structure.

StorageAdapterProtocolSpecificProperty

Indicates that the caller is querying for protocol-specific data from the adapter. Data is returned using the STORAGE_PROTOCOL_DATA_DESCRIPTOR structure. See the remarks for more info.

StorageDeviceProtocolSpecificProperty

Indicates that the caller is querying for protocol-specific data from the device. Data is returned using the STORAGE_PROTOCOL_DATA_DESCRIPTOR structure. See the remarks for more info.

StorageAdapterTemperatureProperty

Indicates that the caller is querying temperature data from the adapter. Data is returned using the STORAGE_TEMPERATURE_DATA_DESCRIPTOR structure.

StorageDeviceTemperatureProperty

Indicates that the caller is querying for temperature data from the device. Data is returned using the STORAGE_TEMPERATURE_DATA_DESCRIPTOR structure.

StorageAdapterPhysicalTopologyProperty

Indicates that the caller is querying for topology information from the adapter. Data is returned using the STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR structure.

StorageDevicePhysicalTopologyProperty

Indicates that the caller is querying for topology information from the device. Data is returned using the STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR structure.

StorageDeviceAttributesProperty

Indicates that the caller is querying for attributes information from the device. Data is returned using the STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR structure.

Remarks

Enumeration values have been added over time. See the header file in the respective Windows Software Development Kit (SDK) to determine availability.

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: