Windows Embedded CE 6.0 R3 doesn't support high DPI

Article ID: 2667786 - View products that this article applies to.
Expand all | Collapse all

SUMMARY


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.


MORE INFORMATION

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.

Properties

Article ID: 2667786 - Last Review: January 30, 2012 - Revision: 1.0
APPLIES TO
  • Windows Embedded CE 6.0
  • Windows Embedded CE 6.0 R2
  • Windows Embedded CE 6.0 R3
Keywords: 
KB2667786

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com