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
a85c7594
Commit
a85c7594
authored
Mar 07, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput/tests: Don't treat old dinput versions as an error.
parent
ee69858e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
device.c
dlls/dinput/tests/device.c
+5
-0
keyboard.c
dlls/dinput/tests/keyboard.c
+5
-0
mouse.c
dlls/dinput/tests/mouse.c
+5
-0
No files found.
dlls/dinput/tests/device.c
View file @
a85c7594
...
...
@@ -144,6 +144,11 @@ static void device_tests(void)
struct
enum_data
data
;
hr
=
DirectInputCreate
(
hInstance
,
DIRECTINPUT_VERSION
,
&
pDI
,
NULL
);
if
(
hr
==
DIERR_OLDDIRECTINPUTVERSION
)
{
skip
(
"Tests require a newer dinput version
\n
"
);
return
;
}
ok
(
SUCCEEDED
(
hr
),
"DirectInputCreate() failed: %s
\n
"
,
DXGetErrorString8
(
hr
));
if
(
FAILED
(
hr
))
return
;
...
...
dlls/dinput/tests/keyboard.c
View file @
a85c7594
...
...
@@ -143,6 +143,11 @@ static void keyboard_tests(DWORD version)
ULONG
ref
=
0
;
hr
=
DirectInputCreate
(
hInstance
,
version
,
&
pDI
,
NULL
);
if
(
hr
==
DIERR_OLDDIRECTINPUTVERSION
)
{
skip
(
"Tests require a newer dinput version
\n
"
);
return
;
}
ok
(
SUCCEEDED
(
hr
),
"DirectInputCreate() failed: %s
\n
"
,
DXGetErrorString8
(
hr
));
if
(
FAILED
(
hr
))
return
;
...
...
dlls/dinput/tests/mouse.c
View file @
a85c7594
...
...
@@ -118,6 +118,11 @@ static void mouse_tests(void)
ULONG
ref
=
0
;
hr
=
DirectInputCreate
(
hInstance
,
DIRECTINPUT_VERSION
,
&
pDI
,
NULL
);
if
(
hr
==
DIERR_OLDDIRECTINPUTVERSION
)
{
skip
(
"Tests require a newer dinput version
\n
"
);
return
;
}
ok
(
SUCCEEDED
(
hr
),
"DirectInputCreate() failed: %s
\n
"
,
DXGetErrorString8
(
hr
));
if
(
FAILED
(
hr
))
return
;
...
...
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