GetDpiFromDpiAwarenessContext function user32
Retrieves the DPI from a given DPI_AWARENESS_CONTEXT handle.
This enables you to determine the DPI of a thread without needed to examine a window created within that thread.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getdpifromdpiawarenesscontext.
Implementation
@pragma('vm:prefer-inline')
int GetDpiFromDpiAwarenessContext(DPI_AWARENESS_CONTEXT value) =>
_GetDpiFromDpiAwarenessContext(value);