Microsoft DirectX 8.0 (C++) |
Unloads a previously downloaded DLS instrument.
HRESULT UnloadInstrument( IDirectMusicDownloadedInstrument *pDownloadedInstrument );
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the following error values:
DMUS_E_NOT_DOWNLOADED_TO_PORT |
E_POINTER |
E_NOTIMPL |
This method must be called to free memory allocated by IDirectMusicPort8::DownloadInstrument.
Header: Declared in dmusicc.h.