WDF_REQUEST_FORWARD_OPTIONS_INIT function

[Applies to KMDF only]

The WDF_REQUEST_FORWARD_OPTIONS_INIT function initializes a WDF_REQUEST_FORWARD_OPTIONS structure.

Syntax


VOID WDF_REQUEST_FORWARD_OPTIONS_INIT(
  _Out_ PWDF_REQUEST_FORWARD_OPTIONS ForwardOptions
);

Parameters

ForwardOptions [out]

A pointer to a WDF_REQUEST_FORWARD_OPTIONS structure.

Return value

None.

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.

Requirements

Target platform

Universal

Minimum KMDF version

1.9

Header

Wdfrequest.h (include Wdf.h)

See also

WDF_REQUEST_FORWARD_OPTIONS
WdfRequestForwardToParentDeviceIoQueue

 

 

Send comments about this topic to Microsoft

Show: