다음을 통해 공유


IDirectDraw::RestoreDisplayMode (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

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