MONITOR_DPI_TYPE enumeration

Identifies dots per inch (dpi) type.

Syntax


typedef enum _Monitor_DPI_Type { 
  MDT_Effective_DPI  = 0,
  MDT_Angular_DPI    = 1,
  MDT_Raw_DPI        = 2,
  MDT_Default        = MDT_Effective_DPI
} Monitor_DPI_Type;

Constants

MDT_Effective_DPI

Effective DPI that incorporates accessibility overrides and matches what Desktop Window Manage (DWM) uses to scale desktop applications.

MDT_Angular_DPI

DPI that ensures rendering at a compliant angular resolution on the screen, without incorporating accessibility overrides.

MDT_Raw_DPI

Linear DPI of the screen as measured on the screen itself.

MDT_Default

Requirements

Header

ShellScalingApi.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft