WDF_REMOVE_LOCK_OPTIONS_INIT function (wdfdevice.h)
[Applies to KMDF only]
The WDF_REMOVE_LOCK_OPTIONS_INIT function initializes a WDF_REMOVE_LOCK_OPTIONS structure.
Syntax
void WDF_REMOVE_LOCK_OPTIONS_INIT(
[out] PWDF_REMOVE_LOCK_OPTIONS RemoveLockOptions,
[in] ULONG Flags
);
Parameters
[out] RemoveLockOptions
A pointer to a WDF_REMOVE_LOCK_OPTIONS structure.
[in] Flags
WDF_REMOVE_LOCK_OPTIONS_FLAGS-typed flags.
Return value
None
Remarks
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.11 |
Header | wdfdevice.h (include Wdf.h) |