Microsoft DirectX 8.1 (Visual Basic) |
The SetAutoDownloadEnable method enables or disables automatic downloading and unloading of instruments in the collection associated with the segment.
object.SetAutoDownloadEnable(b As Boolean)
Parts
object
Resolves to a DirectMusicSegment8 object.
b
True to enable autodownloading, or False to disable it.
Remarks
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.
Error Codes
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 |
See Also