Bruxton Logo

SIDXDialogCameraSelector

Syntax

C/C++

int SIDXDialogCameraSelector(void* sidx, int* canceled, void** camera);

Visual Basic

Function SIDXDialogCameraSelector (ByVal sidx As Long, canceled As Long, camera As Long) As Long

IGOR Pro

SIDXDialogCameraSelector sidx, canceled, camera, status

ITT IDL

status = SIDXDialogCameraSelector(sidx, canceled, camera)

Parameters

sidx
The open SIDX handle created by SIDXOpen.
canceled
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.
camera
A variable to receive the created camera handle.

The return value is non-zero if the function failed, zero if it succeeded.

Discussion

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.