Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Terminates a set of tasks previously scheduled by the task manager.
Syntax
HRESULT retVal = object.TerminateTasks(TaskIDs, ulCount, ulTimeOut);
Parameters
TaskIDs [in]
Type: DWORDArray of identifiers that specifies which tasks to terminate.
ulCount [in]
Type: unsigned longNumber of tasks to terminate.
ulTimeOut [in]
Type: unsigned longTime, in milliseconds, to wait before terminating the tasks. If this parameter is zero, the tasks are terminated immediately.
Remarks
If the specified tasks are not running, they are removed from the queue. If they are running, they are signaled to stop.
See also
Reference