.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH VarCyInt 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBVarCyInt\fR (OLEAUT32.308) .SH SYNOPSIS HRESULT VarCyInt ( 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 \fBVarCyFix(3w)\fR is that \fBVarCyFix(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.