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

This method resets the mode of the display device hardware for the primary surface to what it was before the IDirectDraw::SetDisplayModemethod 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