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
b0d2f77c
Commit
b0d2f77c
authored
Jan 30, 2010
by
Jörg Höhle
Committed by
Alexandre Julliard
Feb 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Have xyzGetDevCaps return MMSYSERR_BADDEVICEID, not INVALHANDLE.
parent
ab270f99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
winmm.c
dlls/winmm/winmm.c
+3
-3
No files found.
dlls/winmm/winmm.c
View file @
b0d2f77c
...
...
@@ -697,7 +697,7 @@ UINT WINAPI auxGetDevCapsW(UINT_PTR uDeviceID, LPAUXCAPSW lpCaps, UINT uSize)
if
(
lpCaps
==
NULL
)
return
MMSYSERR_INVALPARAM
;
if
((
wmld
=
MMDRV_Get
((
HANDLE
)
uDeviceID
,
MMDRV_AUX
,
TRUE
))
==
NULL
)
return
MMSYSERR_
INVALHANDLE
;
return
MMSYSERR_
BADDEVICEID
;
return
MMDRV_Message
(
wmld
,
AUXDM_GETDEVCAPS
,
(
DWORD_PTR
)
lpCaps
,
uSize
);
}
...
...
@@ -789,7 +789,7 @@ UINT WINAPI midiOutGetDevCapsW(UINT_PTR uDeviceID, LPMIDIOUTCAPSW lpCaps,
if
(
lpCaps
==
NULL
)
return
MMSYSERR_INVALPARAM
;
if
((
wmld
=
MMDRV_Get
((
HANDLE
)
uDeviceID
,
MMDRV_MIDIOUT
,
TRUE
))
==
NULL
)
return
MMSYSERR_
INVALHANDLE
;
return
MMSYSERR_
BADDEVICEID
;
return
MMDRV_Message
(
wmld
,
MODM_GETDEVCAPS
,
(
DWORD_PTR
)
lpCaps
,
uSize
);
}
...
...
@@ -1161,7 +1161,7 @@ UINT WINAPI midiInGetDevCapsW(UINT_PTR uDeviceID, LPMIDIINCAPSW lpCaps, UINT uSi
if
(
lpCaps
==
NULL
)
return
MMSYSERR_INVALPARAM
;
if
((
wmld
=
MMDRV_Get
((
HANDLE
)
uDeviceID
,
MMDRV_MIDIIN
,
TRUE
))
==
NULL
)
return
MMSYSERR_
INVALHANDLE
;
return
MMSYSERR_
BADDEVICEID
;
return
MMDRV_Message
(
wmld
,
MIDM_GETDEVCAPS
,
(
DWORD_PTR
)
lpCaps
,
uSize
);
}
...
...
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