TimerProc

2.x

  void CALLBACK TimerProc(hwnd, msg, idTimer, dwTime)    
  HWND hwnd; /* handle of window for timer messages */
  UINT msg; /* WM_TIMER message, */  
  UINT idTimer; /* timer identifier, */  
  DWORD dwTime; /* current system time */

The TimerProc function is an application-defined callback function that processes WM_TIMER messages.

Parameters

hwnd

Identifies the window associated with the timer.

msg

Specifies the WM_TIMER message.

idTimer

Specifies the timer's identifier.

dwTime

Specifies the current system time.

Return Value

This function does not return a value.

Comments

TimerProc is a placeholder for the application-defined function name. The actual name must be exported by including it in an EXPORTS statement in the application's module-definition file.

See Also

KillTimer, SetTimer