Share via


IDirectDraw::RestoreDisplayMode

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method resets the mode of the display device hardware for the primary surface to what it was before the IDirectDraw::SetDisplayMode method was called. Exclusive-level access is required to use this method.

Syntax

HRESULT RestoreDisplayMode();

Parameters

None.

Return Value

The return value is DD_OK.

Remarks

As this functionality is not needed on Windows Embedded CE, this function does nothing except return DD_OK.

Requirements

Header ddraw.h
Library ddraw.lib
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also

Reference

IDirectDraw::SetDisplayMode
IDirectDraw::EnumDisplayModes
IDirectDraw::SetCooperativeLevel