GetCurrentTask

2.x

  HTASK GetCurrentTask(void)    

The GetCurrentTask function retrieves the handle of the current (running) task.

Parameters

This function has no parameters.

Return Value

The return value is a handle of the current task if the function is successful. Otherwise, it is NULL.