GrCheckNextEvent

Name

GrCheckNextEvent -- Get the next event from the event queue

Synopsis

void GrCheckNextEvent (
  GR_EVENT * ep
);

Parameters

ep

A pointer to a GR_EVENT structure that will hold the event returned from the queue.

Description

The GrCheckNextEvent function flushes any buffered graphics commands and returns the next event from the event queue if one exists. If no event exists, the GrCheckNextEvent function returns GR_EVENT_TYPE_NONE.

See Also

GrGetNextEvent , GrGetNextEvent