请问windows.GetTickCount是什么意思

listen_snow 2004-06-19 10:11:11
GetTickCount是windows的一个属性吗?
这个属性是做什么用的?
...全文
150 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
HeLiang7 2004-06-19
  • 打赏
  • 举报
回复
The GetTickCount function retrieves the number of milliseconds that have elapsed since Windows was started.

DWORD GetTickCount(VOID)


Parameters

This function has no parameters.

Return Values

If the function succeeds, the return value is the number of milliseconds that have elapsed since Windows was started.

Remarks

The elapsed time is stored as a DWORD value. Therefore, the time will wrap around to zero if Windows is run continuously for 49.7 days.
Windows NT: To obtain the time elapsed since the computer was started, look up the System Up Time counter in the performance data in the registry key HKEY_PERFORMANCE_DATA. The value returned is an 8 byte value.
greencloud 2004-06-19
  • 打赏
  • 举报
回复
gettickcount函数是一个WinAPI函数,它的作用是返回自开机开始至调用该函数为止,系统的运行时间(单位是:毫秒)即elapsed time。

5,386

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧