Microsoft Windows CE 3.0  

Setting Display Modes

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

You can set the display mode by using the IDirectDraw4::SetDisplayModemethod. The SetDisplayModemethod accepts four parameters that describe the dimensions, bit depth, and refresh rate of the mode to be set. However, attempting to set the display mode to anything other than the current mode will fail as the Windows CE version of DirectX does not support display mode changes.

The DirectDraw exclusive (full-screen) mode does not bar other applications from allocating DirectDrawSurface objects, nor does it exclude them from using DirectDraw or GDI functionality. However, it does prevent applications other than the one that obtained exclusive access from changing the palette.

Note   You can only call the IDirectDraw4::SetDisplayModemethod from the thread that created the application window. For single threaded applications (the vast majority), this restriction isn't an issue.


 Last updated on Tuesday, May 18, 2004

© 2004 Microsoft Corporation. All rights reserved. 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.