Condividi tramite


IOCTL_STORAGE_RESET_BUS IOCTL (ntddstor.h)

Reimposta un bus di I/O e, indirettamente, ogni dispositivo nel bus. La reimpostazione del bus cancella tutte le prenotazioni dei dispositivi e le impostazioni di velocità di trasferimento, che devono quindi essere rinegoziate, rendendo un'operazione che richiede tempo che deve essere usata molto raramente. Il chiamante richiede solo l'accesso in lettura per generare una reimpostazione del bus.

Il flag SrbStatus degli SRB in sospeso è impostato su SRB_STATUS_BUS_RESET.

Codice principale

IRP_MJ_DEVICE_CONTROL

Buffer di input

Il buffer in Irp-AssociatedIrp.SystemBuffer> contiene una struttura STORAGE_BUS_RESET_REQUEST che specifica l'ID percorso del bus da reimpostare.

Lunghezza del buffer di input

Lunghezza di una struttura STORAGE_BUS_RESET_REQUEST .

Buffer di output

Nessuno.

Lunghezza del buffer di output

Nessuno.

Blocco dello stato

Il campo Informazioni è impostato su zero. Il campo Stato è impostato su STATUS_SUCCESS o eventualmente su STATUS_INSUFFICIENT_RESOURCES, STATUS_NOT_IMPLEMENTED o STATUS_INVALID_DEVICE_REQUEST.

Requisiti

Requisito Valore
Intestazione ntddstor.h (include Ntddstor.h)

Vedi anche

STORAGE_BUS_RESET_REQUEST