Nota
O acesso a esta página requer autorização. Podes tentar iniciar sessão ou mudar de diretório.
O acesso a esta página requer autorização. Podes tentar mudar de diretório.
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