Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
18cdbf13
Commit
18cdbf13
authored
Apr 28, 2004
by
Raphael Junqueira
Committed by
Alexandre Julliard
Apr 28, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- add some prototypes/typedefs to msi.h
- implements some A -> W calls (W calls must be implemented)
parent
0345908a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
6 deletions
+50
-6
msi.c
dlls/msi/msi.c
+0
-0
msi.spec
dlls/msi/msi.spec
+2
-2
msi.h
include/msi.h
+48
-4
No files found.
dlls/msi/msi.c
View file @
18cdbf13
This diff is collapsed.
Click to expand it.
dlls/msi/msi.spec
View file @
18cdbf13
...
@@ -70,8 +70,8 @@
...
@@ -70,8 +70,8 @@
70 stdcall MsiGetProductInfoW(wstr wstr wstr long)
70 stdcall MsiGetProductInfoW(wstr wstr wstr long)
71 stdcall MsiGetProductPropertyA(long str ptr ptr)
71 stdcall MsiGetProductPropertyA(long str ptr ptr)
72 stdcall MsiGetProductPropertyW(long wstr ptr ptr)
72 stdcall MsiGetProductPropertyW(long wstr ptr ptr)
73 st
ub MsiGetPropertyA
73 st
dcall MsiGetPropertyA(ptr str str ptr)
74 st
ub MsiGetPropertyW
74 st
dcall MsiGetPropertyW(ptr wstr wstr ptr)
75 stub MsiGetSourcePathA
75 stub MsiGetSourcePathA
76 stub MsiGetSourcePathW
76 stub MsiGetSourcePathW
77 stdcall MsiGetSummaryInformationA(long str long ptr)
77 stdcall MsiGetSummaryInformationA(long str long ptr)
...
...
include/msi.h
View file @
18cdbf13
...
@@ -19,7 +19,12 @@
...
@@ -19,7 +19,12 @@
#ifndef __WINE_MSI_H
#ifndef __WINE_MSI_H
#define __WINE_MSI_H
#define __WINE_MSI_H
#ifdef __cplusplus
extern
"C"
{
#endif
typedef
unsigned
long
MSIHANDLE
;
typedef
unsigned
long
MSIHANDLE
;
typedef
enum
tagINSTALLSTATE
typedef
enum
tagINSTALLSTATE
{
{
INSTALLSTATE_BADCONFIG
=
-
6
,
INSTALLSTATE_BADCONFIG
=
-
6
,
...
@@ -46,6 +51,14 @@ typedef enum tagINSTALLUILEVEL
...
@@ -46,6 +51,14 @@ typedef enum tagINSTALLUILEVEL
INSTALLUILEVEL_FULL
=
5
INSTALLUILEVEL_FULL
=
5
}
INSTALLUILEVEL
;
}
INSTALLUILEVEL
;
typedef
enum
tagINSTALLLEVEL
{
INSTALLLEVEL_DEFAULT
=
0
,
INSTALLLEVEL_MINIMUM
=
1
,
INSTALLLEVEL_MAXIMUM
=
0xFFFF
}
INSTALLLEVEL
;
#define MAX_FEATURE_CHARS 38
#define MAX_FEATURE_CHARS 38
...
@@ -77,6 +90,10 @@ UINT WINAPI MsiOpenPackageA(LPCSTR, MSIHANDLE*);
...
@@ -77,6 +90,10 @@ UINT WINAPI MsiOpenPackageA(LPCSTR, MSIHANDLE*);
UINT
WINAPI
MsiOpenPackageW
(
LPCWSTR
,
MSIHANDLE
*
);
UINT
WINAPI
MsiOpenPackageW
(
LPCWSTR
,
MSIHANDLE
*
);
#define MsiOpenPackage WINELIB_NAME_AW(MsiOpenPackage)
#define MsiOpenPackage WINELIB_NAME_AW(MsiOpenPackage)
UINT
WINAPI
MsiOpenPackageExA
(
LPCSTR
,
DWORD
,
MSIHANDLE
*
);
UINT
WINAPI
MsiOpenPackageExW
(
LPCWSTR
,
DWORD
,
MSIHANDLE
*
);
#define MsiOpenPackageEx WINELIB_NAME_AW(MsiOpenPackageEx)
UINT
WINAPI
MsiOpenProductA
(
LPCSTR
,
MSIHANDLE
*
);
UINT
WINAPI
MsiOpenProductA
(
LPCSTR
,
MSIHANDLE
*
);
UINT
WINAPI
MsiOpenProductW
(
LPCWSTR
,
MSIHANDLE
*
);
UINT
WINAPI
MsiOpenProductW
(
LPCWSTR
,
MSIHANDLE
*
);
#define MsiOpenProduct WINELIB_NAME_AW(MsiOpenProduct)
#define MsiOpenProduct WINELIB_NAME_AW(MsiOpenProduct)
...
@@ -89,9 +106,6 @@ UINT WINAPI MsiSummaryInfoGetPropertyA(MSIHANDLE,UINT,UINT*,INT*,FILETIME*,LPSTR
...
@@ -89,9 +106,6 @@ UINT WINAPI MsiSummaryInfoGetPropertyA(MSIHANDLE,UINT,UINT*,INT*,FILETIME*,LPSTR
UINT
WINAPI
MsiSummaryInfoGetPropertyW
(
MSIHANDLE
,
UINT
,
UINT
*
,
INT
*
,
FILETIME
*
,
LPWSTR
,
DWORD
*
);
UINT
WINAPI
MsiSummaryInfoGetPropertyW
(
MSIHANDLE
,
UINT
,
UINT
*
,
INT
*
,
FILETIME
*
,
LPWSTR
,
DWORD
*
);
#define MsiSummaryInfoGetProperty WINELIB_NAME_AW(MsiSummaryInfoGetProperty)
#define MsiSummaryInfoGetProperty WINELIB_NAME_AW(MsiSummaryInfoGetProperty)
UINT
WINAPI
MsiCloseHandle
(
MSIHANDLE
);
UINT
WINAPI
MsiCloseAllHandles
();
UINT
WINAPI
MsiProvideComponentFromDescriptorA
(
LPCSTR
,
LPSTR
,
DWORD
*
,
DWORD
*
);
UINT
WINAPI
MsiProvideComponentFromDescriptorA
(
LPCSTR
,
LPSTR
,
DWORD
*
,
DWORD
*
);
UINT
WINAPI
MsiProvideComponentFromDescriptorW
(
LPCWSTR
,
LPWSTR
,
DWORD
*
,
DWORD
*
);
UINT
WINAPI
MsiProvideComponentFromDescriptorW
(
LPCWSTR
,
LPWSTR
,
DWORD
*
,
DWORD
*
);
#define MsiProvideComponentFromDescriptor WINELIB_NAME_AW(MsiProvideComponentFromDescriptor)
#define MsiProvideComponentFromDescriptor WINELIB_NAME_AW(MsiProvideComponentFromDescriptor)
...
@@ -100,12 +114,42 @@ UINT WINAPI MsiGetProductPropertyA(MSIHANDLE,LPCSTR,LPSTR,DWORD*);
...
@@ -100,12 +114,42 @@ UINT WINAPI MsiGetProductPropertyA(MSIHANDLE,LPCSTR,LPSTR,DWORD*);
UINT
WINAPI
MsiGetProductPropertyW
(
MSIHANDLE
,
LPCWSTR
,
LPWSTR
,
DWORD
*
);
UINT
WINAPI
MsiGetProductPropertyW
(
MSIHANDLE
,
LPCWSTR
,
LPWSTR
,
DWORD
*
);
#define MsiGetProductProperty WINELIB_NAME_AW(MsiGetProductProperty)
#define MsiGetProductProperty WINELIB_NAME_AW(MsiGetProductProperty)
UINT
WINAPI
MsiGetPropertyA
(
MSIHANDLE
,
LPCSTR
,
LPSTR
,
DWORD
*
);
UINT
WINAPI
MsiGetPropertyW
(
MSIHANDLE
,
LPCWSTR
,
LPWSTR
,
DWORD
*
);
#define MsiGetProperty WINELIB_NAME_AW(MsiGetProperty)
UINT
WINAPI
MsiVerifyPackageA
(
LPCSTR
);
UINT
WINAPI
MsiVerifyPackageA
(
LPCSTR
);
UINT
WINAPI
MsiVerifyPackageW
(
LPCWSTR
);
UINT
WINAPI
MsiVerifyPackageW
(
LPCWSTR
);
#define MsiVerifyPackage WINELIB_NAME_AW(MsiVerifyPackage)
#define MsiVerifyPackage WINELIB_NAME_AW(MsiVerifyPackage)
INSTALLSTATE
WINAPI
MsiQueryProductStateA
(
LPCSTR
);
INSTALLSTATE
WINAPI
MsiQueryProductStateA
(
LPCSTR
);
INSTALLSTATE
WINAPI
MsiQueryProductStateW
(
LPCWSTR
);
INSTALLSTATE
WINAPI
MsiQueryProductStateW
(
LPCWSTR
);
#define MsiQueryProductState WINELIB_NAME_AW(MsiQueryProductState)
#define MsiQueryProductState WINELIB_NAME_AW(MsiQueryProductState)
UINT
WINAPI
MsiConfigureProductA
(
LPCSTR
szProduct
,
int
iInstallLevel
,
INSTALLSTATE
eInstallState
);
UINT
WINAPI
MsiConfigureProductW
(
LPCWSTR
szProduct
,
int
iInstallLevel
,
INSTALLSTATE
eInstallState
);
#define MsiConfigureProduct WINELIB_NAME_AW(MsiConfigureProduct);
UINT
WINAPI
MsiGetProductCodeA
(
LPCSTR
szComponent
,
LPSTR
szBuffer
);
UINT
WINAPI
MsiGetProductCodeW
(
LPCWSTR
szComponent
,
LPWSTR
szBuffer
);
#define MsiGetProductCode WINELIB_NAME_AW(MsiGetProductCode)
UINT
WINAPI
MsiGetProductInfoA
(
LPCSTR
szProduct
,
LPCSTR
szAttribute
,
LPSTR
szBuffer
,
DWORD
*
pcchValueBuf
);
UINT
WINAPI
MsiGetProductInfoW
(
LPCWSTR
szProduct
,
LPCWSTR
szAttribute
,
LPWSTR
szBuffer
,
DWORD
*
pcchValueBuf
);
#define MsiGetProductInfo WINELIB_NAME_AW(MsiGetProductInfo)
UINT
WINAPI
MsiEnableLogA
(
DWORD
dwLogMode
,
LPCSTR
szLogFile
,
BOOL
fAppend
);
UINT
WINAPI
MsiEnableLogW
(
DWORD
dwLogMode
,
LPCWSTR
szLogFile
,
BOOL
fAppend
);
#define MsiEnableLog WINELIB_NAME_AW(MsiEnableLog)
/**
* Non Unicode
*/
UINT
WINAPI
MsiCloseHandle
(
MSIHANDLE
);
UINT
WINAPI
MsiCloseAllHandles
();
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_MSI_H */
#endif
/* __WINE_MSI_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment