// ntddscsi.h
#define IOCTL_MINIPORT_SIGNATURE_ENDURANCE_INFO /* IOCTL code */
View the official Windows Driver Kit DDI referenceNo description available.
IOCTL_MINIPORT_SIGNATURE_ENDURANCE_INFO is the system-defined signature used in conjunction with the IOCTL_SCSI_MINIPORT control code to request that a miniport return a target device's endurance information.
See Remarks.
See Remarks.
See Remarks.
See Remarks.
None.
Not applicable.
Not applicable.
For this signature, IOCTL_SCSI_MINIPORT's input buffer will contain an SRB_IO_CONTROL structure with:
The Signature member is set to IOCTL_MINIPORT_SIGNATURE_ENDURANCE_INFO.
The ControlCode member is set to IOCTL_STORAGE_QUERY_PROPERTY.
If the miniport recognizes and supports the IOCTL_MINIPORT_SIGNATURE_ENDURANCE_INFO signature, it should return its device's endurance data in a STORAGE_ENDURANCE_DATA_DESCRIPTOR structure. Specifically, IOCTL_SCSI_MINIPORT's output buffer will contain an SRB_IO_CONTROL structure, followed immediately by a STORAGE_ENDURANCE_DATA_DESCRIPTOR structure that contains the endurance data.
See IOCTL_SCSI_MINIPORT for information on how to calculate buffer sizes.
STORAGE_ENDURANCE_DATA_DESCRIPTOR