Terminates a task based on its request ID value that was used when the task was scheduled.
HRESULT retVal = object.TerminateRequest(RequestID, ulTimeOut);
ID used to schedule the tasks.
Type: unsigned long
Time, in milliseconds, to wait before terminating the task. If this parameter is zero, the task is terminated immediately.
If the specified tasks are not running, they are removed from the queue. If they are running, they are signaled to stop.