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
e4a0da37
Commit
e4a0da37
authored
Jan 25, 2014
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Jan 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36/tests: Use common wine_dbgstr_guid implementation from test.h.
parent
a5f20b31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
xfile.c
dlls/d3dx9_36/tests/xfile.c
+2
-13
No files found.
dlls/d3dx9_36/tests/xfile.c
View file @
e4a0da37
...
...
@@ -244,22 +244,12 @@ static void test_type_index_color(void)
d3dxfile
->
lpVtbl
->
Release
(
d3dxfile
);
}
static
inline
void
debugstr_guid
(
char
*
buf
,
const
GUID
*
id
)
{
sprintf
(
buf
,
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}"
,
id
->
Data1
,
id
->
Data2
,
id
->
Data3
,
id
->
Data4
[
0
],
id
->
Data4
[
1
],
id
->
Data4
[
2
],
id
->
Data4
[
3
],
id
->
Data4
[
4
],
id
->
Data4
[
5
],
id
->
Data4
[
6
],
id
->
Data4
[
7
]
);
}
static
void
process_data
(
ID3DXFileData
*
xfile_data
,
int
level
)
{
HRESULT
ret
;
char
name
[
100
];
GUID
clsid
;
GUID
clsid_type
;
char
str_clsid
[
40
];
char
str_clsid_type
[
40
];
SIZE_T
len
=
sizeof
(
name
);
int
i
;
const
BYTE
*
data
;
...
...
@@ -277,10 +267,9 @@ static void process_data(ID3DXFileData *xfile_data, int level)
for
(
i
=
0
;
i
<
level
;
i
++
)
printf
(
" "
);
debugstr_guid
(
str_clsid
,
&
clsid
);
debugstr_guid
(
str_clsid_type
,
&
clsid_type
);
printf
(
"Found object '%s' - %s - %s - %lu
\n
"
,
len
?
name
:
""
,
str_clsid
,
str_clsid_type
,
size
);
printf
(
"Found object '%s' - %s - %s - %lu
\n
"
,
len
?
name
:
""
,
wine_dbgstr_guid
(
&
clsid
),
wine_dbgstr_guid
(
&
clsid_type
),
size
);
if
(
size
)
{
...
...
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