// ks.h
void KsFreeObjectBag(
[in] KSOBJECT_BAG ObjectBag
);
View the official Windows Driver Kit DDI reference
No description available.
The KsFreeObjectBag function empties and frees an object bag.
ObjectBag
[in]The KSOBJECT_BAG (equivalent to type PVOID) to be emptied and then freed.
For more information, see Object Bags.
KsFreeObjectBag removes any items present in ObjectBag. In addition, if the reference count for a given object is zero (that is, the object is not present in any other object bag associated with the same device as ObjectBag), then that item is freed.