Share via


StartWatchDogTimer (Windows CE 5.0)

Send Feedback

This function starts a watchdog timer.

BOOLStartWatchDogTimer(HANDLE hWatchDog,DWORD dwFlags);

Parameters

  • hWatchDog
    [in] Handle to the watchdog timer to start.
  • dwFlags
    [in] Reserved; must be set to 0.

Return Values

Returns TRUE if the watchdog timer is successfully started.

Otherwise, NULL is returned.

Use GetLastError to get extended failure information.

Remarks

The process calling StartWatchDogTimer is the process to be watched. This process is the process to be terminated if the default action is WDOG_KILL_PROCESS.

StartWatchDogTimer 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.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Pkfuncs.h.
Link Library: Coredll.lib.

See Also

CreateWatchDogTimer | OpenWatchDogTimer | StopWatchDogTimer | RefreshWatchDogTimer | GetLastError

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.