Share via


IDirectDraw::RestoreAllSurfaces (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HRESULT RestoreAllSurfaces(); 

Parameters

None.

Return Value

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

Header ddraw.h
Library ddraw.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

IDirectDraw
IDirectDrawSurface::Restore