Module: wine Branch: master Commit: de8e566ebe74eaa4855e372e74358fa38897f1dc URL: http://source.winehq.org/git/wine.git/?a=commit;h=de8e566ebe74eaa4855e372e74...
Author: Misha Koshelev mk144210@bcm.edu Date: Mon May 7 17:51:07 2007 -0500
msi: automation: Output FIXMEs for unknown member names.
---
dlls/msi/automation.c | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/automation.c b/dlls/msi/automation.c index dc85ead..025b4a9 100644 --- a/dlls/msi/automation.c +++ b/dlls/msi/automation.c @@ -279,10 +279,21 @@ static HRESULT WINAPI AutomationObject_GetIDsOfNames( DISPID* rgDispId) { AutomationObject *This = (AutomationObject *)iface; + HRESULT hr; TRACE("(%p/%p)->(%p,%p,%d,%d,%p)\n", iface, This, riid, rgszNames, cNames, lcid, rgDispId);
if (!IsEqualGUID(riid, &IID_NULL)) return E_INVALIDARG; - return ITypeInfo_GetIDsOfNames(This->iTypeInfo, rgszNames, cNames, rgDispId); + hr = ITypeInfo_GetIDsOfNames(This->iTypeInfo, rgszNames, cNames, rgDispId); + if (hr == DISP_E_UNKNOWNNAME) + { + int idx; + for (idx=0; idx<cNames; idx++) + { + if (rgDispId[idx] == DISPID_UNKNOWN) + FIXME("Unknown member %s, clsid %s\n", debugstr_w(rgszNames[idx]), debugstr_guid(This->clsid)); + } + } + return hr; }
/* Maximum number of allowed function parameters+1 */