function GetDisplayFrequency:integer;
var
DeviceMode:TDeviceMode;
begin
EnumDisplaySetting(nil,Cardinal(-1),DeviceMode);
Result :=DeviceMode.dmDisplayFrequency;
end;
function GetDisplayFrequency:integer;
var
DeviceMode:TDeviceMode;
begin
EnumDisplaySetting(nil,Cardinal(-1),DeviceMode);
Result :=DeviceMode.dmDisplayFrequency;
end;