DirectX SDK |
The DirectMusicSegment.SetStandardMidiFile method 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()
If the method fails, it raises an error, and Err.Number is set.
The method should be called before instruments are downloaded.