IoUnregisterShutdownNotification function (wdm.h)
The IoUnregisterShutdownNotification routine removes a registered driver from the shutdown notification queue.
Syntax
void IoUnregisterShutdownNotification(
[in] PDEVICE_OBJECT DeviceObject
);
Parameters
[in] DeviceObject
Pointer to the driver's device object.
Return value
None
Remarks
IoUnregisterShutdownNotification can be called by a driver only if that driver previously called IoRegisterShutdownNotification or IoRegisterLastChanceShutdownNotification with the given DeviceObject. This routine is usually called from a driver's Unload routine.
Calling IoUnregisterShutdownNotification cancels all shutdown notifications that have been registered for the given DeviceObject.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | PASSIVE_LEVEL |
DDI compliance rules | HwStorPortProhibitedDDIs(storport), IrqlIoPassive5(wdm), PowerIrpDDis(wdm) |