// wdfdevice.h
VOID WDF_REMOVE_LOCK_OPTIONS_INIT(
[out] PWDF_REMOVE_LOCK_OPTIONS RemoveLockOptions,
[in] ULONG Flags
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF only]
The WDF_REMOVE_LOCK_OPTIONS_INIT function initializes a WDF_REMOVE_LOCK_OPTIONS structure.
RemoveLockOptions [out]A pointer to a WDF_REMOVE_LOCK_OPTIONS structure.
Flags [in]WDF_REMOVE_LOCK_OPTIONS_FLAGS-typed flags.
The WDF_REMOVE_LOCK_OPTIONS_INIT function zeros the WDF_REMOVE_LOCK_OPTIONS structure that the RemoveLockOptions parameter specifies and sets its Size member. This function also sets the structure's Flags member to the value provided in the Flags parameter.
Before a driver calls WdfDeviceInitSetRemoveLockOptions, it must call WDF_REMOVE_LOCK_OPTIONS_INIT to initialize a WDF_REMOVE_LOCK_OPTIONS structure.
For a code example that uses WDF_REMOVE_LOCK_OPTIONS_INIT, see WdfDeviceInitSetRemoveLockOptions.
WdfDeviceInitSetRemoveLockOptions