Partager via


IDirectMusicLoader8::CollectGarbage

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

© 2004 Microsoft Corporation. All rights reserved.