Expand Minimize

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            = 0x01,
  WdfDeviceLastChanceShutdown  = 0x02
} 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

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.