RefreshWatchDogTimer (Windows CE 5.0)
This function refreshes a watchdog timer.
BOOL RefreshWatchDogTimer( HANDLE hWatchDog, DWORD dwFlags );
- [in] Handle to the watchdog timer to refresh.
- [in] Reserved; must be set to 0.
Returns TRUE if the watchdog timer is successfully refreshed.
Otherwise, NULL is returned.
Use GetLastError to get extended failure information.
The process being watched needs to call RefreshWatchDogTimer within the watchdog period to prevent the watchdog from being signaled and to prevent the default action being taken.
Calling RefreshWatchDogTimer on a watchdog timer that has not been started yet returns TRUE because the watch is not signaling at that point.
RefreshWatchDogTimer is a trusted API because it gives you the ability to reset the device. Only trusted applications can access this function. For more information, see Trusted APIs.
OS Versions: Windows CE 5.0 and later.
Link Library: Coredll.lib.
Send Feedback on this topic to the authors