Reference

VarUI4FromCy(3w)

NAME

VarUI4FromCy (OLEAUT32.276)

SYNOPSIS

HRESULT VarUI4FromCy
(
CY cyIn,
ULONG* pulOut
)

DESCRIPTION

Convert a VT_CY to a VT_UI4.

PARAMS

cyIn [In] Source.

pulOut [Out] Destination.

RETURNS

Success: S_OK.

Failure: DISP_E_OVERFLOW, if the value will not fit in the destination

IMPLEMENTATION

Declared in "oleauto.h".

Implemented in "dlls/oleaut32/vartype.c".

Debug channel "variant".

History