IDirectDraw4::RestoreDisplayMode

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

HRESULT RestoreDisplayMode();

Parameters

None.

Return Values

The return value is DD_OK.

Remarks

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

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddraw.h.
Link Library: Ddraw.lib.

See Also

IDirectDraw4::SetDisplayMode | IDirectDraw4::EnumDisplayModes | IDirectDraw4::SetCooperativeLevel

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.