DirectX SDK |
The Direct3DDevice7.GetDirect3D method retrieves the Direct3D object for this device.
object.GetDirect3D() As Direct3D7
If the method succeeds, a reference to a Direct3D7 object is returned.
If the method fails, an error is raised and Err.Number will be set.