.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH VarCyFromBool 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBVarCyFromBool\fR (OLEAUT32.106) .SH SYNOPSIS HRESULT VarCyFromBool ( VARIANT_BOOL \fIboolIn\fR, CY* \fIpCyOut\fR ) .SH DESCRIPTION .PP Convert a \fBVT_BOOL\fR to a \fBVT_CY\fR. .SH PARAMS \fIboolIn\fR \fB[In]\fR Source. .PP \fIpCyOut\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 \fBDISP_E_TYPEMISMATCH\fR, if the type cannot be converted. .SH NOTES .PP While the sign of the boolean is stored in the currency, the value is converted to either \fB0\fR or \fB1.\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.