ProcessEvent()

Process last event, after execute this command you can consult last event type with MessageID(), and parameters of last event with wParam() and lParam(), this command is designed for games.