Share via


StopWatchDogTimer (Windows Embedded CE 6.0)

1/6/2010

This function stops a watchdog timer.

Syntax

BOOL StopWatchDogTimer(
  HANDLE hWatchDog,
  DWORD dwFlags
);

Parameters

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

Return Value

Returns TRUE if the function succeeds. ERROR_INVALID_HANDLE indicates that the handle to the watchdog timer was invalid. Otherwise, NULL is returned. Call GetLastError to get extended error information.

Remarks

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

Requirements

Header pkfuncs.h
Library coredll.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Kernel Functions
CreateWatchDogTimer
OpenWatchDogTimer
StartWatchDogTimer
RefreshWatchDogTimer

Concepts

Kernel Mode APIs

Other Resources

GetLastError