Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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