StartWatchDogTimer (Windows Embedded CE 6.0)
1/6/2010
This function starts a watchdog timer.
Syntax
BOOL StartWatchDogTimer(
HANDLE hWatchDog,
DWORD dwFlags
);
Parameters
- hWatchDog
[in] Handle to the watchdog timer to start.
- dwFlags
[in] Reserved; must be set to zero.
Return Value
TRUE indicates success. ERROR_INVALID_HANDLE indicates that an invalid handle to the watchdog timer is received. Otherwise, NULL is returned. Call GetLastError to get extended error information.
Remarks
The process calling StartWatchDogTimer is the process to be watched. This process is the process to be ended if the default action is WDOG_KILL_PROCESS.
Requirements
Header | pkfuncs.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 5.0 and later |
See Also
Reference
Kernel Functions
CreateWatchDogTimer
OpenWatchDogTimer
StopWatchDogTimer
RefreshWatchDogTimer