Share via


IDirectDraw::RestoreDisplayMode

Send Feedback

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.

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

Pocket PC: Windows Mobile 5.0 and later
Smartphone: Windows Mobile 5.0 and later
OS Versions: Windows CE 5.01 and later
Header: Ddraw.h.
Library: Ddraw.lib.

See Also

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.