
Machine Vision Camera SDK (C) Developer Guide
Parameters
handle
[IN] Device handle, which is returned by MV_CC_CreateHandle or
MV_CC_CreateHandleWithoutLog .
cbEvent
[IN] Callback function for receiving events, see the details below.
void(__stdcall* cbEvent)(
MV_EVENT_OUT_INFO *pEventInfo,
void
*pUser
);
pEventInfo
Output event information, see the 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 not supported by CameraLink device.
See Also
MV_CC_OpenDevice
MV_CC_RegisterEventCallBackEx
Register single event callback function.
API Definition
int MV_CC_RegisterEventCallBackEx(
void
*handle,
const char *pEventName,
void
*cbEvent,
void
*pUser
);
45



































































































































































































































































































































































































