GetDpiForWindow function user32
Returns the dots per inch (dpi) value for the specified window.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getdpiforwindow.
Implementation
@pragma('vm:prefer-inline')
int GetDpiForWindow(HWND hwnd) => _GetDpiForWindow(hwnd);