Returns the number of remote files in the DwinsHs_DwonloadsList download queue.
You should use the procedure in the BeforeDownload callback function specified by the BeforeDownload parameter of the DwinsHs_CurPageChanged procedure.
function DwinsHs_RemoteFilesCount(WaitToDownload: Boolean): Integer;
Specifies which remote files will be counted in the DwinsHs_DwonloadsList download queue. All remotes files will be counted if the parameter is set to false, only remote files which have not been downloaded earlier otherwise.
Returns total number of remote files in the DwinsHs_DwonloadsList download queue if the WaitToDownload parameter is set to false, number of remote files which have not been downloaded earlier otherwise.
Note, the remote files which have been removed using the DwinsHs_RemoveRemoteFile function or DwinsHs_RemoveAllRemoteFiles procedure will not be counted always (the remote file entries which Required field is set to false will not be counted).
The function is avaliable only when both DwinsHs_Use_Predefined_Downloading_WizardPage and DwinsHs_Use_RemoteFilesCount marcos are defined.
Copyright © 2001-2022, Han-soft Corporation. All rights reserved.