VarDecNeg function

Performs logical negation on a variant of type decimal.

Syntax


HRESULT VarDecNeg(
  _In_  LPDECIMAL pdecIn,
  _Out_ LPDECIMAL pdecResult
);

Parameters

pdecIn [in]

The variant to negate.

pdecResult [out]

The resulting 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: