Export (0) Print
Expand All
Expand Minimize

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 WINAPI IsProcessDPIAware(void);

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]

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft