Platform SDK: DirectX |
The DirectMusicSegment.SetAutoDownloadEnable method enables or disables automatic downloading and unloading of instruments in the collection associated with the segment.
object.SetAutoDownloadEnable(b As Boolean)
Automatic downloading is disabled by default. When it is enabled, instruments are automatically downloaded when the segment is played, and unloaded when it is stopped.
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DMUS_E_SET_UNSUPPORTED |
DMUS_E_TRACK_NOT_FOUND |