Previous Topic: FormatNext Topic: Arguments


Description

CMUserGetEvent retrieves an event from the Event Notification Services. If the readroutine is omitted from the call to CMUserInit, it is assumed that the user is providing their own version of CMUserMainLoop, in which case you should use the CMUserGetEvent routine to obtain all events. If no event is available, this routine stalls until one is delivered from the Event Notification Services.

If you are using a readroutine you need not use or call CMUserGetEvent as the event is passed to readroutine. When you have finished with the event, use CMFreeEvent to free the memory.