http://bugs.winehq.com/show_bug.cgi?id=1143
Summary: VarAnd returns a FIXME, and no trace.. Product: Wine Version: 20010112 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.com ReportedBy: michael@linuxmagic.com
Saw a patch from a while ago, but doesn't seem to be in the latest binaries available with debian...
I get a trace message which returns the FIXME: ole VarAnd stub However this patch below looks like something was already done to fix this? Looks like VarAnd gets called from VarNumFromParseNum
+HRESULT WINAPI VarAnd(LPVARIANT left, LPVARIANT right, LPVARIANT result) +{ + HRESULT rc = E_FAIL; + + + TRACE("Left Var:\n"); + dump_Variant(left); + TRACE("Right Var:\n"); + dump_Variant(right); + + if ((V_VT(left)&VT_TYPEMASK) == VT_BOOL && + (V_VT(right)&VT_TYPEMASK) == VT_BOOL) { + + V_VT(result) = VT_BOOL; + if (V_BOOL(left) && V_BOOL(right)) { + V_BOOL(result) = VARIANT_TRUE; + } else { + V_BOOL(result) = VARIANT_FALSE; + } + rc = S_OK; + + } else { + FIXME("VarAnd stub\n");
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://bugs.winehq.com/show_bug.cgi?id=1143. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.