msi: Add a stub implementation of MsiEnumPatchesEx.

This commit is contained in:
James Hawkins 2008-08-03 23:53:45 -05:00 committed by Alexandre Julliard
parent e04a662036
commit 8782fdba1b
3 changed files with 38 additions and 2 deletions

View File

@ -262,8 +262,8 @@
266 stdcall MsiSourceListGetInfoW(wstr wstr long long wstr ptr ptr) 266 stdcall MsiSourceListGetInfoW(wstr wstr long long wstr ptr ptr)
267 stdcall MsiSourceListSetInfoA(str str long long str str) 267 stdcall MsiSourceListSetInfoA(str str long long str str)
268 stdcall MsiSourceListSetInfoW(wstr wstr long long wstr wstr) 268 stdcall MsiSourceListSetInfoW(wstr wstr long long wstr wstr)
269 stub MsiEnumPatchesExA 269 stdcall MsiEnumPatchesExA(str str long long long ptr ptr ptr ptr ptr)
270 stub MsiEnumPatchesExW 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) 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) 272 stdcall MsiSourceListEnumMediaDisksW(wstr wstr long long long ptr ptr ptr ptr ptr)
273 stdcall MsiSourceListAddMediaDiskA(str str long long long str str) 273 stdcall MsiSourceListAddMediaDiskA(str str long long long str str)

View File

@ -1733,6 +1733,36 @@ UINT WINAPI MsiEnumRelatedProductsA(LPCSTR szUpgradeCode, DWORD dwReserved,
return r; 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.@] * MsiEnumPatchesA [MSI.@]
*/ */

View File

@ -579,6 +579,12 @@ UINT WINAPI MsiEnumPatchesA(LPCSTR, DWORD, LPSTR, LPSTR, LPDWORD);
UINT WINAPI MsiEnumPatchesW(LPCWSTR, DWORD, LPWSTR, LPWSTR, LPDWORD); UINT WINAPI MsiEnumPatchesW(LPCWSTR, DWORD, LPWSTR, LPWSTR, LPDWORD);
#define MsiEnumPatches WINELIB_NAME_AW(MsiEnumPatches) #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 MsiGetFileHashA(LPCSTR, DWORD, PMSIFILEHASHINFO);
UINT WINAPI MsiGetFileHashW(LPCWSTR, DWORD, PMSIFILEHASHINFO); UINT WINAPI MsiGetFileHashW(LPCWSTR, DWORD, PMSIFILEHASHINFO);
#define MsiGetFileHash WINELIB_NAME_AW(MsiGetFileHash) #define MsiGetFileHash WINELIB_NAME_AW(MsiGetFileHash)