Jump to content

WinStopTimer

From EDM2
Revision as of 18:58, 16 January 2019 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Stop the timer timerID.

Syntax

WinStopTimer(anchorHndl, windowHndl, timerID)

Parameters

anchorHndl - HAB - input
The anchor block handle.
windowHndl - HWND - input
The window handle.
timerID - ULONG - input
The timer identifier.

Returns

Returns BOOL with the values of:

Return from WinGetLastError if WinStopTimer fails:

Define (C/C++)

INCL_WINTIMER or INCL_WIN or INCL_PM

Calling Convention

Cdecl32

Example Code

HAB   anchorHndl;
HWND  windowHndl;
ULONG timerID;
BOOL  rc;
...
rc = WinStopTimer(anchorHndl, windowHndl, timerID);

Related Functions

Notes

No further messages are received from the timer after WinStopTimer is called. This includes the timer having timed out since the last call to WinGetMsg.