A device returns an error when you use the GETRAWFRAMEBUFFER global constant with Windows Mobile 2003 Second Edition software for Pocket PC and with Windows Mobile 2003 Second Edition software for Smartphone (843498)
The information in this article applies to:
- Microsoft Windows Mobile 2003 Second Edition software for Pocket PC
- Microsoft Windows Mobile 2003 Second Edition software for Smartphone
SYMPTOMSA device returns an error when you use the Game API (GAPI) GETRAWFRAMEBUFFER global constant with a high dots per inch (high-dpi) device. Specifically, the GAPI GETRAWFRAMEBUFFER global constant does not work with devices that do not have a standard linear
frame buffer. This problem occurs with Microsoft Windows Mobile 2003 Second Edition software for Pocket PC and with Windows Mobile 2003 Second Edition software for Smartphone.CAUSEThis problem occurs when the high-dpi device does not provide a raw pointer to linear screen memory. The GAPI programming model assumes that the high-dpi device provides a raw pointer to linear screen memory. However, we cannot guarantee
that all high-dpi devices have a linear frame buffer. Currently, we have no
support for non-linear display.WORKAROUNDUse a Graphics Device Interface (GDI) when the GETRAWFRAMEBUFFER global constant fails on a high-dpi
device.STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.REFERENCESFor additional information about developing dpi-aware applications, visit the following Microsoft Developer Network (MSDN) Web site:
Modification Type: | Minor | Last Reviewed: | 1/31/2005 |
---|
Keywords: | kbinfo kbtshoot kbprb KB843498 kbAudDeveloper |
---|
|