Microsoft DirectX 8.1 (Visual Basic)

Direct3DSurface8.GetDesc

Retrieves a description of the surface.

object.GetDesc( _ 
    Desc As D3DSURFACE_DESC)

Parts

object
Object expression that resolves to a Direct3DSurface8 object.
Desc
A D3DSURFACE_DESC type, describing the 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.