diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec index fd1ff552884..e3a4a6348a2 100644 --- a/dlls/msi/msi.spec +++ b/dlls/msi/msi.spec @@ -262,8 +262,8 @@ 266 stdcall MsiSourceListGetInfoW(wstr wstr long long wstr ptr ptr) 267 stdcall MsiSourceListSetInfoA(str str long long str str) 268 stdcall MsiSourceListSetInfoW(wstr wstr long long wstr wstr) -269 stub MsiEnumPatchesExA -270 stub MsiEnumPatchesExW +269 stdcall MsiEnumPatchesExA(str str long long long ptr ptr ptr ptr ptr) +270 stdcall MsiEnumPatchesExW(wstr wstr long long long ptr ptr ptr ptr ptr) 271 stdcall MsiSourceListEnumMediaDisksA(str str long long long ptr ptr ptr ptr ptr) 272 stdcall MsiSourceListEnumMediaDisksW(wstr wstr long long long ptr ptr ptr ptr ptr) 273 stdcall MsiSourceListAddMediaDiskA(str str long long long str str) diff --git a/dlls/msi/registry.c b/dlls/msi/registry.c index 9a4837b9e24..2cd860a4827 100644 --- a/dlls/msi/registry.c +++ b/dlls/msi/registry.c @@ -1733,6 +1733,36 @@ UINT WINAPI MsiEnumRelatedProductsA(LPCSTR szUpgradeCode, DWORD dwReserved, return r; } +/*********************************************************************** + * MsiEnumPatchesExA [MSI.@] + */ +UINT WINAPI MsiEnumPatchesExA(LPCSTR szProductCode, LPCSTR szUserSid, + DWORD dwContext, DWORD dwFilter, DWORD dwIndex, LPSTR szPatchCode, + LPSTR szTargetProductCode, MSIINSTALLCONTEXT *pdwTargetProductContext, + LPSTR szTargetUserSid, LPSTR pcchTargetUserSid) +{ + FIXME("(%s, %s, %d, %d, %d, %p, %p, %p, %p, %p) stub!\n", + debugstr_a(szProductCode), debugstr_a(szUserSid), dwContext, dwFilter, + dwIndex, szPatchCode, szTargetProductCode, pdwTargetProductContext, + szTargetUserSid, pcchTargetUserSid); + return ERROR_NO_MORE_ITEMS; +} + +/*********************************************************************** + * MsiEnumPatchesW [MSI.@] + */ +UINT WINAPI MsiEnumPatchesExW(LPCWSTR szProductCode, LPCWSTR szUserSid, + DWORD dwContext, DWORD dwFilter, DWORD dwIndex, LPWSTR szPatchCode, + LPWSTR szTargetProductCode, MSIINSTALLCONTEXT *pdwTargetProductContext, + LPWSTR szTargetUserSid, LPWSTR pcchTargetUserSid) +{ + FIXME("(%s, %s, %d, %d, %d, %p, %p, %p, %p, %p) stub!\n", + debugstr_w(szProductCode), debugstr_w(szUserSid), dwContext, dwFilter, + dwIndex, szPatchCode, szTargetProductCode, pdwTargetProductContext, + szTargetUserSid, pcchTargetUserSid); + return ERROR_NO_MORE_ITEMS; +} + /*********************************************************************** * MsiEnumPatchesA [MSI.@] */ diff --git a/include/msi.h b/include/msi.h index 1ffce4ecca0..f3d4445945f 100644 --- a/include/msi.h +++ b/include/msi.h @@ -579,6 +579,12 @@ UINT WINAPI MsiEnumPatchesA(LPCSTR, DWORD, LPSTR, LPSTR, LPDWORD); UINT WINAPI MsiEnumPatchesW(LPCWSTR, DWORD, LPWSTR, LPWSTR, LPDWORD); #define MsiEnumPatches WINELIB_NAME_AW(MsiEnumPatches) +UINT WINAPI MsiEnumPatchesExA(LPCSTR, LPCSTR, DWORD, DWORD, DWORD, LPSTR, LPSTR, + MSIINSTALLCONTEXT*, LPSTR, LPSTR); +UINT WINAPI MsiEnumPatchesExW(LPCWSTR, LPCWSTR, DWORD, DWORD, DWORD, LPWSTR, LPWSTR, + MSIINSTALLCONTEXT*, LPWSTR, LPWSTR); +#define MsiEnumPatchesEx WINELIB_NAME_AW(MsiEnumPatchesEx) + UINT WINAPI MsiGetFileHashA(LPCSTR, DWORD, PMSIFILEHASHINFO); UINT WINAPI MsiGetFileHashW(LPCWSTR, DWORD, PMSIFILEHASHINFO); #define MsiGetFileHash WINELIB_NAME_AW(MsiGetFileHash)