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
893f5ff4
Commit
893f5ff4
authored
Feb 17, 2003
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allowed waveInMessage to use physical information (as waveOut does).
parent
cf2dea09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
winmm.c
dlls/winmm/winmm.c
+7
-2
No files found.
dlls/winmm/winmm.c
View file @
893f5ff4
...
...
@@ -2830,12 +2830,17 @@ DWORD WINAPI waveInMessage(HWAVEIN hWaveIn, UINT uMessage,
TRACE
(
"(%p, %u, %ld, %ld)
\n
"
,
hWaveIn
,
uMessage
,
dwParam1
,
dwParam2
);
if
((
wmld
=
MMDRV_Get
(
hWaveIn
,
MMDRV_WAVEIN
,
FALSE
))
==
NULL
)
{
if
((
wmld
=
MMDRV_Get
(
hWaveIn
,
MMDRV_WAVEIN
,
TRUE
))
!=
NULL
)
{
return
MMDRV_PhysicalFeatures
(
wmld
,
uMessage
,
dwParam1
,
dwParam2
);
}
return
MMSYSERR_INVALHANDLE
;
}
/* from M$ KB */
if
(
uMessage
<
DRVM_IOCTL
||
(
uMessage
>=
DRVM_IOCTL_LAST
&&
uMessage
<
DRVM_MAPPER
))
return
MMSYSERR_INVALPARAM
;
if
((
wmld
=
MMDRV_Get
(
hWaveIn
,
MMDRV_WAVEIN
,
FALSE
))
==
NULL
)
return
MMSYSERR_INVALHANDLE
;
return
MMDRV_Message
(
wmld
,
uMessage
,
dwParam1
,
dwParam2
,
TRUE
);
}
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