// ntddstor.h
typedef struct _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR {
ULONG Version;
ULONG Size;
ULONG ElementIdentifier;
UCHAR PhysicalElementType;
UCHAR PhysicalElementHealth;
UCHAR Reserved1[2];
ULONGLONG AssociatedCapacity;
ULONG Reserved2[4];
} PHYSICAL_ELEMENT_STATUS_DESCRIPTOR, *PPHYSICAL_ELEMENT_STATUS_DESCRIPTOR;
View the official Windows Driver Kit DDI referenceNo description available.
The PHYSICAL_ELEMENT_STATUS_DESCRIPTOR structure contains status information for a physical element.
VersionSpecifies the version of this structure.
SizeSpecifies the size of this structure, in bytes.
ElementIdentifierSpecifies the identifier of the physical element associated with this Physical Element Status descriptor.
PhysicalElementTypeIndicates the type of the physical element associated with this Physical Element Status descriptor, as described in the following table.
| Value | Meaning |
|---|---|
| 0x01 | Storage Element |
PhysicalElementHealthIndicates the health of the physical element associated with this Physical Element Status descriptor, as described in the following table.
| Value | Meaning |
|---|---|
| 0x00 | Not reported. |
| 0x01 to 0x63 | Within manufacturer’s specification limits. |
| 0x64 | At manufacturer’s specification limit. |
| 0x65 to 0xCF | Outside manufacturer’s specification limit. |
| 0xD0 to 0xFE | Reserved. |
| 0xFF | Depopulated. |
Reserved1Reserved for future use.
AssociatedCapacityIndicates the number of logical blocks by which the capacity of the device is reduced if the physical element associated with this Physical Element Status descriptor becomes depopulated.
Reserved2Reserved for future use.