GetThreadDataAreaPtr

Gets the thread switch Data Area Pointer for the current thread

Local Servers:nonblocking
Remote Servers:N/A
Classification:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Service:Advanced

Syntax

  #include <nwadv.h>  
   
  void *GetThreadDataAreaPtr  (void); 
  

Return Values

This function returns the thread switch pointer for the current thread.

Remarks

When thread-switch event reporting has been registered, the Data Area Pointer is passed as the parameter to the report routine when a thread switch occurs.

The pointer can point to any user-defined data structure.

See Also

SaveThreadDataAreaPtr, RegisterForEvent