Platform SDK: DirectX

DirectMusicSegment.Unload

The DirectMusicSegment.Unload method unloads instruments that were downloaded to the port by the DirectMusicSegment.Download method.

object.Unload(performance As DirectMusicPerformance)

Parameters

object
Object expression that resolves to a DirectMusicSegment object.
performance
DirectMusicPerformance object from whose port the instruments are being unloaded.

Error Codes

If the method fails, it raises an error, and Err.Number is set.

See Also

DirectMusicSegment.SetAutoDownloadEnable