PROCESSDPIAWARENESS
ProcessDpiAwareness is a Windows API feature that enables or disables Windows XP's Visual Studio 2005 compiler setting DPI Awareness for a process. This setting affects how a process handles display settings and scaling on multiple monitors.
When DPI Awareness is enabled, a process respects the operating system's DPI settings, scaling the application's
There are three types of DPI awareness settings in Windows:
1. DPI_UNAWARE: Disables DPI awareness altogether, which means the process will not adjust its scaling based
2. DPI_AWARE: Enables basic DPI awareness, which allows the process to render at 96DPI, while automatically scaling
3. DPI_AWARENESSSETTING_1_1: This setting, along with DPI_AWARENESSSETTING_2_0, is a new type of DPI Awareness introduced in
Developers use API calls within their code to configure the ProcessDpiAwareness of an application. For example,
ProcessDpiAwareness is often used in conjunction with other API features, such as the GetDpiForMonitor and GetDpiForWindow