.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH VarUI1FromCy 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBVarUI1FromCy\fR (OLEAUT32.134) .SH SYNOPSIS HRESULT VarUI1FromCy ( CY \fIcyIn\fR, BYTE* \fIpbOut\fR ) .SH DESCRIPTION .PP Convert a \fBVT_CY\fR to a \fBVT_UI1\fR. .SH PARAMS \fIcyIn\fR \fB[In]\fR Source. .PP \fIpbOut\fR \fB[Out]\fR Destination. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. .PP \fBFailure:\fR \fBE_INVALIDARG\fR, if the source value is invalid \fBDISP_E_OVERFLOW\fR, if the value will not fit in the destination. .SH NOTES .PP Negative values >= \fB-5000\fR will be converted to \fB0.\fR .SH IMPLEMENTATION .PP Declared in \fB"oleauto.h"\fR. .PP Implemented in \fB"dlls/oleaut32/vartype.c"\fR. .PP Debug channel \fB"variant"\fR.