DwinsHs_RemoteFilesCount function

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.

Declaration:

function DwinsHs_RemoteFilesCount(WaitToDownload: Boolean): Integer;

Parameter:

Return:

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).

Note:

The function is avaliable only when both DwinsHs_Use_Predefined_Downloading_WizardPage and DwinsHs_Use_RemoteFilesCount marcos are defined.