procedure TForm1.Timer1Timer(Sender: TObject);
var
vLastInputInfo: TLastInputInfo;
begin
vLastInputInfo.cbSize := SizeOf(vLastInputInfo);
GetLastInputInfo(vLastInputInfo);
Caption := Format(
'距离上次输入间隔%d毫秒', [GetTickCount - vLastInputInfo.dwTime]);
end;
系统待机时间
最新推荐文章于 2024-11-29 08:42:07 发布
1万+

被折叠的 条评论
为什么被折叠?



