GEV_STATUS GevRegisterEventCallback

(GEV_CAMERA_HANDLE handle,  UINT32 EventID,
 GEVEVENT_CBFUNCTION func, void *context);

Description

Registers an Event Callback

Parameters

handle

GEV_CAMERA_HANDLE identifying the camera whose events are to be intercepted by the application.

EventID

Specific EventID of the event to be intercepted. They are usually defined in the XML file for the camera.

func

Function to call when EventID is signaled. The function is of type GEVEVENT_CBFUNCTION.

context

Pointer to context data set up at the time of the callback’s registration and passed to ‘func’.

Return Value

GEV_STATUS GEVLIB

Possible values are:

GEVLIB_OK
GEVLIB_ERROR_INVALID_HANDLE
GEV_STATUS_ERROR (too many registration calls have been made for this camera – 16 maximum)

Related Topics

Member Function Descriptions