Microsoft DirectX 8.0 (Visual Basic)

DirectMusicSegment8.SetStandardMidiFile

Informs DirectMusic that the segment is based on a standard MIDI file, not one authored specifically for DirectMusic. Calling this method ensures that certain events are handled properly when the segment is played.

object.SetStandardMidiFile()

Parts

object
Resolves to a DirectMusicSegment8 object.

Error Codes

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

Remarks

The method should be called before instruments are downloaded.