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
75a2893f
Commit
75a2893f
authored
Aug 17, 2018
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Aug 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput/tests: Use GET_DIDEVICE_SUBTYPE macro in keyboard type tests.
Signed-off-by:
Akihiro Sagawa
<
sagawa.aki@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c6d28c93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
keyboard.c
dlls/dinput/tests/keyboard.c
+2
-2
No files found.
dlls/dinput/tests/keyboard.c
View file @
75a2893f
...
@@ -273,9 +273,9 @@ static void test_capabilities(IDirectInputA *pDI, HWND hwnd)
...
@@ -273,9 +273,9 @@ static void test_capabilities(IDirectInputA *pDI, HWND hwnd)
ok
(
SUCCEEDED
(
hr
),
"GetCapabilities failed: 0x%08x
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"GetCapabilities failed: 0x%08x
\n
"
,
hr
);
ok
(
caps
.
dwFlags
&
DIDC_ATTACHED
,
"GetCapabilities dwFlags: 0x%08x
\n
"
,
caps
.
dwFlags
);
ok
(
caps
.
dwFlags
&
DIDC_ATTACHED
,
"GetCapabilities dwFlags: 0x%08x
\n
"
,
caps
.
dwFlags
);
ok
(
LOWORD
(
LOBYTE
(
caps
.
dwDevType
)
)
==
DIDEVTYPE_KEYBOARD
,
ok
(
GET_DIDEVICE_TYPE
(
caps
.
dwDevType
)
==
DIDEVTYPE_KEYBOARD
,
"GetCapabilities invalid device type for dwDevType: 0x%08x
\n
"
,
caps
.
dwDevType
);
"GetCapabilities invalid device type for dwDevType: 0x%08x
\n
"
,
caps
.
dwDevType
);
ok
(
LOWORD
(
HIBYTE
(
caps
.
dwDevType
)
)
!=
DIDEVTYPEKEYBOARD_UNKNOWN
,
ok
(
GET_DIDEVICE_SUBTYPE
(
caps
.
dwDevType
)
!=
DIDEVTYPEKEYBOARD_UNKNOWN
,
"GetCapabilities invalid device subtype for dwDevType: 0x%08x
\n
"
,
caps
.
dwDevType
);
"GetCapabilities invalid device subtype for dwDevType: 0x%08x
\n
"
,
caps
.
dwDevType
);
IUnknown_Release
(
pKeyboard
);
IUnknown_Release
(
pKeyboard
);
...
...
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