CMidiEventQueue::retrieveEvent
IMEObjectID retrieveEvent (long toPPQ)
Returns (and removes) the first event with a timestamp smaller than toPPQ, or NULL if no event
matches this criterion.
Remarks:
All events created inside the Plug-In have to be destroyed with
IMEAccessor::destroyEvent!