// wdfrequest.h
VOID WDF_REQUEST_FORWARD_OPTIONS_INIT(
[out] PWDF_REQUEST_FORWARD_OPTIONS ForwardOptions
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF only]
The WDF_REQUEST_FORWARD_OPTIONS_INIT function initializes a WDF_REQUEST_FORWARD_OPTIONS structure.
ForwardOptions [out]A pointer to a WDF_REQUEST_FORWARD_OPTIONS structure.
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.
WdfRequestForwardToParentDeviceIoQueue