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
ec5edeeb
Commit
ec5edeeb
authored
Oct 30, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Oct 30, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define MSIDBOPEN_ constants using LPCWSTR when compiling Wine.
parent
fa292e4b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
26 deletions
+8
-26
action.c
dlls/msi/action.c
+0
-2
database.c
dlls/msi/database.c
+0
-8
msi.c
dlls/msi/msi.c
+0
-8
package.c
dlls/msi/package.c
+0
-8
msiquery.h
include/msiquery.h
+8
-0
No files found.
dlls/msi/action.c
View file @
ec5edeeb
...
@@ -46,8 +46,6 @@ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/stand
...
@@ -46,8 +46,6 @@ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/stand
#define REG_PROGRESS_VALUE 13200
#define REG_PROGRESS_VALUE 13200
#define COMPONENT_PROGRESS_VALUE 24000
#define COMPONENT_PROGRESS_VALUE 24000
#define LPCTSTR LPCWSTR
WINE_DEFAULT_DEBUG_CHANNEL
(
msi
);
WINE_DEFAULT_DEBUG_CHANNEL
(
msi
);
/*
/*
...
...
dlls/msi/database.c
View file @
ec5edeeb
...
@@ -38,14 +38,6 @@
...
@@ -38,14 +38,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
msi
);
WINE_DEFAULT_DEBUG_CHANNEL
(
msi
);
/*
* The MSVC headers define the MSIDBOPEN_* macros cast to LPCTSTR,
* which is a problem because LPCTSTR isn't defined when compiling wine.
* To work around this problem, we need to define LPCTSTR as LPCWSTR here,
* and make sure to only use it in W functions.
*/
#define LPCTSTR LPCWSTR
DEFINE_GUID
(
CLSID_MsiDatabase
,
0x000c1084
,
0x0000
,
0x0000
,
DEFINE_GUID
(
CLSID_MsiDatabase
,
0x000c1084
,
0x0000
,
0x0000
,
0xc0
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x46
);
0xc0
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x46
);
DEFINE_GUID
(
CLSID_MsiPatch
,
0x000c1086
,
0x0000
,
0x0000
,
DEFINE_GUID
(
CLSID_MsiPatch
,
0x000c1086
,
0x0000
,
0x0000
,
...
...
dlls/msi/msi.c
View file @
ec5edeeb
...
@@ -43,14 +43,6 @@
...
@@ -43,14 +43,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
msi
);
WINE_DEFAULT_DEBUG_CHANNEL
(
msi
);
/*
* The MSVC headers define the MSIDBOPEN_* macros cast to LPCTSTR,
* which is a problem because LPCTSTR isn't defined when compiling wine.
* To work around this problem, we need to define LPCTSTR as LPCWSTR here,
* and make sure to only use it in W functions.
*/
#define LPCTSTR LPCWSTR
/* the UI level */
/* the UI level */
INSTALLUILEVEL
gUILevel
=
INSTALLUILEVEL_BASIC
;
INSTALLUILEVEL
gUILevel
=
INSTALLUILEVEL_BASIC
;
HWND
gUIhwnd
=
0
;
HWND
gUIhwnd
=
0
;
...
...
dlls/msi/package.c
View file @
ec5edeeb
...
@@ -41,14 +41,6 @@
...
@@ -41,14 +41,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
msi
);
WINE_DEFAULT_DEBUG_CHANNEL
(
msi
);
/*
* The MSVC headers define the MSIDBOPEN_* macros cast to LPCTSTR,
* which is a problem because LPCTSTR isn't defined when compiling wine.
* To work around this problem, we need to define LPCTSTR as LPCWSTR here,
* and make sure to only use it in W functions.
*/
#define LPCTSTR LPCWSTR
static
void
MSI_FreePackage
(
MSIOBJECTHDR
*
arg
)
static
void
MSI_FreePackage
(
MSIOBJECTHDR
*
arg
)
{
{
MSIPACKAGE
*
package
=
(
MSIPACKAGE
*
)
arg
;
MSIPACKAGE
*
package
=
(
MSIPACKAGE
*
)
arg
;
...
...
include/msiquery.h
View file @
ec5edeeb
...
@@ -53,11 +53,19 @@ typedef enum tagMSIMODIFY
...
@@ -53,11 +53,19 @@ typedef enum tagMSIMODIFY
MSIMODIFY_VALIDATE_DELETE
=
11
MSIMODIFY_VALIDATE_DELETE
=
11
}
MSIMODIFY
;
}
MSIMODIFY
;
#ifndef __WINESRC__
#define MSIDBOPEN_READONLY (LPCTSTR)0
#define MSIDBOPEN_READONLY (LPCTSTR)0
#define MSIDBOPEN_TRANSACT (LPCTSTR)1
#define MSIDBOPEN_TRANSACT (LPCTSTR)1
#define MSIDBOPEN_DIRECT (LPCTSTR)2
#define MSIDBOPEN_DIRECT (LPCTSTR)2
#define MSIDBOPEN_CREATE (LPCTSTR)3
#define MSIDBOPEN_CREATE (LPCTSTR)3
#define MSIDBOPEN_CREATEDIRECT (LPCTSTR)4
#define MSIDBOPEN_CREATEDIRECT (LPCTSTR)4
#else
#define MSIDBOPEN_READONLY (LPCWSTR)0
#define MSIDBOPEN_TRANSACT (LPCWSTR)1
#define MSIDBOPEN_DIRECT (LPCWSTR)2
#define MSIDBOPEN_CREATE (LPCWSTR)3
#define MSIDBOPEN_CREATEDIRECT (LPCWSTR)4
#endif
typedef
enum
tagMSIRUNMODE
typedef
enum
tagMSIRUNMODE
{
{
...
...
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