From dacccf1415bb3b58a8fce91a71c91c3d3d2ca8f2 Mon Sep 17 00:00:00 2001 From: yuyoyuppe Date: Fri, 4 Sep 2020 16:22:21 +0300 Subject: [PATCH] docs: add monitor info report readme --- doc/devdocs/tools.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 doc/devdocs/tools.md diff --git a/doc/devdocs/tools.md b/doc/devdocs/tools.md new file mode 100644 index 0000000000..2e14440c97 --- /dev/null +++ b/doc/devdocs/tools.md @@ -0,0 +1,23 @@ +# Tools + +## [Monitor info report](tools\monitor_info_report) + +A small diagnostic tool which helps identifying WinAPI bugs related to the physical monitor detection. When launched, it creates a log file like this: + +``` +GetSystemMetrics = 2 +GetMonitorInfo OK +EnumDisplayDevices OK: + DeviceID = \\?\DISPLAY#VSCBD34#5&25664547&0&UID4355#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7} + DeviceKey = \Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0002 + DeviceName = \\.\DISPLAY1\Monitor0 + DeviceString = Generic PnP Monitor +GetMonitorInfo OK +EnumDisplayDevices OK: + DeviceID = \\?\DISPLAY#ENC2682#5&25664547&0&UID4357#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7} + DeviceKey = \Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0003 + DeviceName = \\.\DISPLAY2\Monitor0 + DeviceString = Generic PnP Monitor +EnumDisplayMonitors OK +``` +and also duplicates the info to `stdout`. \ No newline at end of file