VarNeg function (oleauto.h)

Performs logical negation on a variant.

Syntax

HRESULT VarNeg(
  LPVARIANT pvarIn,
  LPVARIANT pvarResult
);

Parameters

pvarIn

The variant.

pvarResult

The result variant.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Target Platform Windows
Header oleauto.h
Library OleAut32.lib
DLL OleAut32.dll