DirectX SDK

Direct3DEnumDevices.GetCount

The Direct3DEnumDevices.GetCount method returns the number of Direct3D devices installed on the system.

object.GetCount() As Long

Parameters

object
Object expression that resolves to a Direct3DEnumDevices object.

Return Values

If the method succeeds, the number of Direct3D devices installed on the system is returned.

Error Codes

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