Return value, Portability, See also – Rockwell Automation 6182 SDK User Manual
Page 86: Hm_unregistermonitorwarningevent, Syntax

4–46
RAC6182-Specific Extensions to the CE API
Publication 6182-UM002B-EN-P
The phEventHandle returned by this function is a standard Win32 auto-
reset event handle. However, an application should NOT close the
handle using the handle using the Win32 CloseHandle function. Instead
the application should close the handle and unregister the event using the
hm_UnregisterMonitorWarningEvent function.
Parameter
Description
dwMonitorIDMask
Bitmask combination of all of the monitor sources
that will trigger the returned event when entering the
warning state.
MONITOR_ID_SUPPLY_3V
MONITOR_ID_SUPPLY_5V
MONITOR_ID_SUPPLY_12V
MONITOR_ID_SUPPLY_BATTERY
MONITOR_ID_TEMPERATURE_BOARD
MONITOR_ID_POWER_FAIL
phEventHandle
Pointer to an application-allocated HANDLE.
Return Value
Returns TRUE if the monitor warning event has been successfully
registered. Returns FALSE on failure.
Portability
This function is specific to the RAC6182 hardware.
See Also
hm_UnregisterMonitorWarningEvent
hm_UnregisterMonitorWarningEvent
This function cancels the registration for a warning of a parameter out-
of-limit. It is prototyped in HardwareMonitorAPI.h.
Syntax
#include
#include
BOOL hm_UnregisterMonitorWarningEvent (HANDLE hEventHandle)