diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c index 0d58d3c95c0..a7ed9308b97 100644 --- a/dlls/msi/msi.c +++ b/dlls/msi/msi.c @@ -1752,3 +1752,25 @@ UINT WINAPI MsiReinstallFeatureA( LPCSTR szProduct, LPCSTR szFeature, dwReinstallMode); return ERROR_SUCCESS; } + +/*********************************************************************** + * MsiEnumPatchesA [MSI.@] + */ +UINT WINAPI MsiEnumPatchesA( LPCSTR szProduct, DWORD iPatchIndex, + LPSTR lpPatchBuf, LPSTR lpTransformsBuf, DWORD* pcchTransformsBuf) +{ + FIXME("%s %ld %p %p %p\n", debugstr_a(szProduct), + iPatchIndex, lpPatchBuf, lpTransformsBuf, pcchTransformsBuf); + return ERROR_NO_MORE_ITEMS; +} + +/*********************************************************************** + * MsiEnumPatchesW [MSI.@] + */ +UINT WINAPI MsiEnumPatchesW( LPCWSTR szProduct, DWORD iPatchIndex, + LPWSTR lpPatchBuf, LPWSTR lpTransformsBuf, DWORD* pcchTransformsBuf) +{ + FIXME("%s %ld %p %p %p\n", debugstr_w(szProduct), + iPatchIndex, lpPatchBuf, lpTransformsBuf, pcchTransformsBuf); + return ERROR_NO_MORE_ITEMS; +} diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec index f3815037988..e1ce430112b 100644 --- a/dlls/msi/msi.spec +++ b/dlls/msi/msi.spec @@ -173,8 +173,8 @@ 177 stub MsiAdvertiseScriptW 178 stub MsiGetPatchInfoA 179 stub MsiGetPatchInfoW -180 stub MsiEnumPatchesA -181 stub MsiEnumPatchesW +180 stdcall MsiEnumPatchesA(str long ptr ptr ptr) +181 stdcall MsiEnumPatchesW(str long ptr ptr ptr) 182 stdcall -private DllGetVersion(ptr) 183 stub MsiGetProductCodeFromPackageCodeA 184 stub MsiGetProductCodeFromPackageCodeW diff --git a/include/msi.h b/include/msi.h index a6260a226cf..8285d88e927 100644 --- a/include/msi.h +++ b/include/msi.h @@ -522,6 +522,10 @@ UINT WINAPI MsiSourceListAddMediaDiskA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, UINT WINAPI MsiSourceListAddMediaDiskW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPCWSTR, LPCWSTR); #define MsiSourceListAddMediaDisk WINELIB_NAME_AW(MsiSourceListAddMediaDisk) +UINT WINAPI MsiEnumPatchesA(LPCSTR, DWORD, LPSTR, LPSTR, DWORD*); +UINT WINAPI MsiEnumPatchesW(LPCWSTR, DWORD, LPWSTR, LPWSTR, DWORD*); +#define MsiEnumPatches WINELIB_NAME_AW(MsiEnumPatches) + /* Non Unicode */ UINT WINAPI MsiCloseHandle(MSIHANDLE); UINT WINAPI MsiCloseAllHandles(void);