Parsec

ParsecHostPollEvents

boolParsecHostPollEvents(Parsec *
ps,
uint32_t
timeout,
ParsecHostEvent *
event
)

Poll host events.

Parameters

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

Returns

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