Walt Ogburn <reuben(a)ugcs.caltech.edu> writes:
> OLEFontImpl *this = impl_from_IDispatch(iface);
> - FIXME("(%p,%s,%p,%d,%04x,%p), stub!\n", this, debugstr_guid(riid), rgszNames,
> - cNames, (int)lcid, rgDispId
> - );
> - return E_NOTIMPL;
> + TRACE("(%p,%s,%p,%d,%04x,%p)\n", this, debugstr_guid(riid), rgszNames,
> + cNames, (int)lcid, rgDispId);
> + if (S_OK != OLEFontImpl_GetTypeInfo (iface, 0, lcid, &pTInfo))
> + ERR("GetTypeInfo failed.\n");
You need to handle the failure properly, instead of just displaying an
ERR and then going on with a bad pointer.
--
Alexandre Julliard
julliard(a)winehq.org