Declaration
function Refresh(): Boolean;
Description
Rebuilds the
source list to detect any newly connected/removed devices.
Result is false if a failure occured.
// Add the name of all sources to our source selector
procedure TfrmMain.btnRefreshClick(Sender: TObject);
var
I : Integer;
begin
ImageEnView1.IO.AcquireParams.DCIMParams.Refresh();
cmbSources.Items.Clear();
For I := 0 to ImageEnView1.IO.AcquireParams.DCIMParams.SourceCount - 1 do
cmbSources.Items.Add( ImageEnView1.IO.AcquireParams.DCIMParams.Sources[ I ];
end;