.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH VariantChangeType 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBVariantChangeType\fR (OLEAUT32.12) .SH SYNOPSIS HRESULT VariantChangeType ( VARIANTARG* \fIpvargDest\fR, VARIANTARG* \fIpvargSrc\fR, USHORT \fIwFlags\fR, VARTYPE \fIvt\fR ) .SH DESCRIPTION .PP Change the type of a variant. .SH PARAMS \fIpvargDest\fR \fB[Out]\fR Destination for the converted variant. .PP \fIpvargSrc\fR \fB[Out]\fR Source variant to change the type of. .PP \fIwFlags\fR \fB[In]\fR \fBVARIANT_\fR flags from \fB"oleauto.h"\fR. .PP \fIvt\fR \fB[In]\fR Variant type to change \fIpvargSrc\fR into. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. \fIpvargDest\fR contains the converted value. .PP \fBFailure:\fR An \fBHRESULT\fR error code describing the failure. .SH NOTES .PP The \fBLCID\fR used for the conversion is \fBLOCALE_USER_DEFAULT\fR. See \fBVariantChangeTypeEx(3w)\fR. .SH IMPLEMENTATION .PP Declared in \fB"oleauto.h"\fR. .PP Implemented in \fB"dlls/oleaut32/variant.c"\fR. .PP Debug channel \fB"variant"\fR.