网站首页  词典首页

请输入您要查询的函数:

 

术语 timerproc
释义 TimerProc
语法:
VOID CALLBACK TimerProc( HWND hwnd,
UINT uMsg,
UINT_PTR idEvent,
DWORD dwTime
);
TimerProc函数
该TimerProc函数是一个应用程序定义的回调函数处理WM_TIMER消息。在TIMERPROC类型定义一个指向这个回调函数。 TimerProc是一个应用程序的占位符定义函数的名称。
参数
hwnd
[in]处理与计时器相关的窗口。
uMsg
[in]指定WM_TIMER消息。
idEvent
[in]指定计时器的标识符。
dwTime
[in]指定所经过的毫秒数,因为该系统已启动。这是由GetTickCount函数的返回值。
返回值
这个函数没有返回值。
功能信息
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryNone
最低经营systemsWindows 98时,Windows NT 3.1
参见
定时器概述,KillTimer,SetTimer,中WM_TIMER
==英文原文==TimerProc Function
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.
Syntax
VOID CALLBACK TimerProc( HWND hwnd,
UINT uMsg,
UINT_PTR idEvent,
DWORD dwTime
);
Parameters
hwnd
[in] Handle to the window associated with the timer.
uMsg
[in] Specifies the WM_TIMER message.
idEvent
[in] Specifies the timer's identifier.
dwTime
[in] Specifies the number of milliseconds that have elapsed since the system was started. This is the value returned by the GetTickCount function.
Return Value
This function does not return a value.
Function Information
HeaderDeclared in Winuser.h, include Windows.h
Import libraryNone
Minimum operating systemsWindows 98, Windows NT 3.1
See Also
Timers Overview , KillTimer , SetTimer , WM_TIMER
==原始网址==http://msdn.microsoft.com/en-us/library/ms644907(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:19:03