FindNLMHandle
Returns the handle of a loaded NLM
#include <nwthread.h>
unsigned int FindNLMHandle (
char *moduleName);
If the NLM is loaded, its handle is returned. Otherwise, NULL is returned.
This function searches the list of loaded NLM applications, comparing their names to the specified moduleName. If a match is found, the handle for that NLM is returned.
#include <nwthread.h> #include <stdio.h> unsigned int moduleHandle; moduleHandle = FindNLMHandle ("TEST.NLM"); if (moduleHandle == NULL) printf ("This NLM is not loaded!\n");