STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR structure (ntddstor.h)
A storage port driver uses the STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR structure to report a device's endurance information.
Syntax
typedef struct _STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR {
ULONG Version;
ULONG Size;
STORAGE_HW_ENDURANCE_INFO EnduranceInfo;
} STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR, *PSTORAGE_HW_ENDURANCE_DATA_DESCRIPTOR;
Members
Version
Version of this structure. Set this to be sizeof(STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR).
Size
Size, in bytes, of the buffer containing the endurance information. Set this to be sizeof(STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR).
EnduranceInfo
A STORAGE_HW_ENDURANCE_INFO structure in which to store the device's endurance information.
Remarks
A storage port driver uses this structure when communicating with its miniport for an IOCTL_SCSI_MINIPORT request that has an SRB_IO_CONTROL structure with a Signature of IOCTL_MINIPORT_SIGNATURE_ENDURANCE_INFO, and a ControlCode ofIOCTL_STORAGE_QUERY_PROPERTY with a PropertyId of StorageDeviceEnduranceProperty and a QueryType of PropertyStandardQuery.
The miniport uses STORAGE_ENDURANCE_DATA_DESCRIPTOR, which is defined in ntddscsi.h. STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR and STORAGE_ENDURANCE_DATA_DESCRIPTOR are identical in size, so the storage port driver and miniport should cast the structure they receive accordingly when communicating with each other.
Requirements
Requirement | Value |
---|---|
Header | ntddstor.h |
See also
IOCTL_MINIPORT_SIGNATURE_ENDURANCE_INFO