STORAGE_TEMPERATURE_INFO struttura (winioctl.h)

Descrive i dati relativi alla temperatura del dispositivo. Restituito come parte di STORAGE_TEMPERATURE_DATA_DESCRIPTOR durante la query per i dati relativi alla temperatura con una richiesta di IOCTL_STORAGE_QUERY_PROPERTY .

Sintassi

typedef struct _STORAGE_TEMPERATURE_INFO {
  WORD    Index;
  SHORT   Temperature;
  SHORT   OverThreshold;
  SHORT   UnderThreshold;
  BOOLEAN OverThresholdChangable;
  BOOLEAN UnderThresholdChangable;
  BOOLEAN EventGenerated;
  BYTE    Reserved0;
  DWORD   Reserved1;
} STORAGE_TEMPERATURE_INFO, *PSTORAGE_TEMPERATURE_INFO;

Members

Index

Identifica l'istanza delle informazioni sulla temperatura. Inizia da 0. L'indice 0 può indicare un valore composito.

Temperature

Valore firmato che indica la temperatura corrente, in gradi Celsius.

OverThreshold

Valore firmato che specifica la temperatura massima all'interno della soglia desiderata, in gradi Celsius.

UnderThreshold

Valore firmato che specifica la temperatura minima entro la soglia desiderata, in gradi Celsius.

OverThresholdChangable

Indica se OverThreshold può essere modificato usando IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD.

UnderThresholdChangable

Indica se UnderThreshold può essere modificato usando IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD.

EventGenerated

Indica se una notifica verrà generata quando la temperatura corrente supera una soglia.

Reserved0

Riservato per usi futuri.

Reserved1

Riservato per usi futuri.

Requisiti

Requisito Valore
Client minimo supportato Windows 10
Server minimo supportato Windows Server 2016
Intestazione winioctl.h (include Windows.h)

Vedi anche

IOCTL_STORAGE_QUERY_PROPERTY

IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD

STORAGE_PROPERTY_ID

STORAGE_PROPERTY_QUERY