GetEvent retrieves the event type(s) and places them in the specified event object’s properties. See
Eventfor further description of the event types.
- types (number) – A bitmask of event types.
- event (heapPtr) – An
TRUE if the event was created, otherwise FALSE.