SetProcessDPIAwarevoid
SetProcessDPIAwarevoid is a function that can be called from a Windows application to inform the operating system that the application is aware of the system's display scaling settings, often referred to as Dots Per Inch (DPI) scaling. When an application is DPI aware, Windows will not automatically scale its windows and controls. Instead, the application is responsible for rendering its user interface at the appropriate scale based on the current DPI setting.
Prior to Windows 8.1, applications that were not DPI aware were typically scaled up by Windows at
The function is typically called early in the application's startup process, before any user interface elements
Modern Windows applications, particularly those developed using frameworks like .NET or UWP, often handle DPI awareness