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
858bb223
Commit
858bb223
authored
Mar 03, 2014
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 03, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Make some joystick functions hookable.
parent
7f675174
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
joystick.c
dlls/winmm/joystick.c
+4
-4
No files found.
dlls/winmm/joystick.c
View file @
858bb223
...
...
@@ -136,7 +136,7 @@ MMRESULT WINAPI joyConfigChanged(DWORD flags)
/**************************************************************************
* joyGetNumDevs [WINMM.@]
*/
UINT
WINAPI
joyGetNumDevs
(
void
)
UINT
WINAPI
DECLSPEC_HOTPATCH
joyGetNumDevs
(
void
)
{
UINT
ret
=
0
;
int
i
;
...
...
@@ -152,7 +152,7 @@ UINT WINAPI joyGetNumDevs(void)
/**************************************************************************
* joyGetDevCapsW [WINMM.@]
*/
MMRESULT
WINAPI
joyGetDevCapsW
(
UINT_PTR
wID
,
LPJOYCAPSW
lpCaps
,
UINT
wSize
)
MMRESULT
WINAPI
DECLSPEC_HOTPATCH
joyGetDevCapsW
(
UINT_PTR
wID
,
LPJOYCAPSW
lpCaps
,
UINT
wSize
)
{
if
(
wID
>=
MAXJOYSTICK
)
return
JOYERR_PARMS
;
if
(
!
JOY_LoadDriver
(
wID
))
return
MMSYSERR_NODRIVER
;
...
...
@@ -166,7 +166,7 @@ MMRESULT WINAPI joyGetDevCapsW(UINT_PTR wID, LPJOYCAPSW lpCaps, UINT wSize)
/**************************************************************************
* joyGetDevCapsA [WINMM.@]
*/
MMRESULT
WINAPI
joyGetDevCapsA
(
UINT_PTR
wID
,
LPJOYCAPSA
lpCaps
,
UINT
wSize
)
MMRESULT
WINAPI
DECLSPEC_HOTPATCH
joyGetDevCapsA
(
UINT_PTR
wID
,
LPJOYCAPSA
lpCaps
,
UINT
wSize
)
{
JOYCAPSW
jcw
;
MMRESULT
ret
;
...
...
@@ -215,7 +215,7 @@ MMRESULT WINAPI joyGetDevCapsA(UINT_PTR wID, LPJOYCAPSA lpCaps, UINT wSize)
/**************************************************************************
* joyGetPosEx [WINMM.@]
*/
MMRESULT
WINAPI
joyGetPosEx
(
UINT
wID
,
LPJOYINFOEX
lpInfo
)
MMRESULT
WINAPI
DECLSPEC_HOTPATCH
joyGetPosEx
(
UINT
wID
,
LPJOYINFOEX
lpInfo
)
{
TRACE
(
"(%d, %p);
\n
"
,
wID
,
lpInfo
);
...
...
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