KsQueryDevicePnpObject - NtDoc

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

KSDDKAPI PDEVICE_OBJECT KsQueryDevicePnpObject(
  [in] KSDEVICE_HEADER Header
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ks-ksquerydevicepnpobject)

KsQueryDevicePnpObject function

Description

The KsQueryDevicePnpObject function returns the PnP device object that can be stored in the device header. This is the next device object on the PnP stack and is the device object that PnP requests are forwarded to if KsDefaultDispatchPnp is used.

Parameters

Header [in]

Points to a header previously allocated by KsAllocateDeviceHeader whose PnP device object is to be returned.

Return value

The KsQueryDevicePnpObject function returns the previously set PnP device object. If none was set, it returns NULL.

See also

KsDefaultDispatchPnp