IDirectDraw4::RestoreDisplayMode

The IDirectDraw4::RestoreDisplayMode 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

Runs on Versions Declared in Link to
Windows CE OS 2.12 or later. Version 2.12 requires DXPAK 1.0 or later. ddraw.h ddraw.lib

See Also

IDirectDraw4::SetDisplayMode, IDirectDraw4::EnumDisplayModes, IDirectDraw4::SetCooperativeLevel

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.