Share via


IDirectDraw::RestoreAllSurfaces

Send Feedback

This method restores all the surfaces created for the DirectDraw object, in the order they were created.

HRESULT RestoreAllSurfaces(); 

Parameters

None.

Return Values

The return value is DD_OK.

Remarks

DirectDraw surfaces may be lost when the display orientation is changed (through ChangeDisplaySettingsEx) or when the current process or a different process enters the fullscreen cooperative level. When a DirectDraw surface is lost, many methods will return DDERR_SURFACELOST and perform no other function.

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

IDirectDrawSurface::Restore

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.