Windows Dev Center

Expand Minimize

VarCyAdd function

Adds two variants of type currency.

Syntax


HRESULT VarCyAdd(
  _In_  CY   cyLeft,
  _In_  CY   cyRight,
  _Out_ LPCY pcyResult
);

Parameters

cyLeft [in]

The first variant.

cyRight [in]

The second variant.

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