?/TD>
Microsoft DirectX 9.0

IDirect3DSurface9::GetDesc Method


Retrieves a description of the surface.

Syntax

HRESULT GetDesc(      

    D3DSURFACE_DESC *pDesc );

Parameters

pDesc
[out] Pointer to a D3DSURFACE_DESC structure, describing the surface.

Return Value

If the method succeeds, the return value is D3D_OK.

D3DERR_INVALIDCALL is returned if the argument is invalid.





© 2002 Microsoft Corporation. All rights reserved.