|Microsoft DirectX 9.0|
The GetSurfaceDesc method returns a DDSURFACEDESC structure describing the surface in its current condition.
HRESULT GetSurfaceDesc( LPDDSURFACEDESC lpDDSurfaceDesc );
Points to a DDSURFACEDESC structure to be filled in with the current description of this surface.
|DD_OK||The method succeeded.|
|DDERR_INVALIDOBJECT||DirectDraw received a pointer that was an invalid DirectDraw object.|
|DDERR_INVALIDPARAMS||One or more of the input parameters is invalid.|