WDF_REMOVE_LOCK_OPTIONS_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfdevice.h

VOID WDF_REMOVE_LOCK_OPTIONS_INIT(
  [out] PWDF_REMOVE_LOCK_OPTIONS RemoveLockOptions,
  [in]  ULONG                    Flags
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfdevice-wdf_remove_lock_options_init)

WDF_REMOVE_LOCK_OPTIONS_INIT function

Description

[Applies to KMDF only]

The WDF_REMOVE_LOCK_OPTIONS_INIT function initializes a WDF_REMOVE_LOCK_OPTIONS structure.

Parameters

RemoveLockOptions [out]

A pointer to a WDF_REMOVE_LOCK_OPTIONS structure.

Flags [in]

WDF_REMOVE_LOCK_OPTIONS_FLAGS-typed flags.

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.

See also

WDF_REMOVE_LOCK_OPTIONS

WDF_REMOVE_LOCK_OPTIONS_FLAGS

WdfDeviceInitSetRemoveLockOptions