_WDF_DEVICE_SHUTDOWN_FLAGS Enumeration

[Applies to KMDF only]

The WDF_DEVICE_SHUTDOWN_FLAGS enumeration defines flags that identify types of shutdown notifications that a driver can receive.

Syntax

typedef enum _WDF_DEVICE_SHUTDOWN_FLAGS {
  WdfDeviceShutdown            ,
  WdfDeviceLastChanceShutdown
} WDF_DEVICE_SHUTDOWN_FLAGS;

Constants

WdfDeviceShutdown The driver is notified when the system is losing its power, but before file systems are flushed.
WdfDeviceLastChanceShutdown The driver is notified when the system is losing its power, and after all file systems have been flushed.

Remarks

The WDF_DEVICE_SHUTDOWN_FLAGS enumeration is used as an input parameter to WdfControlDeviceInitSetShutdownNotification.

Requirements

   
Minimum KMDF version 1.0
Header wdfcontrol.h (include Wdf.h)

See Also

WdfControlDeviceInitSetShutdownNotification