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.

VarCyMul function

Multiplies two variants of type currency.

Syntax


HRESULT VarCyMul(
  _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

If any of the fields of cyLeft or cyRight is left uninitialized, it may default to a large value causing DISP_E_OVERFLOW.

Requirements

Header

OleAuto.h

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Show:
© 2017 Microsoft