Microsoft DirectX 9.0 |
The GetSurfaceDesc method returns a DDSURFACEDESC structure describing the surface in its current condition.
Syntax
HRESULT GetSurfaceDesc(
LPDDSURFACEDESC lpDDSurfaceDesc
);
Parameters
lpDDSurfaceDesc
Points to a DDSURFACEDESC structure to be filled in with the current description of this surface.
Return Values
Value | Description |
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. |
See Also