Platform SDK: DirectX |
The DirectDrawSurface7.GetSurfaceDesc method retrieves a description of the surface in its current condition.
object.GetSurfaceDesc(surface As DDSURFACEDESC2)
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |