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
e532c559
Commit
e532c559
authored
Jun 15, 2011
by
Andrew Eikum
Committed by
Alexandre Julliard
Jun 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm32: Also load ACM drivers from key values.
parent
26eb6c8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
internal.c
dlls/msacm32/internal.c
+11
-2
No files found.
dlls/msacm32/internal.c
View file @
e532c559
...
...
@@ -360,8 +360,8 @@ void MSACM_RegisterAllDrivers(void)
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
' '
,
'N'
,
'T'
,
'\\'
,
'C'
,
'u'
,
'r'
,
'r'
,
'e'
,
'n'
,
't'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
'\\'
,
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
'r'
,
's'
,
'3'
,
'2'
,
'\0'
};
DWORD
i
,
cnt
=
0
,
bufLen
,
lRet
;
WCHAR
buf
[
2048
],
*
name
,
*
s
;
DWORD
i
,
cnt
,
bufLen
,
lRet
,
type
;
WCHAR
buf
[
2048
],
valname
[
64
],
*
name
,
*
s
;
FILETIME
lastWrite
;
HKEY
hKey
;
...
...
@@ -381,6 +381,15 @@ void MSACM_RegisterAllDrivers(void)
*
name
=
0
;
MSACM_RegisterDriver
(
buf
,
name
+
1
,
0
);
}
i
=
0
;
cnt
=
sizeof
(
valname
)
/
sizeof
(
*
valname
);
bufLen
=
sizeof
(
buf
);
while
(
RegEnumValueW
(
hKey
,
i
,
valname
,
&
cnt
,
0
,
&
type
,
(
BYTE
*
)
buf
,
&
bufLen
)
==
ERROR_SUCCESS
){
if
(
!
strncmpiW
(
valname
,
msacmW
,
sizeof
(
msacmW
)
/
sizeof
(
*
msacmW
)))
MSACM_RegisterDriver
(
valname
,
buf
,
0
);
++
i
;
}
RegCloseKey
(
hKey
);
}
...
...
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