VarCyMul function (oleauto.h)
Multiplies two variants of type currency.
Syntax
HRESULT VarCyMul(
[in] CY cyLeft,
[in] CY cyRight,
[out] LPCY pcyResult
);
Parameters
[in] cyLeft
The first variant
[in] cyRight
The second variant.
[out] pcyResult
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oleauto.h |
Library | OleAut32.lib |
DLL | OleAut32.dll |