Jump to content

WinStopTimer

From EDM2
Revision as of 22:41, 23 May 2005 by Daniel.lee.kruse (talk | contribs) (created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WinStopTimer

WinStopTimer(anchorHndl, windowHndl, timerID)

Stop the timer timerID.

Parameters

anchorHndl - HAB - input

The anchor block handle.

windowHndl - HWND - input

The window handle.

timerID - ULONG - input

The timer identifier.

Constants

Returns

Returns BOOL with the values of:

Return from WinGetLastError if WinStopTimer fails:

Module

Define (C/C++)

INCL_WINWORKPLACE or INCL_WIN or INCL_PM

Export name/Ordinal

Calling conversion

Cdecl32

Example Code

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

Related Functions

WinGetCurrentTime WinQueryMsgTime WinStartTimer

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.

OS Version Introduced