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
d10208e8
Commit
d10208e8
authored
Jul 21, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 21, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Improve traces in db_get_raw_stream.
parent
fba24864
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
database.c
dlls/msi/database.c
+3
-2
msipriv.h
dlls/msi/msipriv.h
+1
-0
streams.c
dlls/msi/streams.c
+0
-1
No files found.
dlls/msi/database.c
View file @
d10208e8
...
@@ -126,8 +126,10 @@ static UINT clone_open_stream( MSIDATABASE *db, LPCWSTR name, IStream **stm )
...
@@ -126,8 +126,10 @@ static UINT clone_open_stream( MSIDATABASE *db, LPCWSTR name, IStream **stm )
UINT
db_get_raw_stream
(
MSIDATABASE
*
db
,
LPCWSTR
stname
,
IStream
**
stm
)
UINT
db_get_raw_stream
(
MSIDATABASE
*
db
,
LPCWSTR
stname
,
IStream
**
stm
)
{
{
HRESULT
r
;
HRESULT
r
;
WCHAR
decoded
[
MAX_STREAM_NAME_LEN
];
TRACE
(
"%s
\n
"
,
debugstr_w
(
stname
));
decode_streamname
(
stname
,
decoded
);
TRACE
(
"%s -> %s
\n
"
,
debugstr_w
(
stname
),
debugstr_w
(
decoded
));
if
(
clone_open_stream
(
db
,
stname
,
stm
)
==
ERROR_SUCCESS
)
if
(
clone_open_stream
(
db
,
stname
,
stm
)
==
ERROR_SUCCESS
)
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
...
@@ -140,7 +142,6 @@ UINT db_get_raw_stream( MSIDATABASE *db, LPCWSTR stname, IStream **stm )
...
@@ -140,7 +142,6 @@ UINT db_get_raw_stream( MSIDATABASE *db, LPCWSTR stname, IStream **stm )
LIST_FOR_EACH_ENTRY
(
transform
,
&
db
->
transforms
,
MSITRANSFORM
,
entry
)
LIST_FOR_EACH_ENTRY
(
transform
,
&
db
->
transforms
,
MSITRANSFORM
,
entry
)
{
{
TRACE
(
"looking for %s in transform storage
\n
"
,
debugstr_w
(
stname
)
);
r
=
IStorage_OpenStream
(
transform
->
stg
,
stname
,
NULL
,
r
=
IStorage_OpenStream
(
transform
->
stg
,
stname
,
NULL
,
STGM_READ
|
STGM_SHARE_EXCLUSIVE
,
0
,
stm
);
STGM_READ
|
STGM_SHARE_EXCLUSIVE
,
0
,
stm
);
if
(
SUCCEEDED
(
r
))
if
(
SUCCEEDED
(
r
))
...
...
dlls/msi/msipriv.h
View file @
d10208e8
...
@@ -44,6 +44,7 @@
...
@@ -44,6 +44,7 @@
#define MSITYPE_KEY 0x2000
#define MSITYPE_KEY 0x2000
#define MSITYPE_TEMPORARY 0x4000
#define MSITYPE_TEMPORARY 0x4000
#define MAX_STREAM_NAME_LEN 62
/* Install UI level mask for AND operation to exclude flags */
/* Install UI level mask for AND operation to exclude flags */
#define INSTALLUILEVEL_MASK 0x0007
#define INSTALLUILEVEL_MASK 0x0007
...
...
dlls/msi/streams.c
View file @
d10208e8
...
@@ -37,7 +37,6 @@
...
@@ -37,7 +37,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
msidb
);
WINE_DEFAULT_DEBUG_CHANNEL
(
msidb
);
#define NUM_STREAMS_COLS 2
#define NUM_STREAMS_COLS 2
#define MAX_STREAM_NAME_LEN 62
typedef
struct
tabSTREAM
typedef
struct
tabSTREAM
{
{
...
...
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