Microsoft DirectX 9.0 SDK Update (October 2004) |
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