Windows Driver Kit: Storage Devices
STORAGE_PROPERTY_ID
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.
typedef enum _STORAGE_PROPERTY_ID {
StorageDeviceProperty = 0,
StorageAdapterProperty,
StorageDeviceIdProperty,
StorageDeviceUniqueIdProperty,
StorageDeviceWriteCacheProperty,
StorageMiniportProperty,
StorageAccessAlignmentProperty,
StorageDeviceSeekPenaltyProperty,
StorageDeviceTrimProperty,
StorageDeviceWriteAggregationProperty
} STORAGE_PROPERTY_ID, *PSTORAGE_PROPERTY_ID;
Values
- 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.
Comments
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
Headers: Declared Ntddstor.h. Include Ntddstor.h.
See Also
IOCTL_STORAGE_QUERY_PROPERTY, STORAGE_PROPERTY_QUERY, STORAGE_QUERY_TYPE