GetCurrentTask

Syntax

HANDLE GetCurrentTask( )

This function returns the handle of the currently executing task.

This function has no parameters.

Return Value

The return value identifies the task if the function is successful. Otherwise, it is NULL.