Platform SDK: DirectX |
The IDirectMusicLoader::ClearCache method 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 IDirectMusicLoader::EnableCache method to turn off automatic caching.
To clear a single object from the cache, call the IDirectMusicLoader::ReleaseObject method.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dmusici.h.