WDF_DEVICE_SHUTDOWN_FLAGS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfcontrol.h

typedef enum _WDF_DEVICE_SHUTDOWN_FLAGS {
  WdfDeviceShutdown = 0x01,
  WdfDeviceLastChanceShutdown = 0x02
} WDF_DEVICE_SHUTDOWN_FLAGS;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-wdfcontrol-_wdf_device_shutdown_flags)

_WDF_DEVICE_SHUTDOWN_FLAGS enumeration

Description

[Applies to KMDF only]

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

Constants

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.

Remarks

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

See also

WdfControlDeviceInitSetShutdownNotification