.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH VariantClear 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBVariantClear\fR (OLEAUT32.9) .SH SYNOPSIS HRESULT VariantClear ( VARIANTARG* \fIpVarg\fR ) .SH DESCRIPTION .PP Clear a variant. .SH PARAMS \fIpVarg\fR \fB[In/Out]\fR Variant to clear. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. Any previous value in \fIpVarg\fR is freed and its type is set to \fBVT_EMPTY\fR. .PP \fBFailure:\fR \fBDISP_E_BADVARTYPE\fR, if the variant is not a valid variant type. .SH IMPLEMENTATION .PP Declared in \fB"oleauto.h"\fR. .PP Implemented in \fB"dlls/oleaut32/variant.c"\fR. .PP Debug channel \fB"variant"\fR.