ole32: Print a fixme when an aggregation attempt fails.

This commit is contained in:
Lei Zhang 2007-12-13 11:46:43 -08:00 committed by Alexandre Julliard
parent a9b05bea3f
commit d5e78c84c7
1 changed files with 6 additions and 2 deletions

View File

@ -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;
}