Condividi tramite


IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD IOCTL (ntddstor.h)

Un driver può usare IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD per impostare la soglia di temperatura di un dispositivo di archiviazione (quando supportato dall'hardware). Usare IOCTL_STORAGE_QUERY_PROPERTY per determinare se il dispositivo supporta la modifica delle soglie sopra e sotto la temperatura.

Codice principale

IRP_MJ_DEVICE_CONTROL

Buffer di input

Struttura STORAGE_TEMPERATURE_THRESHOLD .

Lunghezza del buffer di input

Parameters.DeviceIoControl.OutputBufferLength nella posizione dello stack I/O indica le dimensioni, in byte, del buffer dei parametri, che deve essere >= sizeof(STORAGE_TEMPERATURE_THRESHOLD).

Buffer di output

Questo IOCTL non ha alcuna struttura di output.

Lunghezza del buffer di output

Questo IOCTL non ha alcuna struttura di output.

Blocco dello stato

Il campo Informazioni è impostato sul numero di byte restituiti. Il campo Stato è impostato su STATUS_SUCCESS o eventualmente su STATUS_INSUFFICIENT_RESOURCES.

Requisiti

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

Vedi anche

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_PROPERTY_ID

STORAGE_PROPERTY_QUERY

STORAGE_TEMPERATURE_INFO