Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Send Feedback on this topic to the authors