STORAGE_DEVICE_LED_STATE_DESCRIPTOR structure (ntddstor.h)

The STORAGE_DEVICE_LED_STATE_DESCRIPTOR structure describes the LED state of a device.

Syntax

typedef struct _STORAGE_DEVICE_LED_STATE_DESCRIPTOR {
  ULONG     Version;
  ULONG     Size;
  ULONGLONG State;
} STORAGE_DEVICE_LED_STATE_DESCRIPTOR, *PSTORAGE_DEVICE_LED_STATE_DESCRIPTOR;

Members

Version

Version of this structure. Set to sizeof(STORAGE_DEVICE_LED_STATE_DESCRIPTOR).

Size

Size of this structure, in bytes. Must be >= sizeof(STORAGE_DEVICE_LED_STATE_DESCRIPTOR).

State

Opaque structure that contains the unit's LED state.

Remarks

The unit's LED state is returned in a STORAGE_DEVICE_LED_STATE_DESCRIPTOR structure during an IOCTL_STORAGE_QUERY_PROPERTY request with a PropertyId of StorageDeviceLedStateProperty.

Requirements

Requirement Value
Minimum supported server Windows Server 2022
Header ntddstor.h

See also

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_PROPERTY_ID

STORAGE_PROPERTY_QUERY