IDirectDrawSurface5::Restore

This method restores a surface that has been lost. The restore occurs when the surface memory associated with the DirectDrawSurface object has been freed.

HRESULT Restore();

Parameters

None.

Return Values

The return value is DD_OK.

Remarks

Surfaces cannot be lost on Windows CE, so this method does nothing but return DD_OK.

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddraw.h.
Link Library: Ddraw.lib.

See Also

IDirectDrawSurface5::IsLost

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.