IsTask

3.1

  BOOL IsTask(htask)    
  HTASK htask; /* handle of task, */  

The IsTask function determines whether the given task handle is valid.

Parameters

htask

Identifies a task.

Return Value

The return value is nonzero if the task handle is valid. Otherwise, it is zero.