Platform SDK: DirectX

Direct3DDevice7.GetDirect3D

The Direct3DDevice7.GetDirect3D method retrieves the Direct3D object for this device.

object.GetDirect3D() As Direct3D7

Parameters

object
Object expression that resolves to a Direct3DDevice7 object.

Return Values

If the method succeeds, a reference to a Direct3D7 object is returned.

Error Codes

If the method fails, an error is raised and Err.Number will be set.