Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

High DPI Reference

In this section

TopicDescription

GetDpiForMonitor

Queries the specified monitor for the dots per inch (dpi) horizontal and vertical values.

GetDpiForShellUiComponent

Retrieves the DPI for a shell icon based on the icon type.

GetProcessDpiAwareness

Retrieves the dpi awareness of the specified process.

SetProcessDpiAwareness

Sets the current process to one of three dpi awareness levels. The DPI awareness levels are from the PROCESS_DPI_AWARENESS enumeration.

LogicalToPhysicalPointForPerMonitorDPI

Converts the logical coordinates of a point in a window to physical coordinates, regardless of the DPI awareness level.

PhysicalToLogicalPointForPerMonitorDPI

Converts the physical coordinates of a point in a window to logical coordinates, regardless of the DPI awareness level.

MONITOR_DPI_TYPE

Identifies dpi type.

PROCESS_DPI_AWARENESS

Identifies dpi awareness values.

SHELL_UI_COMPONENT

Identifies the type of UI component that is needed in the shell.

WM_DPICHANGED

Sent when a window's position changes such that most of its area intersects a monitor with a dpi that is different from the DPI before the position change.

 

 

 

Community Additions

ADD
Show:
© 2015 Microsoft