Microsoft DirectX 8.0 (C++) |
Tells the loader to release all references to a particular type of object.
HRESULT ClearCache( REFGUID rguidClass );
The method returns S_OK.
This method clears all objects that are currently being held, but does not turn off caching. Use the IDirectMusicLoader8::EnableCache method to turn off automatic caching.
To clear a single object from the cache, call the IDirectMusicLoader8::ReleaseObject method.
Header: Declared in dmusici.h.