Microsoft DirectX 8.1 (Visual Basic)

DirectMusicBand8.Unload

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

object.Unload(downloadpath As Unknown)

Parts

object

Resolves to a DirectMusicBand8 object.

downloadpath

DirectMusicAudioPath8 or DirectMusicPerformance8 object that specifies the path to which the band was downloaded.

Error Codes

If the method fails, it raises an error. Possible values of Err.Number include the following:

DMUS_E_NOT_INIT
DMUS_E_NOT_FOUND