Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VarNeg function

Performs logical negation on a variant.

Syntax


HRESULT VarNeg(
  _In_  LPVARIANT pvarIn,
  _Out_ LPVARIANT pvarResult
);

Parameters

pvarIn [in]

The variant.

pvarResult [out]

The result variant.

Return value

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

Requirements

Header

OleAuto.h

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Show:
© 2016 Microsoft