The GetMessageTime function returns the message time for the last message retrieved by the GetMessage function from the current thread’s message queue. 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).
LONG GetMessageTime(VOID)
This function has no parameters.
The return value specifies the message time.
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.
file: /Techref/os/win/api/win32/func/src/f34_17.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/12/25 22:54,
18.223.159.143:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/func/src/f34_17.htm"> GetMessageTime</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.