VarOr.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

VarOr (OLEAUT32.157)

SYNOPSIS

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

DESCRIPTION

Perform a logical or (OR) operation on two variants.

PARAMS

pVarLeft [In] First variant.

pVarRight [In] Variant to OR with pVarLeft.

pVarOut [Out] Destination for OR result.

RETURNS

Success: S_OK. pVarOut contains the result of the operation with its type taken from the table listed under VarXor(3w).

Failure: An HRESULT error code indicating the error.

NOTES

See the Notes section of VarXor(3w) for further information.

IMPLEMENTATION

Defined in "oleauto.h".

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

Debug channel "variant".