// wdfcontrol.h
typedef enum _WDF_DEVICE_SHUTDOWN_FLAGS {
WdfDeviceShutdown = 0x01,
WdfDeviceLastChanceShutdown = 0x02
} WDF_DEVICE_SHUTDOWN_FLAGS;
View the official Windows Driver Kit DDI reference
No description available.
[Applies to KMDF only]
The WDF_DEVICE_SHUTDOWN_FLAGS enumeration defines flags that identify types of shutdown notifications that a driver can receive.
WdfDeviceShutdown:0x01
The driver is notified when the system is losing its power, but before file systems are flushed.
WdfDeviceLastChanceShutdown:0x02
The driver is notified when the system is losing its power, and after all file systems have been flushed.
The WDF_DEVICE_SHUTDOWN_FLAGS enumeration is used as an input parameter to WdfControlDeviceInitSetShutdownNotification.
WdfControlDeviceInitSetShutdownNotification