Microsoft DirectX 8.1 (Visual Basic)

D3DXRenderToSurface.GetDesc

Retrieves the parameters of the render surface.

object.GetDesc( _ 
    Parameters As D3DXRTS_DESC)

Parts

object
Object expression that resolves to a D3DXRenderToSurface object.
Parameters
D3DXRTS_DESC type, describing the parameters of the render surface.

Error Codes

If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.