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.
A version of this page is also available for
4/8/2010

You can set the display mode by using the IDirectDraw::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 Embedded CE version of DirectX does not support display mode changes.