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
d19ff2d8
Commit
d19ff2d8
authored
Aug 14, 2016
by
Bruno Jesus
Committed by
Alexandre Julliard
Aug 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput8/tests: Debug device information during enumeration callback.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
58937117
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
dinput.c
dlls/dinput8/tests/dinput.c
+16
-0
No files found.
dlls/dinput8/tests/dinput.c
View file @
d19ff2d8
...
...
@@ -361,6 +361,22 @@ static BOOL CALLBACK enum_devices_callback(const DIDEVICEINSTANCEA *instance, vo
{
struct
enum_devices_test
*
enum_test
=
context
;
trace
(
"---- Device Information ----
\n
"
"Product Name : %s
\n
"
"Instance Name : %s
\n
"
"devType : 0x%08x
\n
"
"GUID Product : %s
\n
"
"GUID Instance : %s
\n
"
"HID Page : 0x%04x
\n
"
"HID Usage : 0x%04x
\n
"
,
instance
->
tszProductName
,
instance
->
tszInstanceName
,
instance
->
dwDevType
,
wine_dbgstr_guid
(
&
instance
->
guidProduct
),
wine_dbgstr_guid
(
&
instance
->
guidInstance
),
instance
->
wUsagePage
,
instance
->
wUsage
);
enum_test
->
device_count
++
;
return
enum_test
->
return_value
;
}
...
...
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