.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH VarAbs 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBVarAbs\fR (OLEAUT32.168) .SH SYNOPSIS HRESULT VarAbs ( LPVARIANT \fIpVarIn\fR, LPVARIANT \fIpVarOut\fR ) .SH DESCRIPTION .PP Convert a variant to its absolute value. .SH PARAMS \fIpVarIn\fR \fB[In]\fR Source variant. .PP \fIpVarOut\fR \fB[Out]\fR Destination for converted value. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. \fIpVarOut\fR contains the absolute value of \fIpVarIn\fR. .PP \fBFailure:\fR An \fBHRESULT\fR error code indicating the error. .SH NOTES .PP \fB-\fR This function does not process by-reference variants. .PP \fB-\fR The type of the value stored in \fIpVarOut\fR depends on the type of \fIpVarIn\fR, according to the following table: .br Input Type Output Type .br ---------- ----------- .br VT_BOOL VT_I2 .br VT_BSTR VT_R8 .br (All others) Unchanged .SH IMPLEMENTATION .PP Declared in \fB"oleauto.h"\fR. .PP Implemented in \fB"dlls/oleaut32/variant.c"\fR. .PP Debug channel \fB"variant"\fR.