Microsoft DirectX 8.1 (Visual Basic)

Direct3DVolume8.GetContainer

Provides access to the parent volume texture object, if this surface is a child level of a volume texture.

object.GetContainer( _ 
    Riid  As GUID) As Unknown

Parts

object
Object expression that resolves to a Direct3DVolume8 object.
Riid
Reference identifier of the volume being requested.

Return Values

An Unknown object to fill with the container object, if the query succeeds.

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.