Partager via


IoUnregisterShutdownNotification, fonction (wdm.h)

La routine IoUnregisterShutdownNotification supprime un pilote inscrit de la file d’attente de notification d’arrêt.

Syntaxe

VOID IoUnregisterShutdownNotification(
  [in] PDEVICE_OBJECT DeviceObject
);

Paramètres

[in] DeviceObject

Pointeur vers l’objet périphérique du pilote.

Valeur de retour

Aucun

Remarques

IoUnregisterShutdownNotification peut être appelé par un pilote uniquement si ce pilote a précédemment appelé IoRegisterShutdownNotification ou IoRegisterLastChanceShutdownNotification avec le DeviceObjectdonné. Cette routine est généralement appelée à partir de la routine de déchargement d’un pilote.

L’appel IoUnregisterShutdownNotification annule toutes les notifications d’arrêt inscrites pour le DeviceObjectdonné.

Exigences

Exigence Valeur
client minimum pris en charge Disponible à partir de Windows 2000.
plateforme cible Universel
d’en-tête wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
bibliothèque NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL
règles de conformité DDI HwStorPortProhibitedDDIs(storport), IrqlIoPassive5(wdm), PowerIrpDDis(wdm)

Voir aussi

IoRegisterLastChanceShutdownNotification

IoRegisterShutdownNotification