WinStopTimer: Difference between revisions
Appearance
m Martini moved page OS2 API:WinStopTimer to OS2 API:PMI:WinStopTimer |
No edit summary |
||
Line 37: | Line 37: | ||
=== Related Functions === | === Related Functions === | ||
[[OS2 API:WinGetCurrentTime|WinGetCurrentTime]] [[OS2_API:WinQueryMsgTime|WinQueryMsgTime]] [[OS2_API:WinStartTimer|WinStartTimer]] | *[[OS2 API:WinGetCurrentTime|WinGetCurrentTime]] | ||
*[[OS2_API:WinQueryMsgTime|WinQueryMsgTime]] | |||
*[[OS2_API:WinStartTimer|WinStartTimer]] | |||
=== Notes === | === Notes === | ||
No further messages are received from the timer after [[OS2 API:WinStopTimer|WinStopTimer]] is called. | No further messages are received from the timer after [[OS2 API:WinStopTimer|WinStopTimer]] is called. This includes the timer having timed out since the last call to [[OS2_API:WinGetMsg|WinGetMsg]]. | ||
=== OS Version Introduced === | === OS Version Introduced === | ||
[[Category:The OS/2 API Project]] | [[Category:The OS/2 API Project]] |
Revision as of 14:07, 13 June 2016
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_WINTIMER or INCL_WIN or INCL_PM
Export name/Ordinal
Calling conversion
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.