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
db299e3a
Commit
db299e3a
authored
Dec 09, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Dangling references fix.
parent
bc3e7263
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
dmutils.c
dlls/dmime/dmutils.c
+6
-9
No files found.
dlls/dmime/dmutils.c
View file @
db299e3a
...
...
@@ -668,7 +668,7 @@ const char *debugstr_DMUS_CONTAINED_OBJF_FLAGS (DWORD flagmask) {
const
char
*
debugstr_DMUS_OBJECTDESC
(
LPDMUS_OBJECTDESC
pDesc
)
{
if
(
pDesc
)
{
char
buffer
[
1024
]
=
""
,
*
ptr
=
&
buffer
[
0
]
;
char
buffer
[
1024
]
,
*
ptr
=
buffer
;
ptr
+=
sprintf
(
ptr
,
"DMUS_OBJECTDESC (%p):
\n
"
,
pDesc
);
ptr
+=
sprintf
(
ptr
,
" - dwSize = 0x%08X
\n
"
,
pDesc
->
dwSize
);
...
...
@@ -684,8 +684,7 @@ const char *debugstr_DMUS_OBJECTDESC (LPDMUS_OBJECTDESC pDesc) {
wine_dbgstr_longlong
(
pDesc
->
llMemLength
),
pDesc
->
pbMemData
);
if
(
pDesc
->
dwValidData
&
DMUS_OBJ_STREAM
)
ptr
+=
sprintf
(
ptr
,
" - pStream = %p
\n
"
,
pDesc
->
pStream
);
ptr
=
&
buffer
[
0
];
return
ptr
;
return
wine_dbg_sprintf
(
"%s"
,
buffer
);
}
else
{
return
wine_dbg_sprintf
(
"(NULL)"
);
}
...
...
@@ -713,13 +712,12 @@ void debug_DMUS_OBJECTDESC (LPDMUS_OBJECTDESC pDesc) {
const
char
*
debugstr_DMUS_IO_CONTAINER_HEADER
(
LPDMUS_IO_CONTAINER_HEADER
pHeader
)
{
if
(
pHeader
)
{
char
buffer
[
1024
]
=
""
,
*
ptr
=
&
buffer
[
0
]
;
char
buffer
[
1024
]
,
*
ptr
=
buffer
;
ptr
+=
sprintf
(
ptr
,
"DMUS_IO_CONTAINER_HEADER (%p):
\n
"
,
pHeader
);
ptr
+=
sprintf
(
ptr
,
" - dwFlags = %s
\n
"
,
debugstr_DMUS_CONTAINER_FLAGS
(
pHeader
->
dwFlags
));
ptr
=
&
buffer
[
0
];
return
ptr
;
return
wine_dbg_sprintf
(
"%s"
,
buffer
);
}
else
{
return
wine_dbg_sprintf
(
"(NULL)"
);
}
...
...
@@ -727,7 +725,7 @@ const char *debugstr_DMUS_IO_CONTAINER_HEADER (LPDMUS_IO_CONTAINER_HEADER pHeade
const
char
*
debugstr_DMUS_IO_CONTAINED_OBJECT_HEADER
(
LPDMUS_IO_CONTAINED_OBJECT_HEADER
pHeader
)
{
if
(
pHeader
)
{
char
buffer
[
1024
]
=
""
,
*
ptr
=
&
buffer
[
0
]
;
char
buffer
[
1024
]
,
*
ptr
=
buffer
;
ptr
+=
sprintf
(
ptr
,
"DMUS_IO_CONTAINED_OBJECT_HEADER (%p):
\n
"
,
pHeader
);
ptr
+=
sprintf
(
ptr
,
" - guidClassID = %s
\n
"
,
debugstr_dmguid
(
&
pHeader
->
guidClassID
));
...
...
@@ -735,8 +733,7 @@ const char *debugstr_DMUS_IO_CONTAINED_OBJECT_HEADER (LPDMUS_IO_CONTAINED_OBJECT
ptr
+=
sprintf
(
ptr
,
" - ckid = %s
\n
"
,
debugstr_fourcc
(
pHeader
->
ckid
));
ptr
+=
sprintf
(
ptr
,
" - fccType = %s
\n
"
,
debugstr_fourcc
(
pHeader
->
fccType
));
ptr
=
&
buffer
[
0
];
return
ptr
;
return
wine_dbg_sprintf
(
"%s"
,
buffer
);
}
else
{
return
wine_dbg_sprintf
(
"(NULL)"
);
}
...
...
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