Condividi tramite


struttura STORAGE_FRU_ID_DESCRIPTOR (ntddstor.h)

STORAGE_FRU_ID_DESCRIPTOR è la struttura usata quando un chiamante invia IOCTL_STORAGE_QUERY_PROPERTY per eseguire una query per l'ID di un'unità di sostituzione degli errori (FRU).

Sintassi

typedef struct _STORAGE_FRU_ID_DESCRIPTOR {
  ULONG Version;
  ULONG Size;
  ULONG IdentifierSize;
  UCHAR Identifier[ANYSIZE_ARRAY];
} STORAGE_FRU_ID_DESCRIPTOR, *PSTORAGE_FRU_ID_DESCRIPTOR;

Membri

Version

Versione di questa struttura. Impostare su sizeof(STORAGE_FRU_ID_DESCRIPTOR).

Size

Dimensioni di questa struttura, in byte. Deve essere >= sizeof(STORAGE_FRU_ID_DESCRIPTOR).

IdentifierSize

Dimensione della matrice in Identificatore, in byte.

Identifier[ANYSIZE_ARRAY]

Matrice in cui scrivere l'identificatore del fru. La dimensione di questa matrice è IdentifierSize byte.

Osservazioni

STORAGE_FRU_ID_DESCRIPTOR viene usato come buffer di output in cui restituire il risultato quando un chiamante invia IOCTL_STORAGE_QUERY_PROPERTY con un valore STORAGE_PROPERTY_ID di StorageFruIdProperty.

Fabbisogno

Requisito Valore
intestazione ntddstor.h

Vedere anche

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_PROPERTY_ID

STORAGE_PROPERTY_QUERY

STORAGE_QUERY_TYPE