StopWatchDogTimer (Compact 2013)

3/28/2014

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; set to 0 (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

See Also

Reference

Kernel Functions
CreateWatchDogTimer
OpenWatchDogTimer
StartWatchDogTimer
RefreshWatchDogTimer
GetLastError