Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This function refreshes a watchdog timer.
Syntax
BOOL RefreshWatchDogTimer(
HANDLE hWatchDog,
DWORD dwFlags
);
Parameters
- hWatchDog
[in] Handle to the watchdog timer to refresh.
- dwFlags
[in] Reserved; must be set to zero.
Return Value
TRUE indicates success. Returns ERROR_INVALID_HANDLE if an invalid handle to the watchdog timer is received. Otherwise, NULL is returned. Call GetLastError to get extended error information.
Remarks
The process being watched must call RefreshWatchDogTimer within the watchdog period to prevent the watchdog from being signaled and the default action from 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.
Requirements
| Header | pkfuncs.h |
| Library | OEMMain.lib or OEMMain_StaticKITL.lib |
| Windows Embedded CE | Windows CE 5.0 and later |
See Also
Reference
Kernel Functions
CreateWatchDogTimer
OpenWatchDogTimer
StartWatchDogTimer
StopWatchDogTimer