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.
This topic applies to Windows XP or later.
The IsEqualDevice method queries whether this device and another device represent the same underlying hardware.
Syntax
HRESULT IsEqualDevice(
[in] IMSVidDevice *pDevice,
[out] VARIANT_BOOL *pIsEqual
);
Parameters
pDevice [in]
Pointer to the other device's IMSVidDevice interface.pIsEqual [out]
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 |
---|---|
S_OK |
Success; returned VARIANT_TRUE. |
S_FALSE |
Success; returned VARIANT_FALSE. |
E_POINTER |
NULL pointer argument. |
E_UNEXPECTED |
Unexpected error occurred. |
Requirements
Header | Declared in Dshow.h. |
DLL | Requires Quartz.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008