.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH VarDecInt 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBVarDecInt\fR (OLEAUT32.188) .SH SYNOPSIS HRESULT VarDecInt ( const DECIMAL* \fIpDecIn\fR, DECIMAL* \fIpDecOut\fR ) .SH DESCRIPTION .PP Return the integer portion of a \fBDECIMAL\fR. .SH PARAMS \fIpDecIn\fR \fB[In]\fR Source. .PP \fIpDecOut\fR \fB[Out]\fR Destination. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. .PP \fBFailure:\fR \fBDISP_E_OVERFLOW\fR, if the value will not fit in the destination. .SH NOTES .PP \fB-\fR The difference between this function and \fBVarDecFix(3w)\fR is that \fBVarDecFix(3w)\fR rounds negative numbers towards \fB0\fR, while this function rounds them away from zero. .SH IMPLEMENTATION .PP Declared in \fB"oleauto.h"\fR. .PP Implemented in \fB"dlls/oleaut32/vartype.c"\fR. .PP Debug channel \fB"variant"\fR.