Microsoft DirectX 8.0 (C++)

IDirectMusicBand8::Unload

Unloads the DLS data for instruments in the band previously downloaded by IDirectMusicBand8::Download.

HRESULT Unload(
  IDirectMusicPerformance* pPerformance
);

Parameters

pPerformance
Performance from which to unload instruments.

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:

DMUS_E_NOT_INIT
DMUS_E_NOT_FOUND

Requirements

  Header: Declared in dmusici.h.

See Also

IDirectMusicPort8::UnloadInstrument