VarXor Function

Performs a logical exclusion on two variants.

HRESULT VarXor(  
  LPVARIANT  pvarLeft,         
  LPVARIANT  pvarRight,  
  LPVARIANT  pvarResult
);

pvarLeft

[in] Points to the first variant.

pvarRight

[in] Points to the second variant.

pvarResult

[out] Points to the result variant.

The function returns one of the following:

If pvarLeft is

If pvarRight is

Then pvarResult is

TRUE

TRUE

FALSE

TRUE

FALSE

TRUE

FALSE

TRUE

TRUE

FALSE

FALSE

FALSE

NULL

NULL

NULL

Show:
© 2014 Microsoft