Windows DPI and Scale
· ☕ 7 min read
Windows Scale Nowadays, monitors generally have stronger performance and higher pixels, so most people tend to increase the scaling size of Windows in order to enhance the user experience. Scale refers to the Windows display scaling factor. You can adjust your scale in Desktop Right Click -> Setting -> System -> Display -> Scale. Today, I encountered a problem. I can use the following code to retrieve the Windows scaling size from a Win32 test console program, but this code does not work correctly in game applications.