KsGetBusEnumPnpDeviceObject - NtDoc

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

KSDDKAPI NTSTATUS KsGetBusEnumPnpDeviceObject(
  [in]  PDEVICE_OBJECT DeviceObject,
  [out] PDEVICE_OBJECT *PnpDeviceObject
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-swenum-ksgetbusenumpnpdeviceobject)

KsGetBusEnumPnpDeviceObject function

Description

This function is intended for internal use only.

The KsGetBusEnumPnpDeviceObject function retrieves the Plug and Play device object attached to the given device object.

Parameters

DeviceObject [in]

Pointer to the device object from which to retrieve the Plug and Play device object.

PnpDeviceObject [out]

Pointer to the device object to receive the Plug and Play device object pointer.

Return value

Returns STATUS_SUCCESS if successful, or STATUS_INVALID_PARAMETER if DeviceObject does not contain a device extension, or if the device extension specified in DeviceObject is not that of an FDO.