SysEventWaitΒΆ

This function of type DWORD is used to set the timeout for an event. The event is defined by the handle which was returned by the function SysEventCreate when creating the event. TRUE will be returned if as the timeout has been set successfully, otherwise FALSE.

Variable Data Type Description
DwHandle DWORD Event handle returned by SysEventCreate.
dwTimeout DWORD Time in [ms], after which the function will return at the latest.