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
e3cda2c4
Commit
e3cda2c4
authored
Sep 01, 2016
by
Bruno Jesus
Committed by
Alexandre Julliard
Sep 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xinput1_3/tests: Cope with XInputGetStateEx not being present by name.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8232f371
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
xinput.c
dlls/xinput1_3/tests/xinput.c
+4
-4
No files found.
dlls/xinput1_3/tests/xinput.c
View file @
e3cda2c4
...
@@ -238,10 +238,10 @@ START_TEST(xinput)
...
@@ -238,10 +238,10 @@ START_TEST(xinput)
pXInputGetDSoundAudioDeviceGuids
=
(
void
*
)
GetProcAddress
(
hXinput
,
"XInputGetDSoundAudioDeviceGuids"
);
pXInputGetDSoundAudioDeviceGuids
=
(
void
*
)
GetProcAddress
(
hXinput
,
"XInputGetDSoundAudioDeviceGuids"
);
pXInputGetBatteryInformation
=
(
void
*
)
GetProcAddress
(
hXinput
,
"XInputGetBatteryInformation"
);
pXInputGetBatteryInformation
=
(
void
*
)
GetProcAddress
(
hXinput
,
"XInputGetBatteryInformation"
);
if
(
pXInputGetStateEx_Ordinal
)
/* XInputGetStateEx may not be present by name, use ordinal in this case */
ok
(
pXInputGetStateEx_Ordinal
==
pXInputGetStateEx
,
"XInputGetStateEx in the wrong ordinal
\n
"
);
if
(
!
pXInputGetStateEx
)
else
pXInputGetStateEx
=
pXInputGetStateEx_Ordinal
;
ok
(
broken
(
1
)
,
"XInputGetStateEx not found in this dll version
\n
"
);
ok
(
pXInputGetStateEx
!=
NULL
,
"XInputGetStateEx not found in this dll version
\n
"
);
test_set_state
();
test_set_state
();
test_get_state
();
test_get_state
();
...
...
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