Funzione IoUnregisterShutdownNotification (wdm.h)

La routine IoUnregisterShutdownNotification rimuove un driver registrato dalla coda di notifica di arresto.

Sintassi

void IoUnregisterShutdownNotification(
  [in] PDEVICE_OBJECT DeviceObject
);

Parametri

[in] DeviceObject

Puntatore all'oggetto dispositivo del driver.

Valore restituito

nessuno

Osservazioni

IoUnregisterShutdownNotification può essere chiamato da un driver solo se tale driver precedentemente denominato IoRegisterShutdownNotification o IoRegisterLastChanceShutdownNotification con l'oggetto DeviceObject specificato. Questa routine viene in genere chiamata dalla routine Unload di un driver.

La chiamata a IoUnregisterShutdownNotification annulla tutte le notifiche di arresto registrate per il deviceObject specificato.

Requisiti

Requisito Valore
Client minimo supportato Disponibile a partire da Windows 2000.
Piattaforma di destinazione Universale
Intestazione wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Libreria NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL
Regole di conformità DDI HwStorPortProhibitedDDIs(storport), IrqlIoPassive5(wdm), PowerIrpDDis(wdm)

Vedi anche

IoRegisterLastChanceShutdownNotification

IoRegisterShutdownNotification