Share via


Setting Display Modes

You can set the display mode by using the IDirectDraw4::SetDisplayMode method. The SetDisplayMode method 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.

© 1992-2003 Microsoft Corporation. All rights reserved.