|Microsoft DirectX 9.0|
The UnloadInstrument method unloads a previously downloaded
HRESULT UnloadInstrument( IDirectMusicDownloadedInstrument *pDownloadedInstrument );
Address of an IDirectMusicDownloadedInstrument8 interface, obtained when the instrument was downloaded by calling the IDirectMusicPort8::DownloadInstrument method.
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the error values shown in the following table.
This method must be called to free memory allocated by IDirectMusicPort8::DownloadInstrument.
Header: Declared in dmusicc.h.