Re: olefont: GetIDsOfNames
14 Sep
2005
14 Sep
'05
10:50 a.m.
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
7485
Age (days ago)
7485
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard