KsDereferenceSoftwareBusObject function (swenum.h)
This function is intended for internal use only.
The KsDereferenceSoftwareBusObject function decrements the reference count of the demand-load bus enumerator object's PDO.
Syntax
KSDDKAPI VOID KsDereferenceSoftwareBusObject(
[in] KSDEVICE_HEADER Header
);
Parameters
[in] Header
Pointer to the device header (extension) of the demand-load bus enumerator.
Return value
None
Remarks
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | swenum.h (include Swenum.h) |
Library | Ks.lib |