UnregisterHealthMonitor
Is a prototype function for unregistering a health monitor.
#include <pexports.h>
UINT32 UnregisterHealthMonitor (
UINT32 moduleHandle,
UINT32 handle,
UINT8 category);
If successful, returns 0. Otherwise, returns a nonzero error code. See Section 6.6, Health Monitor Error Codes.
The UnregisterHealthMonitor function allows you to unregister a previously registered health monitor. The function requires the moduleHandle for your NLM and the handle that was returned when the health monitor was registered.