// swenum.h
KSDDKAPI VOID KsDereferenceSoftwareBusObject(
[in] KSDEVICE_HEADER Header
);
View the official Windows Driver Kit DDI referenceNo description available.
This function is intended for internal use only.
The KsDereferenceSoftwareBusObject function decrements 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.
None
A minidriver can access this function through the DereferenceDeviceObject member of the BUS_INTERFACE_SWENUM structure.
When the demand-load bus enumerator object's PDO reference count is 0, it becomes eligible for removal. Note that this condition does not guarantee removal.