bug report: enum all display devices (#8745)

This commit is contained in:
Andrey Nekrasov
2020-12-25 12:49:58 +03:00
committed by GitHub
parent ff74ef4a42
commit 0c300194dc
2 changed files with 23 additions and 26 deletions

View File

@@ -171,6 +171,7 @@ namespace FancyZonesUtils
}
typedef BOOL(WINAPI* GetDpiForMonitorInternalFunc)(HMONITOR, UINT, UINT*, UINT*);
std::wstring GetDisplayDeviceId(const std::wstring& device, std::unordered_map<std::wstring, DWORD>& displayDeviceIdxMap)
{
DISPLAY_DEVICE displayDevice{ .cb = sizeof(displayDevice) };