int SIDXDialogCameraSelector(void* sidx, int* canceled, void** camera);
Function SIDXDialogCameraSelector (ByVal sidx As Long, canceled As Long, camera As Long) As Long
SIDXDialogCameraSelector sidx, canceled, camera, status
status = SIDXDialogCameraSelector(sidx, canceled, camera
- The open SIDX handle created by SIDXOpen.
- A variable to receive the status whether the dialog was canceled by the user. If "canceled" is non zero, the dialog was canceled. Otherwise not.
- A variable to receive the created camera handle.
The return value is non-zero if the function failed, zero if it succeeded.
The function brings up a dialog with a list of available cameras on the system. When the function returns successfully, you will receive a handle to the chosen camera. You can use the returned camera handle to control the camera using "SIDXCamera..." calls.