From 18ba830ff8f16395ad43da996b995d6ea8113bf0 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Thu, 10 Dec 2009 17:02:16 -0800 Subject: [PATCH] msi: Refactor the Installer.SummaryInformation method to InstallerImpl_SummaryInformation. --- dlls/msi/automation.c | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/dlls/msi/automation.c b/dlls/msi/automation.c index 30cdc5441a2..0d423822bf6 100644 --- a/dlls/msi/automation.c +++ b/dlls/msi/automation.c @@ -1696,6 +1696,21 @@ done: return hr; } +static HRESULT InstallerImpl_SummaryInformation(WORD wFlags, + DISPPARAMS* pDispParams, + VARIANT* pVarResult, + EXCEPINFO* pExcepInfo, + UINT* puArgErr) +{ + if (!(wFlags & DISPATCH_METHOD)) + return DISP_E_MEMBERNOTFOUND; + + FIXME("\n"); + + VariantInit(pVarResult); + return S_OK; +} + static HRESULT WINAPI InstallerImpl_Invoke( AutomationObject* This, DISPID dispIdMember, @@ -1738,13 +1753,9 @@ static HRESULT WINAPI InstallerImpl_Invoke( pVarResult, pExcepInfo, puArgErr); case DISPID_INSTALLER_SUMMARYINFORMATION: - if (wFlags & DISPATCH_METHOD) - { - VariantInit(pVarResult); - FIXME("Unhandled method: SummaryInformation"); - } - else return DISP_E_MEMBERNOTFOUND; - break; + return InstallerImpl_SummaryInformation(wFlags, pDispParams, + pVarResult, pExcepInfo, + puArgErr); case DISPID_INSTALLER_UILEVEL: if (wFlags & DISPATCH_PROPERTYPUT)