StopWatchDogTimer (Windows CE 5.0)

Send Feedback

This function stops a watchdog timer.

BOOLStopWatchDogTimer(HANDLE hWatchDog,DWORD dwFlags);

Parameters

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

Return Values

Returns TRUE if the watchdog timer is successfully stopped.

Otherwise, NULL is returned.

Use GetLastError to get extended failure information.

Remarks

If you are calling StopWatchDogTimer when the watchdog is signaled but not before the default action is taken, the default action is not taken.

StopWatchDogTimer 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 | StartWatchDogTimer | RefreshWatchDogTimer | GetLastError

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.