oleaut32: Adds support for handling TKIND_COCLASS in
typelib:userdefined_to_variantvt
Benjamin Arai
me at benjaminarai.com
Mon Aug 21 19:50:28 CDT 2006
Hi,
Fixes bugs:
http://bugs.winehq.org/show_bug.cgi?id=4073
http://bugs.winehq.org/show_bug.cgi?id=5071
http://bugs.winehq.org/show_bug.cgi?id=4776
ChangeLog:
- Adds handling for TKIND_COCLASS in userdefined_to_variantvt
Copyright: Google
License: LGPL
---
dlls/oleaut32/typelib.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
--
Benjamin Arai
http://www.benjaminarai.com
-------------- next part --------------
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index d75b665..b680fac 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -5011,6 +5011,10 @@ static HRESULT userdefined_to_variantvt(
*vt |= VT_DISPATCH;
break;
+ case TKIND_COCLASS:
+ *vt |= VT_UNKNOWN;
+ break;
+
case TKIND_RECORD:
FIXME("TKIND_RECORD unhandled.\n");
hr = E_NOTIMPL;
--
1.4.0
More information about the wine-patches
mailing list