Software watchdog, Watchdog_sw_tagex – Rockwell Automation 2711P Software Development Kit User Manual User Manual
Page 37

Publication 2711P-UM005A-EN-P - March 2007
PanelView Plus CE-Specific Extensions to the WinCE API 37
Requirements:
Software Watchdog
These functions are used by applications (exes) to register themselves
for watchdog monitoring and to tag the software watchdog.
Watchdog_SW_TagEx
This function registers an application thread for monitoring by the
software watchdog. The function creates a new instance of the
software monitor for the caller thread, sets the timeout value and
defines what happens when a timeout occurs.
DWORD Watchdog_SW_TagEx (DWORD *pdwWDTagID,
DWORD dwTimeout, DWORD dwTimeoutAction)
Parameters:
pdwWDTagID
A pointer to the Watchdog Tag ID value. The watchdog service returns
the value to the caller. The caller should initially set the value to
USE_THREAD_ID when it wants to register a new thread into the
watchdog service. The caller should use the returned value for all
subsequent calls to the watchdog monitor that it was assigned.
Runs On
Version
Defined In
Link To
PanelView Plus CE
RAC6182
All
watchdog.h
watchdog.lib