Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CollectGarbage method removes from the cache objects that are no longer in use.
Syntax
CollectGarbage();
Parameters
None.
Return Values
None.
Remarks
When an application calls IDirectMusicLoader8::ReleaseObject, the object is removed from the cache, and any objects it references become candidates for removal. IDirectMusicLoader8::CollectGarbage finds cached objects that are no longer being used by other objects, removes them from the cache, and releases them from memory.
Requirements
** Header:** Dmusici.h
Library: Dmloader.dll, Dmloaded.dll
See Also