GetCurrentTask

Returns the calling thread group’s current task number

Local Servers:nonblocking
Remote Servers:nonblocking
Classification:3.x, 4.x, 5.x, 6.x
Service:Connection Number and Task Management

Syntax

  #include <nwcntask.h>  
   
  LONG GetCurrentTask  (void); 
  

Return Values

This function returns the current task number.

Remarks

The current task number is returned for the calling thread group.

See Also

SetCurrentTask