Commit 06e15ee9 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

msi: Copy InstallerImpl_LastErrorRecord to use it for DatabaseImpl.

parent 9a92f9cb
......@@ -1138,6 +1138,21 @@ static HRESULT WINAPI ViewImpl_Invoke(
return S_OK;
}
static HRESULT DatabaseImpl_LastErrorRecord(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 DatabaseImpl_Invoke(
AutomationObject* This,
DISPID dispIdMember,
......@@ -1208,6 +1223,11 @@ static HRESULT WINAPI DatabaseImpl_Invoke(
else return DISP_E_MEMBERNOTFOUND;
break;
case DISPID_INSTALLER_LASTERRORRECORD:
return DatabaseImpl_LastErrorRecord(wFlags, pDispParams,
pVarResult, pExcepInfo,
puArgErr);
default:
return DISP_E_MEMBERNOTFOUND;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment