IDirect3DSurface9::GetDesc

This is a method of [IDirect3DSurface9 which gets a pointer to D3DSURFACE_DESC which describes the surface.

Syntax
HRESULT GetDesc( D3DSURFACE_DESC * pDesc );

Parameter
 pDesc -  Output pointer to D3DSURFACE_DESC which describes the surface.

Return Values
It will return D3D_OK if it succeeds, D3DERR_INVALIDCALL if the parameter is invalid.

Requirements
Header -  d3d9.h

 Library -  d3d9.lib