5.TimerProc
来源:互联网 发布:js二维数组列数不同 编辑:程序博客网 时间:2024/04/29 02:14
原文:
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函数返回。
返回值:无返回值。
- 5.TimerProc
- SetTimer()中如何使用TimerProc()
- 5.。。。。。。。。。。。。
- 5. 《我爱你》
- 5. Environment
- 5. 动词
- 5.定时
- 5.邂逅
- 5.约束
- 5. 错误
- 5. 树
- 项目5.
- 5. Querying
- 5. feof()
- 5.Intent
- 5.数据结构
- 5. 数据类型
- 5. 链表
- Hello,blogger!
- 怎样才能将数据库中表PBCATCOL的PBC_LABL字段的值反向到PDM对应的NAME?
- HelloJavaWorld..
- 3.SetTimer
- 4.TimeProc
- 5.TimerProc
- 通用表单验证函数
- 修练8年C++面向对象程序设计之体会2
- 6.timeSetEvent
- 7.GetTickCount
- 8.timeGetTime
- stunnel使用详解
- Microsoft操作系统远程管理实施方案(绿盟)
- 9.GetSystemTime