MidiCleanEvents

DWORD WINAPI MidiCleanEvents
(
	DWORD dwEvents, 
	LPBRELS_MIDI_EVENT lpEvents
);

This function deallocates an array created by MidiGetTrackEvents.

Parameters

Return values

Returns the number of cleaned events (the same value in dwEvents parameter) or zero if an error occurred.

Remarks

Always call MidiCleanEvents after the array created by MidiGetTrackEvents is not necessary anymore.

Example

For an example, see MidiGetTrackEvents.


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: [email protected]
ICQ: 78977999 ()