msi: Add a stub implementation of MsiDetermineApplicablePatches.

This commit is contained in:
James Hawkins 2008-10-08 23:07:19 -05:00 committed by Alexandre Julliard
parent 8128d97fd4
commit 1484c6272d
3 changed files with 47 additions and 2 deletions

View File

@ -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)
{ {

View File

@ -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)

View File

@ -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);
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);