PHYSICAL_ELEMENT_STATUS_REQUEST structure (ntddstor.h)

The PHYSICAL_ELEMENT_STATUS_REQUEST structure defines the starting element to look for the physical element status of a device.

Syntax

typedef struct _PHYSICAL_ELEMENT_STATUS_REQUEST {
  ULONG Version;
  ULONG Size;
  ULONG StartingElement;
  UCHAR Filter;
  UCHAR ReportType;
  UCHAR Reserved[2];
} PHYSICAL_ELEMENT_STATUS_REQUEST, *PPHYSICAL_ELEMENT_STATUS_REQUEST;

Members

Version

Specifies the version of this structure.

Size

Specifies the size of this structure, in bytes.

StartingElement

Specifies the element identifier of the first physical element addressed by this command.

Filter

Restricts the physical element status descriptors to return based on the following values:

Value Meaning
0 All physical status descriptors are specified by the other fields in the CDB.
1 Only physical element status descriptors for which the value of PhysicalElementHealth in PHYSICAL_ELEMENT_STATUS_DESCRIPTOR is either:
  • Greater than or equal to 0x65 and less than or equal to 0xCF.
  • Equal to 0xFF.

ReportType

Specifies the type of physical element status descriptors to return as defined in the following table:

Value Meaning
0x0 Return descriptors for physical elements, based on the value of Filter.
0x1 Return descriptors for storage elements, based on the value of Filter.

Reserved[2]

Reserved for future use.

Remarks

This structure is an input buffer for IOCTL_STORAGE_GET_PHYSICAL_ELEMENT_STATUS.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1709
Header ntddstor.h

See also

IOCTL_STORAGE_GET_PHYSICAL_ELEMENT_STATUS

PHYSICAL_ELEMENT_STATUS_DESCRIPTOR