Export (0) Print
Expand All

STORAGE_QUERY_TYPE enumeration

The STORAGE_QUERY_TYPE 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_QUERY_TYPE { 
  PropertyStandardQuery    = 0,
  PropertyExistsQuery,
  PropertyMaskQuery,
  PropertyQueryMaxDefined
} STORAGE_QUERY_TYPE, *PSTORAGE_QUERY_TYPE;

Constants

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.

Remarks

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

Header

Ntddstor.h (include Ntddstor.h)

See also

IOCTL_STORAGE_QUERY_PROPERTY
STORAGE_PROPERTY_QUERY
STORAGE_PROPERTY_ID

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft