MidiSilence

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.

Parameters

Return values

TRUE if the sequence was silenced or FALSE if not. The most likely reason for an error is an invalid sequence handle.

Remarks

If the sequence is playing, new sounds will still be played.

Example

For an example, check MidiNext.


Further information

Released in November 19th, 2003
Updated in April 29th, 2004
Property of Breno de Lima Sarmento
Home page: http://www27.brinkster.com/brels
E-mail: breno_sarmento@hotmail.com
ICQ: 78977999 ()