
Machine Vision Camera SDK (C) Developer Guide
Parameters
handle
[IN] Device handle, which is returned by MV_CC_CreateHandle or
MV_CC_CreateHandleWithoutLog .
pEventName
[IN] Event name
cbEvent
[IN] Callback function for receiving event information, see details below:
void(__stdcall* cbEvent)(
MV_EVENT_OUT_INFO
*pEventInfo,
void
*pUser
);
pEventInfo
Output event information, see enumeration MV_EVENT_OUT_INFO for details.
pUser
User data
pUser
[IN] User data
Return Value
Return MV_OK(0) on success, and return Error Code on failure.
Remarks
● Call this API to set the event callback function to get the event information, such as acquisition,
exposure, and so on.
● This API is supported by CameraLink device only for device offline event.
See Also
MV_CC_RegisterAllEventCallBack
MV_CC_RegisterExceptionCallBack
Register exception message callback.
API Definition
int MV_CC_RegisterExceptionCallBack(
void
*handle,
void
*cbException,
46



































































































































































































































































































































































































