VarDateFromUdate3w
Usage
HRESULT VarDateFromUdate
(
UDATE* pUdateIn,
ULONG dwFlags,
DATE* pDateOut
)
Overview
Convert an unpacked format date and time to a variant VT_DATE.
Params
pUdateIn [In] Unpacked format date and time to convert.
dwFlags [In] Flags controlling the conversion (VAR_ flags from "oleauto.h").
pDateOut [Out] Destination for variant VT_DATE.
Returns
Success: S_OK. *pDateOut contains the converted value.
Failure: E_INVALIDARG, if pUdateIn cannot be represented in VT_DATE format.
Notes
This function uses the United States English locale for the conversion. Use VarDateFromUdateEx() for alternate locales.
Implementation
Declared in "oleauto.h".
Implemented in "dlls/oleaut32/variant.c".
Debug channel "variant".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.