KsQuerySoftwareBusInterface - NtDoc

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

KSDDKAPI NTSTATUS KsQuerySoftwareBusInterface(
  [in]  PDEVICE_OBJECT        PnpDeviceObject,
  [out] PBUS_INTERFACE_SWENUM BusInterface
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

KsQuerySoftwareBusInterface function

Description

This function is intended for internal use only.

The KsQuerySoftwareBusInterface function creates a buffer from the paged pool and copies the reference string associated with the demand-load bus enumerator object's PDO into the buffer. It is the caller's responsibility to free the buffer using ExFreePool.

Parameters

PnpDeviceObject [in]

Pointer to the demand-load bus enumerator's device object.

BusInterface [out]

Pointer to the demand-load bus enumerator's interface.

Return value

Returns STATUS_SUCCESS if the request is handled. Otherwise, it returns an appropriate error code.

Remarks

A minidriver can access this function through the QueryReferenceString member of the BUS_INTERFACE_SWENUM structure.

See also

BUS_INTERFACE_SWENUM

KsDereferenceSoftwareBusObject

KsReferenceSoftwareBusObject