Commit d5e78c84 authored by Lei Zhang's avatar Lei Zhang Committed by Alexandre Julliard

ole32: Print a fixme when an aggregation attempt fails.

parent a9b05bea
...@@ -2411,8 +2411,12 @@ HRESULT WINAPI CoCreateInstance( ...@@ -2411,8 +2411,12 @@ HRESULT WINAPI CoCreateInstance(
hres = IClassFactory_CreateInstance(lpclf, pUnkOuter, iid, ppv); hres = IClassFactory_CreateInstance(lpclf, pUnkOuter, iid, ppv);
IClassFactory_Release(lpclf); IClassFactory_Release(lpclf);
if(FAILED(hres)) 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; return hres;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment