DWORD WINAPI MidiCleanEvents ( DWORD dwEvents, LPBRELS_MIDI_EVENT lpEvents );
This function deallocates an array created by MidiGetTrackEvents.
Returns the number of cleaned events (the same value in dwEvents parameter) or zero if an error occurred.
Always call MidiCleanEvents after the array created by MidiGetTrackEvents is not necessary anymore.
For an example, see MidiGetTrackEvents.
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 ()