IDirectMusicLoader::ReleaseObject
This method releases the loader's reference to the object.
HRESULT ReleaseObject(
IDirectMusicObject* pObject
);
Parameters
- pObject
Address of a variable that contains the object to release.
Return Values
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the following error values:
E_POINTER |
DMUS_E_LOADER_OBJECTNOTFOUND |
Remarks
ReleaseObject is the reciprocal of IDirectMusicLoader::CacheObject.
Objects can be cached explicitly by using the CacheObject method, or automatically by using the IDirectMusicLoader::EnableCache method.
To tell the loader to flush all objects of a particular type, call the IDirectMusicLoader::ClearCache method.
Requirements
OS Versions: Windows CE .NET 4.0 and Windows CE .NET 4.1.
Header: Dmusici.h.
Link Library: Dmusic.lib.
See Also
Caching Objects | IDirectMusicLoader::CacheObject | IDirectMusicLoader::ClearCache | IDirectMusicLoader::EnableCache | IDirectMusicLoader::GetObject
Last updated on Monday, April 12, 2004
© 1992-2002 Microsoft Corporation. All rights reserved.