GetRunningTaskProgress

Returns a given running task’s percentage complete, status, last update time, and description.

Syntax

<HsvSystemInfo>.GetRunningTaskProgress lTaskID, plProgress, plStatus, pdLastUpdateTime, pbstrDesc

Argument

Description

lTaskID

Long (ByVal). The ID of the task.

Tip:

You can obtain the IDs of all running tasks with EnumRunningTasks.

plProgress

Long. Returns the progress complete percentage of the task.

plStatus

Long. Returns the status of the task. Valid values are represented by the HFMConstants type library constants listed in Task Status Constants.

pdLastUpdateTime

Double. Returns the timestamp of the last time the task was updated. The timestamp is formatted as a Double that can be cast to the Date format.

pbstrDesc

String. Returns the task’s description.