int SIDXGainGetCurrent(void* camera, int* current_gain);
Function SIDXGainGetCurrent (ByVal camera As Long, current_gain As Long) As Long
SIDXGainGetCurrent camera, current_gain, status
status = SIDXGainGetCurrent(camera, current_gain
- The open camera handle created by either SIDXSettingsOpenCamera or SIDXCameraOpen or SIDXDialogCameraSelector or SIDXSettingsRestoreCamera.
- A variable to receive the index of the current gain setting. The index is between zero and the available number of gain settings - 1.
The return value is non-zero if the function failed, zero if it succeeded.
The function returns the index of the current selected gain choice. The index value should be between zero and the total
gain count minus one. Use
to get the gain count.