Return the DPI scale factor for a Win32 HWND / WinUI 3 AppWindow.id.Value (GetDpiForWindow(hwnd) / 96, e.g. 1, 1.25, 1.5, 2).
HWND
AppWindow.id.Value
GetDpiForWindow(hwnd) / 96
1
1.25
1.5
2
Return the DPI scale factor for a Win32
HWND/ WinUI 3AppWindow.id.Value(GetDpiForWindow(hwnd) / 96, e.g.1,1.25,1.5,2).