You are currently offline, waiting for your internet to reconnect

Windows Embedded CE 6.0 R3 doesn't support high DPI


If you call the GetDeviceCaps() API using the following code on a high DPI device, it will return a value of 96 for logical pixels X rather than 192.

 logPixelsX = GetDeviceCaps(hdc, LOGPIXELSX);

The reason is that Windows Embedded CE 6.0 R3 doesn't support high DPI due to lack of appropriate resource files.

Therefore the GetDeviceCaps() API returns the value of 96 even if the device supports high DPI.

You can modify the registry value “LogicalPixelsX” and “LogicalPixelsY” at [HKEY_LOCAL_MACHINE\Drivers\Display\GPE] and set them to 192. Then GetDeviceCaps(hdc, LOGPIXELSX) will return a value of 192. But the actual display effect is still not as expected. e.g. icons on the desktop look still very small.

Windows Embedded CE 6.0 R3; DPI; 
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 2667786 - Last Review: 01/30/2012 09:41:00 - Revision: 1.0

  • Windows Embedded CE 6.0
  • Windows Embedded CE 6.0 R2
  • Windows Embedded CE 6.0 R3
  • KB2667786