From c77d200f27cfc47b9f4f6df7d7231c8f147c43c8 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Sun, 2 Dec 2007 02:05:29 -0600 Subject: [PATCH] msi: Add a stub implementation of MsiEnumComponentCostsW. --- dlls/msi/msi.c | 12 ++++++++++++ dlls/msi/msi.spec | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c index 72e52afa87b..8e140d375b3 100644 --- a/dlls/msi/msi.c +++ b/dlls/msi/msi.c @@ -732,6 +732,18 @@ UINT WINAPI MsiEnableLogW(DWORD dwLogMode, LPCWSTR szLogFile, DWORD attributes) return ERROR_SUCCESS; } +UINT WINAPI MsiEnumComponentCostsW(MSIHANDLE hInstall, LPCWSTR szComponent, + DWORD dwIndex, INSTALLSTATE iState, + LPWSTR lpDriveBuf, DWORD *pcchDriveBuf, + int *piCost, int *pTempCost) +{ + FIXME("(%ld, %s, %d, %d, %p, %p, %p %p): stub!\n", hInstall, + debugstr_w(szComponent), dwIndex, iState, lpDriveBuf, + pcchDriveBuf, piCost, pTempCost); + + return ERROR_NO_MORE_ITEMS; +} + UINT WINAPI MsiQueryComponentStateA(LPCSTR szProductCode, LPCSTR szUserSid, MSIINSTALLCONTEXT dwContext, LPCSTR szComponent, INSTALLSTATE *pdwState) diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec index 25ffb0bc794..2294effc883 100644 --- a/dlls/msi/msi.spec +++ b/dlls/msi/msi.spec @@ -214,7 +214,7 @@ 218 stdcall MsiGetFileHashA(str long ptr) 219 stdcall MsiGetFileHashW(wstr long ptr) 220 stub MsiEnumComponentCostsA -221 stub MsiEnumComponentCostsW +221 stdcall MsiEnumComponentCostsW(long str long long ptr ptr ptr ptr) 222 stdcall MsiCreateAndVerifyInstallerDirectory(long) 223 stdcall MsiGetFileSignatureInformationA(str long ptr ptr ptr) 224 stdcall MsiGetFileSignatureInformationW(wstr long ptr ptr ptr)