网站首页  计算机词典

请输入您要查询的字词:

 

字词 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
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 22:38:24