Registriert seit: 4. Sep 2004
1.465 Beiträge
Delphi 10.4 Sydney
|
AW: Windows Leistungsindex
8. Sep 2018, 22:34
Hier sind die anderen Abfragen:
Delphi-Quellcode:
CodeSite.Send('CPUScore', Format('%.2f', [StrToFloatDef(GetWMIstring('', 'Win32_WinSAT', 'CPUScore'), -1)]));
CodeSite.Send('MemoryScore', Format('%.2f', [StrToFloatDef(GetWMIstring('', 'Win32_WinSAT', 'MemoryScore'), -1)]));
CodeSite.Send('GraphicsScore', Format('%.2f', [StrToFloatDef(GetWMIstring('', 'Win32_WinSAT', 'GraphicsScore'), -1)]));
CodeSite.Send('D3DScore', Format('%.2f', [StrToFloatDef(GetWMIstring('', 'Win32_WinSAT', 'D3DScore'), -1)]));
CodeSite.Send('DiskScore', Format('%.2f', [StrToFloatDef(GetWMIstring('', 'Win32_WinSAT', 'DiskScore'), -1)]));
CodeSite.Send('WinSPRLevel', Format('%.2f', [StrToFloatDef(GetWMIstring('', 'Win32_WinSAT', 'WinSPRLevel'), -1)]));
|
|
Zitat
|