IOCTL_STORAGE_FIRMWARE_DOWNLOAD IOCTL (ntddstor.h)

Un driver può usare IOCTL_STORAGE_FIRMWARE_DOWNLOAD per scaricare un'immagine del firmware in un dispositivo di archiviazione, ma non la attiva. Se l'immagine da scaricare è superiore alla dimensione massima del trasferimento dei dati del controller, questo IOCTL dovrà essere chiamato più volte fino a quando non viene scaricata l'intera immagine.

Codice principale

IRP_MJ_DEVICE_CONTROL

Buffer di input

Irp->AssociatedIrp.SystemBuffer contiene STORAGE_HW_FIRMWARE_DOWNLOAD dati che specificano informazioni sul firmware scaricato da attivare.

Lunghezza del buffer di input

Parameters.DeviceIoControl.InputBufferLength indica le dimensioni, in byte, del buffer dei parametri in Irp->AssociatedIrp.SystemBuffer, che deve essere >= sizeof(STORAGE_HW_FIRMWARE_DOWNLOAD).

Buffer di output

Questo IOCTL non ha alcuna struttura di output.

Lunghezza del buffer di output

Nessuno.

Blocco dello stato

Il campo Informazioni viene 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_FIRMWARE_ACTIVATE

IOCTL_STORAGE_FIRMWARE_GET_INFO

STORAGE_HW_FIRMWARE_ACTIVATE

STORAGE_HW_FIRMWARE_DOWNLOAD

STORAGE_HW_FIRMWARE_INFO

STORAGE_HW_FIRMWARE_INFO_QUERY

STORAGE_HW_FIRMWARE_SLOT_INFO