Windows Dev Center

Expand Minimize

VarCyNeg function

Performs a logical negation on a variant of type currency.

Syntax


HRESULT VarCyNeg(
  _In_  CY   cyIn,
  _Out_ LPCY pcyResult
);

Parameters

cyIn [in]

The variant to negate.

pcyResult [out]

The resulting variant.

Return value

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

Remarks

Windows Phone 8.1: This API is supported.

Requirements

Header

OleAuto.h

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft