网站首页  词典首页

请输入您要查询的函数:

 

术语 getmessagetime
释义 GetMessageTime
语法:
LONG GetMessageTime(VOID);
Return Value
The return value specifies the message time.
Remarks
The return value from the GetMessageTime function does not necessarily increase between subsequent messages, because the value wraps to zero if the timer count exceeds the maximum value for a long integer.
To calculate time delays between messages, verify that the time of the second message is greater than the time of the first message; then, subtract the time of the first message from the time of the second message.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as Unicode version.
See Also
Messages and Message Queues Overview , GetMessage , GetMessagePos
GetMessageTime功能
该GetMessageTime函数检索由GetMessage函数检索的最后一条信息的时间。时间是一个长整数,指定所用的时间,以毫秒为单位,从系统启动的消息创建时的时间(即在线程的消息队列中)。
==英文原文==GetMessageTime Function
The GetMessageTime function retrieves the message time for the last message retrieved by the GetMessage function. The time is a long integer that specifies the elapsed time, in milliseconds, from the time the system was started to the time the message was created (that is, placed in the thread's message queue).
Syntax
LONG GetMessageTime(VOID);
Return Value
The return value specifies the message time.
Remarks
The return value from the GetMessageTime function does not necessarily increase between subsequent messages, because the value wraps to zero if the timer count exceeds the maximum value for a long integer.
To calculate time delays between messages, verify that the time of the second message is greater than the time of the first message; then, subtract the time of the first message from the time of the second message.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as Unicode version.
See Also
Messages and Message Queues Overview , GetMessage , GetMessagePos
==原始网址==http://msdn.microsoft.com/en-us/library/ms644939(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:20:00