DirectX SDK

Direct3DEnumDevices.GetDesc

The Direct3DEnumDevices.GetDesc method returns the capabilities of the desired Direct3D device.

object.GetDesc(index As Long, hwDesc As D3DDEVICEDESC7)

Parameters

object
Object expression that resolves to a Direct3DEnumDevices object.
index
On a system with multiple Direct3D devices, this parameter represents the specific device.
hwDesc
A D3DDEVICEDESC7 type that contains the hardware capabilities of the Direct3D device.

Error Codes

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