WdfPdoInitAllowForwardingRequestToParent - NtDoc

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

VOID WdfPdoInitAllowForwardingRequestToParent(
  [in] PWDFDEVICE_INIT DeviceInit
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfpdo-wdfpdoinitallowforwardingrequesttoparent)

WdfPdoInitAllowForwardingRequestToParent function

Description

[Applies to KMDF only]

The WdfPdoInitAllowForwardingRequestToParent method enables a driver's ability to call WdfRequestForwardToParentDeviceIoQueue.

Parameters

DeviceInit [in]

A pointer to a WDFDEVICE_INIT structure.

Remarks

If your driver uses WdfRequestForwardToParentDeviceIoQueue to requeue I/O requests from a child device's I/O queue to a parent device's I/O queue, the driver must call WdfPdoInitAllowForwardingRequestToParent before it calls WdfDeviceCreate to create a physical device object (PDO) for the child device. For more information about calling WdfDeviceCreate, see Creating a Framework Device Object.

For more information about WdfPdoInitAllowForwardingRequestToParent and WdfRequestForwardToParentDeviceIoQueue, see Requeuing I/O Requests.

Examples

The following code example enables a driver's ability to call WdfRequestForwardToParentDeviceIoQueue.

WdfPdoInitAllowForwardingRequestToParent(pDeviceInit);

See also

WdfRequestForwardToParentDeviceIoQueue