STORAGE_PROTOCOL_SPECIFIC_DATA_EXT structure (ntddstor.h)

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

Syntax

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                 Reserved[5];
} STORAGE_PROTOCOL_SPECIFIC_DATA_EXT, *PSTORAGE_PROTOCOL_SPECIFIC_DATA_EXT;

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.

Reserved[5]

Reserved for future use; do not use.

Requirements

   
Header ntddstor.h

See also

IOCTL_STORAGE_QUERY_PROPERTY

IOCTL_STORAGE_SET_PROPERTY

STORAGE_PROTOCOL_SPECIFIC_DATA