STORAGE_QUERY_TYPE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-ntddstor-_storage_query_type)

_STORAGE_QUERY_TYPE enumeration

Description

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.

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.

See also

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_PROPERTY_ID

STORAGE_PROPERTY_QUERY


Win32 API reference (ne-winioctl-storage_query_type)

STORAGE_QUERY_TYPE enumeration

Description

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.

Constants

PropertyStandardQuery:0

Instructs the driver to return an appropriate descriptor.

PropertyExistsQuery

Instructs the 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.

See also