LE "Last Event", how does it work?

Hello,

I’m trying to grasp my head around the “Last Event” function. I’ve read both the Operation Manual and the online-help, but I can’t find any deeper info of the different sub-categories of the “Last Event” (MIDI Status + Event Counter), and what the Parameter 2 field actually does.

What I want: Be able to select a bunch of notes and filter the last (played, or even more preferably stopped) note in the selection. The goal is to combine it in a macro so I can insert a CC64 = 0 on the end of the last played note of a selection.

It this possible?