Reference

VarI4FromDate(3w)

NAME

VarI4FromDate (OLEAUT32.63)

SYNOPSIS

HRESULT VarI4FromDate
(
DATE dateIn,
LONG* piOut
)

DESCRIPTION

Convert a VT_DATE to a VT_I4.

PARAMS

dateIn [In] Source.

piOut [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