The GetCurrentTask function retrieves the handle of the current (running) task.
This function has no parameters.
The return value is a handle of the current task if the function is successful. Otherwise, it is NULL.