5.TimerProc

原文:

The TimerProc function is an application-defined callback function that processes WM_TIMER messages. The TIMERPROC type defines a pointer to this callback function. TimerProc is a placeholder for the application-defined function name.
VOID CALLBACK TimerProc(
  HWND hwnd ,     // handle of window for timer messages
  UINT uMsg ,     // WM_TIMER message
  UINT idEvent // timer identifier
  DWORD dwTime    // current system time
);
 
Parameters
hwnd
Handle to the window associated with the timer.
uMsg
Specifies the WM_TIMER message.
idEvent
Specifies the timer's identifier.
dwTime
Specifies the number of milliseconds that have elapsed since the system was started. This is the value returned by the GetTickCount function.
Return Values
This function does not return a value.

翻译:

TimerProc函数一个应用程序定义的处理WM_TIMER消息的回调函数。TIMERPROC类型定义了一个指向回调函数的指针,该函数是一个定义应用程序函数名的占位符。
VOID CALLBACK TimerProc(
  HWND hwnd ,     // 消息时间函数的句柄
  UINT uMsg ,     // WM_TIMER 消息
  UINT idEvent // 定时器标识符
  DWORD dwTime    // 当前系统时间
);
参数:
   hwnd:与定时器关联的窗口的句柄。
Umsg:指定WM_TIMER消息。
idEvent:指定定时器的标识符。
dwTime:指定从系统开始运行到现在所经过的毫秒数。该值由getTickCount函数返回。
返回值:无返回值。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值