IDirectDraw::RestoreAllSurfaces
A version of this page is also available for
4/8/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 |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |