Share via


IDirectMusicBand8::Unload

The Unload method unloads the DLS data for instruments in the band previously downloaded by IDirectMusicBand8::Download.

Syntax

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 error values shown in the following table.

Return code
DMUS_E_NOT_INIT
DMUS_E_NOT_FOUND

Requirements

**  Header:** Dmusici.h
  Library: Dmband.dll, Dmbandd.dll

See Also

© 2004 Microsoft Corporation. All rights reserved.