DirectX SDK |
The DirectDraw7.GetGDISurface method retrieves the DirectDrawSurface object that currently represents the surface memory that the GDI is treating as the primary surface.
object.GetGDISurface() As DirectDrawSurface7
If the method succeeds, it returns a DirectDrawSurface7.
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |
DDERR_NOTFOUND |