Lei Zhang : ole32: Print a fixme when an aggregation attempt fails.
Alexandre Julliard
julliard at winehq.org
Fri Dec 14 07:39:38 CST 2007
Module: wine
Branch: master
Commit: d5e78c84c70d3c525f4a26fb04ee4ee66f547770
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d5e78c84c70d3c525f4a26fb04ee4ee66f547770
Author: Lei Zhang <thestig at google.com>
Date: Thu Dec 13 11:46:43 2007 -0800
ole32: Print a fixme when an aggregation attempt fails.
---
dlls/ole32/compobj.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 7ef613e..5339db2 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -2411,8 +2411,12 @@ HRESULT WINAPI CoCreateInstance(
hres = IClassFactory_CreateInstance(lpclf, pUnkOuter, iid, ppv);
IClassFactory_Release(lpclf);
if(FAILED(hres))
- FIXME("no instance created for interface %s of class %s, hres is 0x%08x\n",
- debugstr_guid(iid), debugstr_guid(rclsid),hres);
+ {
+ if (hres == CLASS_E_NOAGGREGATION && pUnkOuter)
+ FIXME("Class %s does not support aggregation\n", debugstr_guid(rclsid));
+ else
+ FIXME("no instance created for interface %s of class %s, hres is 0x%08x\n", debugstr_guid(iid), debugstr_guid(rclsid),hres);
+ }
return hres;
}
More information about the wine-cvs
mailing list