IoUnregisterShutdownNotification

VOID
IoUnregisterShutdownNotification(

IN PDEVICE_OBJECT DeviceObject
);

IoUnregisterShutdownNotification removes a registered driver from the shutdown notification queue. The driver is not notified when the system is being shut down.

Parameters

DeviceObject

Points to the driver's device object.

Comments

IoUnregisterShutdownNotification can be called by a driver only if that driver previously called IoRegisterShutdownNotification with the given DeviceObject. This routine is usually called from a driver's Unload routine.

Callers of IoUnregisterShutdownNotification must be running at IRQL PASSIVE_LEVEL.

See Also

IoRegisterShutdownNotification