MSDN Home >  MSDN Library >  Storage Devices >  Reference >  Storage Structures >  General Storage Structures
 
Storage Devices: Windows DDK

STORAGE_QUERY_TYPE

[This is preliminary documentation and subject to change.]

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;

Enumerators

PropertyStandardQuery
Retrieves a device or adapter descriptor.
PropertyExistsQuery
Used to test whether the descriptor is supported.
PropertyMaskQuery
Not currently supported. Do not use.
PropertyQueryMaxDefined
Used to validate the value. Currently this is not supported.

Headers

Declared in ntddstor.h. Include ntddstor.h.

Comments

Caller specifies the type of query by choosing one of the enumerators.

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.

See Also

IOCTL_STORAGE_QUERY_PROPERTY, STORAGE_PROPERTY_QUERY, STORAGE_PROPERTY_ID

 Contact Us   |  E-Mail this Page   |  MSDN Flash Newsletter
 © 2003 Microsoft Corporation. All rights reserved.   Terms of Use  Privacy Statement   Accessibility