Microsoft DirectX 8.0 (Visual Basic)

DirectMusicBand8.Unload

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