SetProcessDPIAware function user32

bool SetProcessDPIAware()

Sets the process-default DPI awareness to system-DPI awareness.

Note: This function may be altered or unavailable in the newer versions of Windows. Use SetProcessDpiAwareness instead.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-setprocessdpiaware.

Implementation

@pragma('vm:prefer-inline')
bool SetProcessDPIAware() => _SetProcessDPIAware() != FALSE;