Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
The IsEqualDevice method queries whether this device and another device represent the same underlying hardware.
Syntax
HRESULT IsEqualDevice(
[in] IMSVidDevice *Device,
[out] VARIANT_BOOL *IsEqual
);
Parameters
[in] Device
Pointer to the other device's IMSVidDevice interface.
[out] IsEqual
Pointer to a variable that receives one of the following values.
| Value | Description |
|---|---|
| VARIANT_TRUE | The two devices represent the same underlying hardware. |
| VARIANT_FALSE | The two devices do not represent the same hardware. |
Return value
Returns an HRESULT value. Possible values include the following.
| Return code | Description |
|---|---|
|
Success; returned VARIANT_TRUE. |
|
Success; returned VARIANT_FALSE. |
|
NULL pointer argument. |
|
Unexpected error occurred. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows�XP [desktop apps only] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | segment.h (include Msvidctl.h) |