Compartilhar via


IDirectDraw::RestoreAllSurfaces (Compact 2013)

3/26/2014

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

See Also

Reference

IDirectDraw
DirectDraw Reference
DirectDraw Interfaces
IDirectDrawSurface::Restore

Other Resources

DirectDraw