.版本 2
.子程序 取启动时间_, 长整数型, , 可以到达纳秒级 .局部变量 sti, SYSTEM_TIME_OF_DAY_INFORMATION
NtQuerySystemInformation (3, sti, 28, 0) 返回 ((sti.CurrentTime - sti.BootTime) ÷ 10000)
.版本 2
.数据类型 SYSTEM_TIME_OF_DAY_INFORMATION .成员 BootTime, 长整数型 .成员 CurrentTime, 长整数型 .成员 TimeZoneBias, 长整数型 .成员 CurrentTimeZoneId, 整数型
.版本 2
.DLL命令 NtQuerySystemInformation, 整数型, "NTDLL.DLL" .参数 SystemInformationClass .参数 SystemInformation, SYSTEM_TIME_OF_DAY_INFORMATION, 传址 .参数 SystemInformationLength .参数 ReturnLength, , 传址
[此贴子已经被作者于2008-12-3 14:47:30编辑过] |