Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

IoUnregisterShutdownNotification routine

The IoUnregisterShutdownNotification routine removes a registered driver from the shutdown notification queue.

Syntax


VOID IoUnregisterShutdownNotification(
  _In_  PDEVICE_OBJECT DeviceObject
);

Parameters

DeviceObject [in]

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

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL

DDI compliance rules

IrqlIoPassive5, PowerIrpDDis, HwStorPortProhibitedDDIs

See also

IoRegisterShutdownNotification
IoRegisterLastChanceShutdownNotification

 

 

Send comments about this topic to Microsoft

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.