NAME

VarDateFromUdate  (OLEAUT32.330)

SYNOPSIS

 HRESULT VarDateFromUdate
 (
  UDATE* pUdateIn,
  ULONG  dwFlags,
  DATE*  pDateOut
 )

DESCRIPTION

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 "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 Nov 2024.