WDF_REQUEST_FORWARD_OPTIONS_INIT - NtDoc

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

VOID WDF_REQUEST_FORWARD_OPTIONS_INIT(
  [out] PWDF_REQUEST_FORWARD_OPTIONS ForwardOptions
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfrequest-wdf_request_forward_options_init)

WDF_REQUEST_FORWARD_OPTIONS_INIT function

Description

[Applies to KMDF only]

The WDF_REQUEST_FORWARD_OPTIONS_INIT function initializes a WDF_REQUEST_FORWARD_OPTIONS structure.

Parameters

ForwardOptions [out]

A pointer to a WDF_REQUEST_FORWARD_OPTIONS structure.

Remarks

Before a driver calls WdfRequestForwardToParentDeviceIoQueue, it must call WDF_REQUEST_FORWARD_OPTIONS_INIT to initialize a WDF_REQUEST_FORWARD_OPTIONS structure.

The WDF_REQUEST_FORWARD_OPTIONS_INIT function zeros the specified WDF_REQUEST_FORWARD_OPTIONS structure and sets the structure's Size member. Then the function sets the WDF_REQUEST_FORWARD_OPTION_SEND_AND_FORGET flag.

For a code example that uses WDF_REQUEST_FORWARD_OPTIONS_INIT, see WdfRequestForwardToParentDeviceIoQueue.

See also

WDF_REQUEST_FORWARD_OPTIONS

WdfRequestForwardToParentDeviceIoQueue