.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH VarCyFix 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBVarCyFix\fR (OLEAUT32.307) .SH SYNOPSIS HRESULT VarCyFix ( const CY \fIcyIn\fR, CY* \fIpCyOut\fR ) .SH DESCRIPTION .PP Return the integer part of a \fBVT_CY\fR. .SH PARAMS \fIcyIn\fR \fB[In]\fR Source. .PP \fIpCyOut\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 \fBVarCyInt(3w)\fR is that \fBVarCyInt(3w)\fR rounds negative numbers away from \fB0\fR, while this function rounds them towards 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.