{"id":20696371,"url":"https://github.com/pascalvault/lazarus_getmonitorsinfo","last_synced_at":"2026-02-10T07:32:30.618Z","repository":{"id":174954715,"uuid":"565122666","full_name":"PascalVault/Lazarus_GetMonitorsInfo","owner":"PascalVault","description":"Returns Resolution, Diagonal and PPI of active monitors","archived":false,"fork":false,"pushed_at":"2022-11-13T13:03:20.000Z","size":255,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T18:24:41.410Z","etag":null,"topics":["lazarus"],"latest_commit_sha":null,"homepage":"","language":"NASL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PascalVault.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-12T12:13:38.000Z","updated_at":"2022-11-17T12:33:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"55c5ed17-9633-4c09-a9cc-99c9127d0eea","html_url":"https://github.com/PascalVault/Lazarus_GetMonitorsInfo","commit_stats":null,"previous_names":["pascalvault/lazarus_getmonitorsinfo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PascalVault%2FLazarus_GetMonitorsInfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PascalVault%2FLazarus_GetMonitorsInfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PascalVault%2FLazarus_GetMonitorsInfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PascalVault%2FLazarus_GetMonitorsInfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PascalVault","download_url":"https://codeload.github.com/PascalVault/Lazarus_GetMonitorsInfo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242961756,"owners_count":20213315,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lazarus"],"created_at":"2024-11-17T00:13:44.779Z","updated_at":"2025-03-11T02:47:20.177Z","avatar_url":"https://github.com/PascalVault.png","language":"NASL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GetMonitorsInfo\nReturns Resolution, Diagonal and PPI of active monitors\n\n## Requirements\nDelphi 7+, Lazarus\n\n## Operating system\nWindows XP+\n\n### Usage example\n\tvar Info: TMonitorInfos;\n\t    Len: Integer;\n\t    i: Integer;\n\tbegin\n\t  GetMonitorsInfo(Info, Len);\n\t\n\t  for i:=0 to Len-1 do begin\n\t\n\t    Memo1.Lines.Add( Format('Resolution: %d x %d px', [Info[i].ResolutionH, Info[i].ResolutionV]) );\n\t    Memo1.Lines.Add( Format('Size: %f x %f cm', [Info[i].SizeH, Info[i].SizeV]) );\n\t    Memo1.Lines.Add( Format('Diag: %f inch', [Info[i].Diagonal]) );\n\t    Memo1.Lines.Add( Format('PPI: %f ', [Info[i].PPI]) );\n\t    Memo1.Lines.Add( Format('Dot Pitch: %f mm', [Info[i].DotPitch]) );\n\t    Memo1.Lines.Add( Format('Aspect Ratio: %f:1 ', [Info[i].AspectRatio]) );\n\t\n\t    Memo1.Lines.Add( Format('Year: %d ', [Info[i].ManufactureYear]) );\n\t    Memo1.Lines.Add( Format('Manufacturer: %s ', [Info[i].Manufacturer]) );\n\t\n\t    Memo1.Lines.Add( Format('PNP: %s', [Info[i].PNPID]) );\n\t\n\t    Memo1.Lines.Add('-----------');\n\t  end;\n\tend;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalvault%2Flazarus_getmonitorsinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpascalvault%2Flazarus_getmonitorsinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalvault%2Flazarus_getmonitorsinfo/lists"}