// ks.h
KSDDKAPI VOID KsSetDevicePnpAndBaseObject(
[in] KSDEVICE_HEADER Header,
[in] PDEVICE_OBJECT PnpDeviceObject,
PDEVICE_OBJECT BaseObject
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsSetDevicePnpAndBaseObject function sets the PnP device object in the device header, which is the next device object on the PnP stack and is the device object that PnP requests are forwarded to if KsDefaultDispatchPnp is used.
Header [in]Points to a header previously allocated by KsAllocateDeviceHeader in which to put the PnP device object.
PnpDeviceObject [in]Specifies the PnP device object to place in the device header, overwriting any previously set device object.
BaseObjectSpecifies the base device object to which this device header is attached. This must be set if KsRecalculateStackDepth is used.
None