Parsec

ParsecClientPollEvents

boolParsecClientPollEvents(Parsec *
ps,
uint32_t
timeout,
ParsecClientEvent *
event
)

Poll client events.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
intimeoutTimeout in milliseconds to wait for a new event to become available.
outeventGeneric client event that can represent any event type.

Returns

true if a new event was available and event is valid, otherwise false if no events were available.