POAGetSensorMode

Function POAGetSensorMode 

Source
pub unsafe extern "C" fn POAGetSensorMode(
    nCameraID: c_int,
    pModeIndex: *mut c_int,
) -> POAErrors
Expand description

@brief POAGetSensorMode: get camera the current sensor mode @param nCameraID (input), get from in the POACameraProperties structure, use POAGetCameraProperties function @param pModeIndex (output), pointer to a int value for saving the current sensor mode index @return POA_OK: operation successful POA_ERROR_POINTER: pModeIndex is NULL pointer POA_ERROR_INVALID_ID: no camera with this ID was found or the ID is out of boundary POA_ERROR_NOT_OPENED: camera not opened POA_ERROR_ACCESS_DENIED: camera don’t supported mode selection POA_ERROR_OPERATION_FAILED: operation failed, the current mode is not matched