Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Reference
 WdfPdoInitAllowForwardingRequestToP...
Windows Driver Kit: Kernel-Mode Driver Framework
WdfPdoInitAllowForwardingRequestToParent

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

VOID
  WdfPdoInitAllowForwardingRequestToParent(
    __in PWDFDEVICE_INIT  DeviceInit
    );

Parameters

DeviceInit
A pointer to a WDFDEVICE_INIT structure.

Return Value

None.

Comments

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.

Example

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

WdfPdoInitAllowForwardingRequestToParent(pDeviceInit);

Requirements

Versions: The WdfPdoInitAllowForwardingRequestToParent method is available in version 1.9 and later versions of KMDF.

IRQL: PASSIVE_LEVEL

Headers: Declared in wdfpdo.h. Include wdf.h.

See Also

WdfRequestForwardToParentDeviceIoQueue


Send feedback on this topic
Built on October 01, 2009
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker