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
86e2f37e
Commit
86e2f37e
authored
Feb 12, 2014
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Feb 12, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound/tests: Use wine_dbgstr_guid for printing GUIDs.
parent
28510c73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
24 deletions
+4
-24
propset.c
dlls/dsound/tests/propset.c
+4
-24
No files found.
dlls/dsound/tests/propset.c
View file @
86e2f37e
...
...
@@ -75,12 +75,7 @@ static BOOL CALLBACK callback(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA dat
data
->
DataFlow
==
DIRECTSOUNDDEVICE_DATAFLOW_RENDER
?
"Render"
:
data
->
DataFlow
==
DIRECTSOUNDDEVICE_DATAFLOW_CAPTURE
?
"Capture"
:
"Unknown"
);
trace
(
" DeviceId: {%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}
\n
"
,
data
->
DeviceId
.
Data1
,
data
->
DeviceId
.
Data2
,
data
->
DeviceId
.
Data3
,
data
->
DeviceId
.
Data4
[
0
],
data
->
DeviceId
.
Data4
[
1
],
data
->
DeviceId
.
Data4
[
2
],
data
->
DeviceId
.
Data4
[
3
],
data
->
DeviceId
.
Data4
[
4
],
data
->
DeviceId
.
Data4
[
5
],
data
->
DeviceId
.
Data4
[
6
],
data
->
DeviceId
.
Data4
[
7
]);
trace
(
" DeviceId: %s
\n
"
,
wine_dbgstr_guid
(
&
data
->
DeviceId
));
trace
(
" Description: %s
\n
"
,
data
->
Description
);
trace
(
" Module: %s
\n
"
,
data
->
Module
);
trace
(
" Interface: %s
\n
"
,
data
->
Interface
);
...
...
@@ -104,12 +99,7 @@ static BOOL CALLBACK callback1(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
data
->
DataFlow
==
DIRECTSOUNDDEVICE_DATAFLOW_RENDER
?
"Render"
:
data
->
DataFlow
==
DIRECTSOUNDDEVICE_DATAFLOW_CAPTURE
?
"Capture"
:
"Unknown"
);
trace
(
" DeviceId: {%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}
\n
"
,
data
->
DeviceId
.
Data1
,
data
->
DeviceId
.
Data2
,
data
->
DeviceId
.
Data3
,
data
->
DeviceId
.
Data4
[
0
],
data
->
DeviceId
.
Data4
[
1
],
data
->
DeviceId
.
Data4
[
2
],
data
->
DeviceId
.
Data4
[
3
],
data
->
DeviceId
.
Data4
[
4
],
data
->
DeviceId
.
Data4
[
5
],
data
->
DeviceId
.
Data4
[
6
],
data
->
DeviceId
.
Data4
[
7
]);
trace
(
" DeviceId: %s
\n
"
,
wine_dbgstr_guid
(
&
data
->
DeviceId
));
trace
(
" DescriptionA: %s
\n
"
,
data
->
DescriptionA
);
WideCharToMultiByte
(
CP_ACP
,
0
,
data
->
DescriptionW
,
-
1
,
descriptionA
,
sizeof
(
descriptionA
),
NULL
,
NULL
);
trace
(
" DescriptionW: %s
\n
"
,
descriptionA
);
...
...
@@ -133,12 +123,7 @@ static BOOL CALLBACK callbackA(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
data
->
DataFlow
==
DIRECTSOUNDDEVICE_DATAFLOW_RENDER
?
"Render"
:
data
->
DataFlow
==
DIRECTSOUNDDEVICE_DATAFLOW_CAPTURE
?
"Capture"
:
"Unknown"
);
trace
(
" DeviceId: {%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}
\n
"
,
data
->
DeviceId
.
Data1
,
data
->
DeviceId
.
Data2
,
data
->
DeviceId
.
Data3
,
data
->
DeviceId
.
Data4
[
0
],
data
->
DeviceId
.
Data4
[
1
],
data
->
DeviceId
.
Data4
[
2
],
data
->
DeviceId
.
Data4
[
3
],
data
->
DeviceId
.
Data4
[
4
],
data
->
DeviceId
.
Data4
[
5
],
data
->
DeviceId
.
Data4
[
6
],
data
->
DeviceId
.
Data4
[
7
]);
trace
(
" DeviceId: %s
\n
"
,
wine_dbgstr_guid
(
&
data
->
DeviceId
));
trace
(
" Description: %s
\n
"
,
data
->
Description
);
trace
(
" Module: %s
\n
"
,
data
->
Module
);
trace
(
" Interface: %s
\n
"
,
data
->
Interface
);
...
...
@@ -163,12 +148,7 @@ static BOOL CALLBACK callbackW(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
data
->
DataFlow
==
DIRECTSOUNDDEVICE_DATAFLOW_RENDER
?
"Render"
:
data
->
DataFlow
==
DIRECTSOUNDDEVICE_DATAFLOW_CAPTURE
?
"Capture"
:
"Unknown"
);
trace
(
"
\t
DeviceId: {%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}
\n
"
,
data
->
DeviceId
.
Data1
,
data
->
DeviceId
.
Data2
,
data
->
DeviceId
.
Data3
,
data
->
DeviceId
.
Data4
[
0
],
data
->
DeviceId
.
Data4
[
1
],
data
->
DeviceId
.
Data4
[
2
],
data
->
DeviceId
.
Data4
[
3
],
data
->
DeviceId
.
Data4
[
4
],
data
->
DeviceId
.
Data4
[
5
],
data
->
DeviceId
.
Data4
[
6
],
data
->
DeviceId
.
Data4
[
7
]);
trace
(
"
\t
DeviceId: %s
\n
"
,
wine_dbgstr_guid
(
&
data
->
DeviceId
));
WideCharToMultiByte
(
CP_ACP
,
0
,
data
->
Description
,
-
1
,
descriptionA
,
sizeof
(
descriptionA
),
NULL
,
NULL
);
WideCharToMultiByte
(
CP_ACP
,
0
,
data
->
Module
,
-
1
,
moduleA
,
sizeof
(
moduleA
),
NULL
,
NULL
);
WideCharToMultiByte
(
CP_ACP
,
0
,
data
->
Interface
,
-
1
,
interfaceA
,
sizeof
(
interfaceA
),
NULL
,
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