Reference

VarEqv(3w)

NAME

VarEqv (OLEAUT32.172)

SYNOPSIS

HRESULT VarEqv
(
LPVARIANT pVarLeft,
LPVARIANT pVarRight,
LPVARIANT pVarOut
)

DESCRIPTION

Determine if two variants contain the same value.

PARAMS

pVarLeft [In] First variant to compare.

pVarRight [In] Variant to compare to pVarLeft.

pVarOut [Out] Destination for comparison result.

RETURNS

Success: S_OK. pVarOut contains the result of the comparison (VARIANT_TRUE if equivalent or non-zero otherwise.

Failure: An HRESULT error code indicating the error.

NOTES

- This function simply calls VarXor(3w) on pVarLeft and pVarRight and inverts the result.

IMPLEMENTATION

Declared in "oleauto.h".

Implemented in "dlls/oleaut32/variant.c".

Debug channel "variant".

History