Microsoft DirectX 9.0

IMSVidDevice.IsEqualDevice

This topic applies to Windows XP only.

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

Syntax

ObjIMSVidDevice.IsEqualDevice(
    Device As MSVidDevice
) As Boolean

Parameters

  Device

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.

Remarks

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

See Also