GetWindowDpiAwarenessContext function user32
Returns the DPI_AWARENESS_CONTEXT associated with a window.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getwindowdpiawarenesscontext.
Implementation
@pragma('vm:prefer-inline')
DPI_AWARENESS_CONTEXT GetWindowDpiAwarenessContext(HWND hwnd) =>
DPI_AWARENESS_CONTEXT(_GetWindowDpiAwarenessContext(hwnd));