WDF_REMOVE_LOCK_OPTIONS_INIT function
[Applies to KMDF only]
The WDF_REMOVE_LOCK_OPTIONS_INIT function initializes a WDF_REMOVE_LOCK_OPTIONS structure.
Syntax
__inline
void WDF_REMOVE_LOCK_OPTIONS_INIT(
_Out_ PWDF_REMOVE_LOCK_OPTIONS RemoveLockOptions,
_In_ ULONG Flags
);
Parameters
- RemoveLockOptions [out]
-
A pointer to a WDF_REMOVE_LOCK_OPTIONS structure.
- Flags [in]
-
WDF_REMOVE_LOCK_OPTIONS_FLAGS-typed flags.
Return value
This function does not return a value.
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
Minimum KMDF version | 1.11 |
---|---|
Header |
|
See also