Capture and control API for IIDC compliant cameras