Fix Handling Complex ITypeInfo::Invoke Return Values

Robert Shearman rob at codeweavers.com
Wed Jun 29 13:28:08 CDT 2005


Hi,

The function added by this patch will be more heavily used when the 
Invoke rewrite is done, but for now we just use it for converting the 
return value. This patch fixes a problem reported by Huw where a return 
value of type VT_PTR -> VT_PTR -> VT_USERDEFINED(TKIND_ALIAS -> 
VT_USERDEFINED(TKIND_INTERFACE)) was not handled correctly.

Changelog:

Robert Shearman <rob at codeweavers.com> for Mandriva

Add a generic TYPEDESC VT to VARIANT VT mapper so we can use the standard Variant* routines. Use this new function to properly copy & de-reference the return value.


-- 
Rob Shearman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: invoke_retval_fix.diff
Type: text/x-patch
Size: 7729 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050629/88ce51e9/invoke_retval_fix.bin


More information about the wine-patches mailing list