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
20ae8d28
Commit
20ae8d28
authored
Oct 26, 2007
by
Aric Stewart
Committed by
Alexandre Julliard
Oct 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msdmo: Fix to DMOEnum to properly enumerate the keys and properly respect the flag.
parent
3fb513de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
dmoreg.c
dlls/msdmo/dmoreg.c
+7
-3
No files found.
dlls/msdmo/dmoreg.c
View file @
20ae8d28
...
...
@@ -509,19 +509,23 @@ static HRESULT WINAPI IEnumDMO_fnNext(
{
This
->
index
++
;
len
=
MAX_PATH
;
hres
=
RegEnumKeyExW
(
This
->
hkey
,
This
->
index
,
szNextKey
,
&
len
,
NULL
,
NULL
,
NULL
,
&
ft
);
if
(
hres
!=
ERROR_SUCCESS
)
break
;
TRACE
(
"found %s
\n
"
,
debugstr_w
(
szNextKey
));
if
(
This
->
dwFlags
&
DMO_REGISTERF_IS_KEYED
)
if
(
!
(
This
->
dwFlags
&
DMO_ENUMF_INCLUDE_KEYED
)
)
{
wsprintfW
(
szKey
,
szCat3Fmt
,
szDMORootKey
,
szNextKey
,
szDMOKeyed
);
hres
=
RegOpenKeyExW
(
HKEY_CLASSES_ROOT
,
szKey
,
0
,
KEY_READ
,
&
hkey
);
if
(
ERROR_SUCCESS
!=
hres
)
if
(
ERROR_SUCCESS
==
hres
)
{
RegCloseKey
(
hkey
);
/* Skip Keyed entries */
continue
;
RegCloseKey
(
hkey
);
}
}
wsprintfW
(
szKey
,
szCat2Fmt
,
szDMORootKey
,
szNextKey
);
...
...
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