Partilhar via


STORAGE_DEVICE_LED_STATE_DESCRIPTOR estrutura (ntddstor.h)

A estrutura STORAGE_DEVICE_LED_STATE_DESCRIPTOR descreve o estado LED de um dispositivo.

Sintaxe

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

Membros

Version

Versão dessa estrutura. Definido como sizeof(STORAGE_DEVICE_LED_STATE_DESCRIPTOR).

Size

Tamanho dessa estrutura, em bytes. Deve ser >= sizeof(STORAGE_DEVICE_LED_STATE_DESCRIPTOR).

State

Estrutura opaca que contém o estado LED da unidade.

Observações

O estado LED da unidade é retornado em uma estrutura de STORAGE_DEVICE_LED_STATE_DESCRIPTOR durante uma solicitação IOCTL_STORAGE_QUERY_PROPERTY com um PropertyId de StorageDeviceLedStateProperty.

Requisitos

Requisito Valor
servidor com suporte mínimo Windows Server 2022
cabeçalho ntddstor.h

Consulte também

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_PROPERTY_ID

STORAGE_PROPERTY_QUERY