Microsoft DirectX 8.1 (Visual Basic)

DirectMusicSegment8.Download

The Download method downloads band and wave data to a performance or audiopath.

object.Download(downloadpath As Unknown)

Parts

object

Resolves to a DirectMusicSegment8 object. 

downloadpath

DirectMusicAudioPath8 or DirectMusicPerformance8 object to which the instruments are being downloaded.

Error Codes

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

DMUS_E_NOT_FOUND
DMUS_E_TRACK_NOT_FOUND

Remarks

All bands and wave data in the segment are downloaded.

Always call DirectMusicSegment8.Unload before the segment object goes out of scope or is otherwise destroyed.

See Also