BOOL WINAPI MidiSilence ( HANDLE hSequence );
This function stops all playing sounds from a sequence. Use it when doing manual playback with MidiNext or after suspending a sequence with MidiSuspend.
TRUE if the sequence was silenced or
FALSE if not. The most likely reason for an error is an invalid sequence handle.
If the sequence is playing, new sounds will still be played.
For an example, check MidiNext.
Released in November 19th, 2003
Updated in April 29th, 2004
Property of Breno de Lima Sarmento
Home page: http://www27.brinkster.com/brels
ICQ: 78977999 ()