.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH VarDateFromStr 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBVarDateFromStr\fR (OLEAUT32.94) .SH SYNOPSIS HRESULT VarDateFromStr ( OLECHAR* \fIstrIn\fR, LCID \fIlcid\fR, ULONG \fIdwFlags\fR, DATE* \fIpdateOut\fR ) .SH DESCRIPTION .PP Convert a \fBVT_BSTR\fR to at \fBVT_DATE\fR. .SH PARAMS \fIstrIn\fR \fB[In]\fR String to convert. .PP \fIlcid\fR \fB[In]\fR Locale identifier for the conversion. .PP \fIdwFlags\fR \fB[In]\fR Flags affecting the conversion (\fBVAR_\fR flags from \fB"oleauto.h"\fR). .PP \fIpdateOut\fR \fB[Out]\fR Destination for the converted value. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. \fIpdateOut\fR contains the converted value. .PP \fBFAILURE:\fR An \fBHRESULT\fR error code indicating the problem. .SH NOTES .PP Any date format that can be created using the date formats from \fIlcid\fR (Either from kernel Nls functions, variant conversion or formatting) is a valid input to this function. In addition, a few more esoteric formats are also supported for compatibility with the native version. The date is interpreted according to the date settings in the control panel, unless the date is invalid in that format, in which the most compatible format that produces a valid date will be used. .SH IMPLEMENTATION .PP Declared in \fB"oleauto.h"\fR. .PP Implemented in \fB"dlls/oleaut32/vartype.c"\fR. .PP Debug channel \fB"variant"\fR.