Feature: Show screen resolution and client id in popup window

This commit is contained in:
yuanyuanxiang
2026-01-10 20:52:00 +01:00
parent daa70f9777
commit c75b45507c
5 changed files with 79 additions and 16 deletions

View File

@@ -103,7 +103,8 @@ private:
}
return TRUE;
}
std::vector<MONITORINFOEX> GetAllMonitors()
public:
static std::vector<MONITORINFOEX> GetAllMonitors()
{
std::vector<MONITORINFOEX> monitors;
EnumDisplayMonitors(nullptr, nullptr, MonitorEnumProc, (LPARAM)&monitors);