Commit 1484c627 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Add a stub implementation of MsiDetermineApplicablePatches.

parent 8128d97f
...@@ -372,6 +372,24 @@ done: ...@@ -372,6 +372,24 @@ done:
return r; return r;
} }
UINT WINAPI MsiDetermineApplicablePatchesA(LPCSTR szProductPackagePath,
DWORD cPatchInfo, PMSIPATCHSEQUENCEINFOA pPatchInfo)
{
FIXME("(%s, %d, %p): stub!\n", debugstr_a(szProductPackagePath),
cPatchInfo, pPatchInfo);
return ERROR_CALL_NOT_IMPLEMENTED;
}
UINT WINAPI MsiDetermineApplicablePatchesW(LPCWSTR szProductPackagePath,
DWORD cPatchInfo, PMSIPATCHSEQUENCEINFOW pPatchInfo)
{
FIXME("(%s, %d, %p): stub!\n", debugstr_w(szProductPackagePath),
cPatchInfo, pPatchInfo);
return ERROR_CALL_NOT_IMPLEMENTED;
}
static UINT msi_open_package(LPCWSTR product, MSIINSTALLCONTEXT context, static UINT msi_open_package(LPCWSTR product, MSIINSTALLCONTEXT context,
MSIPACKAGE **package) MSIPACKAGE **package)
{ {
......
...@@ -270,8 +270,8 @@ ...@@ -270,8 +270,8 @@
274 stdcall MsiSourceListAddMediaDiskW(wstr wstr long long long wstr wstr) 274 stdcall MsiSourceListAddMediaDiskW(wstr wstr long long long wstr wstr)
275 stub MsiSourceListClearMediaDiskA 275 stub MsiSourceListClearMediaDiskA
276 stub MsiSourceListClearMediaDiskW 276 stub MsiSourceListClearMediaDiskW
277 stub MsiDetermineApplicablePatchesA 277 stdcall MsiDetermineApplicablePatchesA(str long ptr)
278 stub MsiDetermineApplicablePatchesW 278 stdcall MsiDetermineApplicablePatchesW(wstr long ptr)
279 stub MsiMessageBoxExA 279 stub MsiMessageBoxExA
280 stub MsiMessageBoxExW 280 stub MsiMessageBoxExW
281 stdcall MsiSetExternalUIRecord(ptr long ptr ptr) 281 stdcall MsiSetExternalUIRecord(ptr long ptr ptr)
......
...@@ -201,6 +201,29 @@ typedef struct _MSIFILEHASHINFO { ...@@ -201,6 +201,29 @@ typedef struct _MSIFILEHASHINFO {
ULONG dwData[4]; ULONG dwData[4];
} MSIFILEHASHINFO, *PMSIFILEHASHINFO; } MSIFILEHASHINFO, *PMSIFILEHASHINFO;
typedef enum tagMSIPATCHDATATYPE
{
MSIPATCH_DATATYPE_PATCHFILE = 0,
MSIPATCH_DATATYPE_XMLPATH = 1,
MSIPATCH_DATATYPE_XMLBLOB = 2,
} MSIPATCHDATATYPE, *PMSIPATCHDATATYPE;
typedef struct tagMSIPATCHSEQUENCEINFOA
{
LPCSTR szPatchData;
MSIPATCHDATATYPE ePatchDataType;
DWORD dwOrder;
UINT uStatus;
} MSIPATCHSEQUENCEINFOA, *PMSIPATCHSEQUENCEINFOA;
typedef struct tagMSIPATCHSEQUENCEINFOW
{
LPCWSTR szPatchData;
MSIPATCHDATATYPE ePatchDataType;
DWORD dwOrder;
UINT uStatus;
} MSIPATCHSEQUENCEINFOW, *PMSIPATCHSEQUENCEINFOW;
#define MAX_FEATURE_CHARS 38 #define MAX_FEATURE_CHARS 38
/* Strings defined in msi.h */ /* Strings defined in msi.h */
...@@ -607,6 +630,10 @@ UINT WINAPI MsiInstallMissingComponentA(LPCSTR, LPCSTR, INSTALLSTATE); ...@@ -607,6 +630,10 @@ UINT WINAPI MsiInstallMissingComponentA(LPCSTR, LPCSTR, INSTALLSTATE);
UINT WINAPI MsiInstallMissingComponentW(LPCWSTR, LPCWSTR, INSTALLSTATE); UINT WINAPI MsiInstallMissingComponentW(LPCWSTR, LPCWSTR, INSTALLSTATE);
#define MsiInstallMissingComponent WINELIB_NAME_AW(MsiInstallMissingComponent) #define MsiInstallMissingComponent WINELIB_NAME_AW(MsiInstallMissingComponent)
UINT WINAPI MsiDetermineApplicablePatchesA(LPCSTR, DWORD, PMSIPATCHSEQUENCEINFOA);
UINT WINAPI MsiDetermineApplicablePatchesW(LPCWSTR, DWORD, PMSIPATCHSEQUENCEINFOW);
#define MsiDetermineApplicablePatches WINELIB_NAME_AW(MsiDetermineApplicablePatches)
/* Non Unicode */ /* Non Unicode */
UINT WINAPI MsiCloseHandle(MSIHANDLE); UINT WINAPI MsiCloseHandle(MSIHANDLE);
UINT WINAPI MsiCloseAllHandles(void); UINT WINAPI MsiCloseAllHandles(void);
......
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