|Microsoft DirectX 9.0|
The ReleaseObjectByUnknown method releases the loader's reference to an object. This method is similar to IDirectMusicLoader8::ReleaseObject and is suitable for releasing objects for which the IDirectMusicObject8 interface is not readily available.
HRESULT ReleaseObject( IUnknown * pObject );
Address of the IUnknown interface pointer of the object to release.
If the method succeeds, the return value is S_OK, or S_FALSE if the object has already been released or cannot be found in the cache.
If it fails, the method can return E_POINTER.
Header: Declared in dmusici.h.