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
1da4b59e
Commit
1da4b59e
authored
Jan 17, 2006
by
Alex Villacís Lasso
Committed by
Alexandre Julliard
Jan 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm: Fix acmMetrics(ACM_METRIC_DRIVER_PRIORITY) return on error.
parent
9a577e5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
msacm32_main.c
dlls/msacm/msacm32_main.c
+6
-3
No files found.
dlls/msacm/msacm32_main.c
View file @
1da4b59e
...
...
@@ -224,12 +224,15 @@ MMRESULT WINAPI acmMetrics(HACMOBJ hao, UINT uMetric, LPVOID pMetric)
case
ACM_METRIC_DRIVER_PRIORITY
:
/* Return current list position of driver */
if
(
!
hao
)
return
MMSYSERR_INVALHANDLE
;
if
(
!
pMetric
)
return
MMSYSERR_INVALPARAM
;
mmr
=
MMSYSERR_INVALHANDLE
;
for
(
i
=
1
,
padid
=
MSACM_pFirstACMDriverID
;
padid
;
i
++
,
padid
=
padid
->
pNextACMDriverID
)
{
if
(
padid
==
(
PWINE_ACMDRIVERID
)
hao
)
{
*
(
LPDWORD
)
pMetric
=
i
;
mmr
=
MMSYSERR_NOERROR
;
if
(
pMetric
)
{
*
(
LPDWORD
)
pMetric
=
i
;
mmr
=
MMSYSERR_NOERROR
;
}
else
{
mmr
=
MMSYSERR_INVALPARAM
;
}
break
;
}
}
...
...
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