win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinStopTimer (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINTIMER
 
BOOL WinStopTimer(hab, hwnd, idTimer)
HAB hab;           /* handle of the anchor block                          */
HWND hwnd;         /* handle of the window                                */
USHORT idTimer;    /* timer identifier                                    */
 
The WinStopTimer function stops a timer. When this function is called, no
further messages are received from the stopped timer, even if it has timed
out since the last call to the WinGetMsg function.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hab        Identifies the anchor block.
 
hwnd       Identifies the window containing the timer.
 
idTimer    Identifies the timer.
 
Return Value
 
The return value is TRUE if the function is successful or FALSE if an error
occurs.
 
See Also
 
WinGetMsg, WinStartTimer