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
99eaf51b
Commit
99eaf51b
authored
Dec 15, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xinput1_3/tests: Call FreeLibrary() after tests.
parent
f4da3fd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
xinput.c
dlls/xinput1_3/tests/xinput.c
+9
-9
No files found.
dlls/xinput1_3/tests/xinput.c
View file @
99eaf51b
...
...
@@ -94,15 +94,15 @@ START_TEST(xinput)
HMODULE
hXinput
;
hXinput
=
LoadLibraryA
(
"xinput1_3.dll"
);
if
(
hXinput
)
if
(
!
hXinput
)
{
pXInputGetState
=
(
void
*
)
GetProcAddress
(
hXinput
,
"XInputGetState"
);
pXInputGetCapabilities
=
(
void
*
)
GetProcAddress
(
hXinput
,
"XInputGetCapabilities"
);
test_get_state
();
test_get_capabilities
();
}
else
{
skip
(
"Could not load xinput1_3.dll
\n
"
);
win_skip
(
"Could not load xinput1_3.dll
\n
"
);
return
;
}
pXInputGetState
=
(
void
*
)
GetProcAddress
(
hXinput
,
"XInputGetState"
);
pXInputGetCapabilities
=
(
void
*
)
GetProcAddress
(
hXinput
,
"XInputGetCapabilities"
);
test_get_state
();
test_get_capabilities
();
FreeLibrary
(
hXinput
);
}
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