KsQueryDevicePnpObject function

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.

Syntax


PDEVICE_OBJECT KsQueryDevicePnpObject(
  _In_ KSDEVICE_HEADER Header
);

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.

Requirements

Target platform

Universal

Header

Ks.h (include Ks.h)

Library

Ks.lib

See also

KsDefaultDispatchPnp

 

 

Send comments about this topic to Microsoft

Show: