GetEvent 

BOOL GetEvent ()

Parameters

None.

Return Value

Returns TRUE on success, FALSE on error.

Comments

Gets the current event. GetEvent checks the GetNotSend flag to avoid getting two events in a row without an intervening SendEvent. Done automatically after each SendKey or SendEvent when HowToGet = SapGetAutomatic (the default value).