windows_programming_notes.nbk: Home | Index | Next Page: LineTo | Previous Page: IsWindowVisible


 KillTimer

The KillTimer function destroys the specified timer.

Syntax

    BOOL KillTimer(
        HWND hWnd,
        UINT_PTR uIDEvent
    );

Parameters

Return Value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

The KillTimer function does not remove WM_TIMER messages already posted to the message queue.

Function Information


windows_programming_notes.nbk: Home | Index | Next Page: LineTo | Previous Page: IsWindowVisible


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time