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
b8a5ab29
Commit
b8a5ab29
authored
Feb 06, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: SendDriverMessage takes LPARAM as 3rd and 4th argument.
parent
6c963471
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 @
b8a5ab29
...
...
@@ -143,7 +143,7 @@ UINT WINAPI joyGetNumDevs(void)
for
(
i
=
0
;
i
<
MAXJOYSTICK
;
i
++
)
{
if
(
JOY_LoadDriver
(
i
))
{
ret
+=
SendDriverMessage
(
JOY_Sticks
[
i
].
hDriver
,
JDD_GETNUMDEVS
,
0L
,
0L
);
ret
+=
SendDriverMessage
(
JOY_Sticks
[
i
].
hDriver
,
JDD_GETNUMDEVS
,
0
,
0
);
}
}
return
ret
;
...
...
@@ -160,7 +160,7 @@ MMRESULT WINAPI joyGetDevCapsW(UINT_PTR wID, LPJOYCAPSW lpCaps, UINT wSize)
lpCaps
->
wPeriodMin
=
JOY_PERIOD_MIN
;
/* FIXME */
lpCaps
->
wPeriodMax
=
JOY_PERIOD_MAX
;
/* FIXME (same as MS Joystick Driver) */
return
SendDriverMessage
(
JOY_Sticks
[
wID
].
hDriver
,
JDD_GETDEVCAPS
,
(
DWORD
)
lpCaps
,
wSize
);
return
SendDriverMessage
(
JOY_Sticks
[
wID
].
hDriver
,
JDD_GETDEVCAPS
,
(
LPARAM
)
lpCaps
,
wSize
);
}
/**************************************************************************
...
...
@@ -234,7 +234,7 @@ MMRESULT WINAPI joyGetPosEx(UINT wID, LPJOYINFOEX lpInfo)
lpInfo
->
dwReserved1
=
0
;
lpInfo
->
dwReserved2
=
0
;
return
SendDriverMessage
(
JOY_Sticks
[
wID
].
hDriver
,
JDD_GETPOSEX
,
(
DWORD
)
lpInfo
,
0L
);
return
SendDriverMessage
(
JOY_Sticks
[
wID
].
hDriver
,
JDD_GETPOSEX
,
(
LPARAM
)
lpInfo
,
0
);
}
/**************************************************************************
...
...
@@ -252,7 +252,7 @@ MMRESULT WINAPI joyGetPos(UINT wID, LPJOYINFO lpInfo)
lpInfo
->
wZpos
=
0
;
lpInfo
->
wButtons
=
0
;
return
SendDriverMessage
(
JOY_Sticks
[
wID
].
hDriver
,
JDD_GETPOS
,
(
DWORD
)
lpInfo
,
0L
);
return
SendDriverMessage
(
JOY_Sticks
[
wID
].
hDriver
,
JDD_GETPOS
,
(
LPARAM
)
lpInfo
,
0
);
}
/**************************************************************************
...
...
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