IsProcessDPIAware function

[

IsProcessDPIAware is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use GetProcessDPIAwareness.

]

Determines whether the current process is dots per inch (dpi) aware such that it adjusts the sizes of UI elements to compensate for the dpi setting.

Syntax

BOOL IsProcessDPIAware(

);

Parameters

This function has no parameters.

Return Value

Type: Type: BOOL

TRUE if the process is dpi aware; otherwise, FALSE.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)
Library User32.lib
DLL User32.dll