// ntddstor.h
typedef enum _STORAGE_QUERY_TYPE {
PropertyStandardQuery,
PropertyExistsQuery,
PropertyMaskQuery,
PropertyQueryMaxDefined
} STORAGE_QUERY_TYPE, *PSTORAGE_QUERY_TYPE;
View the official Windows Driver Kit DDI reference// winioctl.h
typedef enum _STORAGE_QUERY_TYPE {
PropertyStandardQuery = 0,
PropertyExistsQuery,
PropertyMaskQuery,
PropertyQueryMaxDefined
} STORAGE_QUERY_TYPE, *PSTORAGE_QUERY_TYPE;
View the official Win32 API referenceNo description available.
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.
PropertyStandardQueryInstructs the port driver to report a device descriptor, an adapter descriptor or a unique hardware device ID (DUID).
PropertyExistsQueryInstructs the port driver to report whether the descriptor is supported.
PropertyMaskQueryNot currently supported. Do not use.
PropertyQueryMaxDefinedSpecifies the upper limit of the list of query types. This is used to validate the query type.
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.
Used by the STORAGE_PROPERTY_QUERY structure passed to the IOCTL_STORAGE_QUERY_PROPERTY control code to indicate what information is returned about a property of a storage device or adapter.
PropertyStandardQuery:0Instructs the driver to return an appropriate descriptor.
PropertyExistsQueryInstructs the driver to report whether the descriptor is supported.
PropertyMaskQueryNot currently supported. Do not use.
PropertyQueryMaxDefinedSpecifies the upper limit of the list of query types. This is used to validate the query type.