Returns the NLM handle for the specified thread.
#include <library.h>
void *getnlmhandlefromthread (
void *thread );
(IN) Points to a thread ID.
If successful, returns a pointer to the handle of the NLM that owns the thread. Otherwise, returns NULL.