Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
92749c26
Commit
92749c26
authored
Dec 12, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmloader: Get rid of the 'dmdump' debug channel.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
55252b97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
container.c
dlls/dmloader/container.c
+3
-6
No files found.
dlls/dmloader/container.c
View file @
92749c26
...
...
@@ -22,7 +22,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dmloader
);
WINE_DECLARE_DEBUG_CHANNEL
(
dmfile
);
WINE_DECLARE_DEBUG_CHANNEL
(
dmdump
);
#define DMUS_MAX_CATEGORY_SIZE DMUS_MAX_CATEGORY*sizeof(WCHAR)
#define DMUS_MAX_NAME_SIZE DMUS_MAX_NAME*sizeof(WCHAR)
...
...
@@ -298,9 +297,8 @@ static HRESULT WINAPI IPersistStreamImpl_Load(IPersistStream *iface, IStream *pS
TRACE_
(
dmfile
)(
": %s chunk (size = 0x%08X)"
,
debugstr_fourcc
(
Chunk
.
fccID
),
Chunk
.
dwSize
);
switch
(
Chunk
.
fccID
)
{
case
DMUS_FOURCC_CONTAINER_CHUNK
:
{
TRACE_
(
dmfile
)(
": container header chunk
\n
"
);
IStream_Read
(
pStm
,
&
This
->
Header
,
Chunk
.
dwSize
,
NULL
);
TRACE_
(
dm
dump
)(
": container header chunk:
\n
%s
\n
"
,
debugstr_DMUS_IO_CONTAINER_HEADER
(
&
This
->
Header
));
TRACE_
(
dm
file
)(
": container header chunk:
\n
%s
\n
"
,
debugstr_DMUS_IO_CONTAINER_HEADER
(
&
This
->
Header
));
break
;
}
case
DMUS_FOURCC_GUID_CHUNK
:
{
...
...
@@ -403,14 +401,13 @@ static HRESULT WINAPI IPersistStreamImpl_Load(IPersistStream *iface, IStream *pS
TRACE_
(
dmfile
)(
": alias chunk
\n
"
);
pNewEntry
->
wszAlias
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
Chunk
.
dwSize
);
IStream_Read
(
pStm
,
pNewEntry
->
wszAlias
,
Chunk
.
dwSize
,
NULL
);
TRACE_
(
dm
dump
)(
": alias: %s
\n
"
,
debugstr_w
(
pNewEntry
->
wszAlias
));
TRACE_
(
dm
file
)(
": alias: %s
\n
"
,
debugstr_w
(
pNewEntry
->
wszAlias
));
break
;
}
case
DMUS_FOURCC_CONTAINED_OBJECT_CHUNK
:
{
DMUS_IO_CONTAINED_OBJECT_HEADER
tmpObjectHeader
;
TRACE_
(
dmfile
)(
": contained object header chunk
\n
"
);
IStream_Read
(
pStm
,
&
tmpObjectHeader
,
Chunk
.
dwSize
,
NULL
);
TRACE_
(
dm
dump
)(
": contained object header:
\n
%s
\n
"
,
debugstr_DMUS_IO_CONTAINED_OBJECT_HEADER
(
&
tmpObjectHeader
));
TRACE_
(
dm
file
)(
": contained object header:
\n
%s
\n
"
,
debugstr_DMUS_IO_CONTAINED_OBJECT_HEADER
(
&
tmpObjectHeader
));
/* copy guidClass */
pNewEntry
->
Desc
.
dwValidData
|=
DMUS_OBJ_CLASS
;
pNewEntry
->
Desc
.
guidClass
=
tmpObjectHeader
.
guidClassID
;
...
...
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