VarDateFromUdate (OLEAUT32.330)
HRESULT VarDateFromUdate ( UDATE* pUdateIn, ULONG dwFlags, DATE* pDateOut )
Convert an unpacked format date and time to a variant VT_DATE.
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. |
Success: S_OK. *pDateOut contains the converted value.
Failure: E_INVALIDARG, if pUdateIn cannot be represented in VT_DATE format.
This function uses the United States English locale for the conversion. Use VarDateFromUdateEx for alternate locales.
Declared in "include/oleauto.h". gitlab.winehq.org/wine/wine/blob/master/include/oleauto.h
Implemented in "dlls/oleaut32/variant.c". gitlab.winehq.org/wine/wine/blob/master/dlls/oleaut32/variant.c
Debug channel "variant".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.