int SIDXGetCameraName(void* sidx, int index, wchar_t* camera_id, int length);
Function SIDXGetCameraName (ByVal sidx As Long, ByVal index As Long, camera_id As Variant) As Long
SIDXGetCameraName sidx, index, camera_id, status
status = SIDXGetCameraName(sidx, index, camera_id
- The open SIDX handle created by SIDXOpen.
- The index of the camera of interest. Use SIDXGetCameraCount to get the number of cameras connected to the system. The index range is from 0 to camera count minus 1.
- A variable to receive the camera id as a string. The returned camera id can be used by the call SIDXCameraOpen.
The return value is non-zero if the function failed, zero if it succeeded.
Use the function to query a camera ID. The function should be called after SIDXGetCameraCount. Both you and
SIDX will not know how many cameras are available on the running system until SIDXGetCameraCount is called.