WDF_REMOVE_LOCK_OPTIONS_FLAGS enumeration (wdfdevice.h)

[Applies to KMDF only]

The WDF_REMOVE_LOCK_OPTIONS_FLAGS enumeration type defines flags that are used in a driver's WDF_REMOVE_LOCK_OPTIONS structure.

Syntax

typedef enum _WDF_REMOVE_LOCK_OPTIONS_FLAGS {
  WDF_REMOVE_LOCK_OPTION_ACQUIRE_FOR_IO = 0x00000001
} WDF_REMOVE_LOCK_OPTIONS_FLAGS;

Constants

 
WDF_REMOVE_LOCK_OPTION_ACQUIRE_FOR_IO
Value: 0x00000001
Specifies that the framework should acquire a remove lock before delivering an IRP of any type to the driver.

Remarks

For more information about using remove locks in a framework-based driver, see WdfDeviceInitSetRemoveLockOptions.

Requirements

Requirement Value
Minimum KMDF version 1.11
Header wdfdevice.h (include Wdf.h)

See also

WDF_REMOVE_LOCK_OPTIONS

WDF_REMOVE_LOCK_OPTIONS_INIT

WdfDeviceInitSetRemoveLockOptions