// 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 referenceNo description available.
The STORAGE_PROTOCOL_SPECIFIC_DATA_EXT structure describes the protocol-specific device data for IOCTL_STORAGE_QUERY_PROPERTY and IOCTL_STORAGE_SET_PROPERTY requests.
ProtocolTypeThe protocol type. Values for this member are defined in the STORAGE_PROTOCOL_TYPE enumeration.
DataTypeThe protocol data type. Data types are defined in the STORAGE_PROTOCOL_NVME_DATA_TYPE and STORAGE_PROTOCOL_ATA_DATA_TYPE enumerations.
ProtocolDataValueThe protocol data value.
ProtocolDataSubValueSub-value of the protocol data value.
ProtocolDataOffsetThe offset of the data buffer from the beginning of this structure. The typical value is sizeof(STORAGE_PROTOCOL_SPECIFIC_DATA_EXT).
ProtocolDataLengthThe length of the protocol data. ProtocolDataLength must be >= 512 bytes.
FixedProtocolReturnDataThe returned data.
ProtocolDataSubValue2First additional data sub-value.
ProtocolDataSubValue3Second additional data sub-value.
ProtocolDataSubValue4Third additional data sub-value.
ProtocolDataSubValue5Fourth additional data sub-value.
ProtocolDataSubValue6Fifth additional data sub-value.
Reserved[4]Reserved for future use; do not use.