// swenum.h
KSDDKAPI NTSTATUS KsReferenceSoftwareBusObject(
[in] KSDEVICE_HEADER Header
);
View the official Windows Driver Kit DDI referenceNo description available.
This function is intended for internal use only.
The KsReferenceSoftwareBusObject function increments the reference count of the demand-load bus enumerator object's PDO.
Header [in]Pointer to the device header (extension) of the demand-load bus enumerator.
Returns STATUS_SUCCESS if the request is handled. Otherwise, it returns an appropriate error code.
A minidriver can access this function through the ReferenceDeviceObject member of the BUS_INTERFACE_SWENUM structure.
The device object remains active and enumerated until the reference count returns to 0.
KsDereferenceSoftwareBusObject