Syntax
INT is_InitEvent (HIDS hf, HANDLE hEv, INT which)
Description
Initializes the event handler by registering the event object in the central driver.
Parameters
hf |
Frame grabber handle |
hEv |
Event handle of the C/C++ function CreateEvent() |
which |
Event ID to be initialized |
IS_SET_EVENT_ODD |
Event is signalized in odd field (in connection with is_FreezeVideo()) |
IS_SET_EVENT_EVEN |
Event is signalized in even field (in connection with is_FreezeVideo()) |
IS_SET_EVENT_FRAME |
Event is signalized after a complete frame (in connection with is_FreezeVideo()) |
IS_SET_EVENT_VSYNC |
Event is signalized at every VSYNC |
IS_SET_EVENT_SEQ |
Event is signalized at change of sequence buffer Attention: If the video signal is lost, the event is still set |
IS_SET_EVENT_STEAL |
Event is signalized when is_StealVideo() has finished |
IS_SET_EVENT_VPRES |
Event is signalized when the analogous video signal of the active input is turned on or off. See also is_BoardStatus() parameter IS_VIDEO_PRESENT. |
Return value
IS_SUCCESS, IS_NO_SUCCESS