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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for