Microsoft DirectX 8.1 (Visual Basic)

Direct3DVolume8.GetDesc

Retrieves a description of the volume.

object.GetDesc( _ 
    Desc As D3DVOLUME_DESC)

Parts

object
Object expression that resolves to a Direct3DVolume8 object.
Desc
A D3DVOLUME_DESC type, describing the volume.

Error Codes

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

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