WM_TIMER

This message occurs when the time limit set for a given timer has elapsed.

Parameter Description  

wParam Contains the timer ID, an integer value that identifies the timer.  
lParam Points to a function that was passed to the SetTimer function when the timer was created. If the lParam parameter is not NULL, Windows calls the specified function directly, instead of sending the WM_TIMER message to the window function.