GetNLMID

Returns the ID of the current NLM

Local Servers:nonblocking
Remote Servers:N/A
Classification:3.x, 4.x, 5.x, 6.x
Service:Thread

Syntax

  #include <nwthread.h>  
   
  int GetNLMID  (void); 
  

Return Values

This function returns the ID of the current NLM.

Remarks

Ordinarily, the current NLM is the NLM that owns the currently running thread. The current NLM identifies which NLM owns any subsequently allocated resources.

NOTE:The current NLM is usually the client even though the client might be executing a library’s code.

See Also

SetNLMID