STORAGE_PROTOCOL_SPECIFIC_DATA_EXT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddstor.h

typedef struct _STORAGE_PROTOCOL_SPECIFIC_DATA_EXT {
  STORAGE_PROTOCOL_TYPE ProtocolType;
  ULONG                 DataType;
  ULONG                 ProtocolDataValue;
  ULONG                 ProtocolDataSubValue;
  ULONG                 ProtocolDataOffset;
  ULONG                 ProtocolDataLength;
  ULONG                 FixedProtocolReturnData;
  ULONG                 ProtocolDataSubValue2;
  ULONG                 ProtocolDataSubValue3;
  ULONG                 ProtocolDataSubValue4;
  ULONG                 ProtocolDataSubValue5;
  ULONG                 ProtocolDataSubValue6;
  ULONG                 Reserved[4];
} STORAGE_PROTOCOL_SPECIFIC_DATA_EXT, *PSTORAGE_PROTOCOL_SPECIFIC_DATA_EXT;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddstor-storage_protocol_specific_data_ext)

STORAGE_PROTOCOL_SPECIFIC_DATA_EXT structure

Description

The STORAGE_PROTOCOL_SPECIFIC_DATA_EXT structure describes the protocol-specific device data for IOCTL_STORAGE_QUERY_PROPERTY and IOCTL_STORAGE_SET_PROPERTY requests.

Members

ProtocolType

The protocol type. Values for this member are defined in the STORAGE_PROTOCOL_TYPE enumeration.

DataType

The protocol data type. Data types are defined in the STORAGE_PROTOCOL_NVME_DATA_TYPE and STORAGE_PROTOCOL_ATA_DATA_TYPE enumerations.

ProtocolDataValue

The protocol data value.

ProtocolDataSubValue

Sub-value of the protocol data value.

ProtocolDataOffset

The offset of the data buffer from the beginning of this structure. The typical value is sizeof(STORAGE_PROTOCOL_SPECIFIC_DATA_EXT).

ProtocolDataLength

The length of the protocol data. ProtocolDataLength must be >= 512 bytes.

FixedProtocolReturnData

The returned data.

ProtocolDataSubValue2

First additional data sub-value.

ProtocolDataSubValue3

Second additional data sub-value.

ProtocolDataSubValue4

Third additional data sub-value.

ProtocolDataSubValue5

Fourth additional data sub-value.

ProtocolDataSubValue6

Fifth additional data sub-value.

Reserved[4]

Reserved for future use; do not use.

See also