spinCameraRegisterDeviceEventHandler

Function spinCameraRegisterDeviceEventHandler 

Source
pub unsafe extern "C" fn spinCameraRegisterDeviceEventHandler(
    hCamera: spinCamera,
    hDeviceEventHandler: spinDeviceEventHandler,
) -> spinError
Expand description

Registers a universal device event handler (every device event type) to a camera @see spinError

@param hCamera The camera on which to register the universal device event handler @param hDeviceEventHandler The device event handler to register

@return spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error