GetNLMID
Returns the ID of the current NLM
#include <nwthread.h> int GetNLMID (void);
This function returns the ID of the current NLM.
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.