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.
Restores all the surfaces that were created for the DirectDraw object, in the order that they were created.
Syntax
HRESULT RestoreAllSurfaces();
Return value
If the method succeeds, the return value is DD_OK.
If it fails, the method can return one of the following error values:
- DDERR_INVALIDOBJECT
- DDERR_INVALIDPARAMS
Remarks
This method is provided for convenience. Effectively, this method calls the IDirectDrawSurface7::Restore method for each surface that is created by this DirectDraw object.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | ddraw.h |
Library | Ddraw.lib |
DLL | Ddraw.dll |