UINT WINAPI MsiOpenProductW(LPCWSTR, MSIHANDLE*);
#define MsiOpenProduct WINELIB_NAME_AW(MsiOpenProduct)
-UINT WINAPI MsiProvideComponentFromDescriptorA(LPCSTR,LPSTR,DWORD*,DWORD*);
-UINT WINAPI MsiProvideComponentFromDescriptorW(LPCWSTR,LPWSTR,DWORD*,DWORD*);
-#define MsiProvideComponentFromDescriptor WINELIB_NAME_AW(MsiProvideComponentFromDescriptor)
-
UINT WINAPI MsiGetProductPropertyA(MSIHANDLE,LPCSTR,LPSTR,LPDWORD);
UINT WINAPI MsiGetProductPropertyW(MSIHANDLE,LPCWSTR,LPWSTR,LPDWORD);
#define MsiGetProductProperty WINELIB_NAME_AW(MsiGetProductProperty)
#ifndef __WINE_MSIDEFS_H
#define __WINE_MSIDEFS_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
enum msidbUpgradeAttributes {
msidbUpgradeAttributesMigrateFeatures = 0x0000001,
msidbUpgradeAttributesOnlyDetect = 0x00000002,
msidbAssemblyAttributesWin32 = 0x00000001,
};
+enum msidbSumInfoSourceType
+{
+ msidbSumInfoSourceTypeSFN = 0x00000001,
+ msidbSumInfoSourceTypeCompressed = 0x00000002,
+ msidbSumInfoSourceTypeAdminImage = 0x00000004,
+ msidbSumInfoSourceTypeLUAPackage = 0x00000008,
+};
+
/*
* Windows SDK braindamage alert
*
#define PID_MSISOURCE PID_WORDCOUNT
#define PID_MSIRESTRICT PID_CHARCOUNT
-#ifdef __cplusplus
-}
-#endif
-
#endif /* __WINE_MSIDEFS_H */
MSIMODIFY_VALIDATE_DELETE = 11
} MSIMODIFY;
-#ifndef __WINESRC__
+#ifndef WINE_NO_UNICODE_MACROS
#define MSIDBOPEN_READONLY (LPCTSTR)0
#define MSIDBOPEN_TRANSACT (LPCTSTR)1
#define MSIDBOPEN_DIRECT (LPCTSTR)2
#define MSIDBOPEN_CREATEDIRECT (LPCWSTR)4
#endif
+#define MSIDBOPEN_PATCHFILE 32 / sizeof(*MSIDBOPEN_READONLY)
+
typedef enum tagMSIRUNMODE
{
MSIRUNMODE_ADMIN = 0,