Windows Driver Kit: Storage Devices
STORAGE_QUERY_TYPE

The STORAGE_QUERY_TYPE enumeration type is used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY request to retrieve the properties of a storage device or adapter.

typedef enum _STORAGE_QUERY_TYPE {
  PropertyStandardQuery = 0, 
  PropertyExistsQuery, 
  PropertyMaskQuery, 
  PropertyQueryMaxDefined 
} STORAGE_QUERY_TYPE, *PSTORAGE_QUERY_TYPE;

Values

PropertyStandardQuery
Instructs the port driver to report a device descriptor, an adapter descriptor or a unique hardware device ID (DUID).
PropertyExistsQuery
Instructs the port driver to report whether the descriptor is supported.
PropertyMaskQuery
Not currently supported. Do not use.
PropertyQueryMaxDefined
Specifies the upper limit of the list of query types. This is used to validate the query type.

Comments

Caller specifies the type of query by choosing one of the enumeration values.

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 in Ntddstor.h. Include Ntddstor.h.

See Also

IOCTL_STORAGE_QUERY_PROPERTY, STORAGE_PROPERTY_QUERY, STORAGE_PROPERTY_ID


Send feedback on this topic
Built on October 01, 2009
Page view tracker