DirectX SDK |
The DirectDraw7.RestoreAllSurfaces method restores all the surfaces created for the DirectDraw object, in the order that they were created.
object.RestoreAllSurfaces()
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |
This method is provided for convenience. Effectively, this method calls the DirectDrawSurface7.Restore method for each surface created by this DirectDraw object.