Microsoft DirectX 9.0


This topic applies to Windows XP only.

The IsEqualDevice method indicates whether this device and another device represent the same underlying hardware.


    Device As MSVidDevice
) As Boolean



Specifies an IMSVidDevice object or an object that derives from this type.

Error Codes

If the method fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

Returns True if the two objects represent the same device, or False otherwise.


If a system has two identical video cards installed, this method can be used to distinguish between them.

See Also