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
1b950763
Commit
1b950763
authored
Oct 14, 2008
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleview: RegEnumKey gets always sizes, not -1.
parent
57a5a60c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
tree.c
programs/oleview/tree.c
+7
-7
No files found.
programs/oleview/tree.c
View file @
1b950763
...
...
@@ -271,7 +271,7 @@ static void AddCOMandAll(void)
{
i
++
;
if
(
RegEnumKey
(
hKey
,
i
,
valName
,
-
1
)
!=
ERROR_SUCCESS
)
break
;
if
(
RegEnumKey
(
hKey
,
i
,
valName
,
sizeof
(
valName
)
/
sizeof
(
valName
[
0
])
)
!=
ERROR_SUCCESS
)
break
;
if
(
RegOpenKey
(
hKey
,
valName
,
&
hCurKey
)
!=
ERROR_SUCCESS
)
continue
;
...
...
@@ -300,7 +300,7 @@ static void AddCOMandAll(void)
if
(
RegOpenKey
(
hCurKey
,
wszImplementedCategories
,
&
hInfo
)
==
ERROR_SUCCESS
)
{
if
(
RegEnumKey
(
hInfo
,
0
,
wszComp
,
-
1
)
!=
ERROR_SUCCESS
)
break
;
if
(
RegEnumKey
(
hInfo
,
0
,
wszComp
,
sizeof
(
wszComp
)
/
sizeof
(
wszComp
[
0
])
)
!=
ERROR_SUCCESS
)
break
;
RegCloseKey
(
hInfo
);
...
...
@@ -355,7 +355,7 @@ static void AddApplicationID(void)
{
i
++
;
if
(
RegEnumKey
(
hKey
,
i
,
valName
,
-
1
)
!=
ERROR_SUCCESS
)
break
;
if
(
RegEnumKey
(
hKey
,
i
,
valName
,
sizeof
(
valName
)
/
sizeof
(
valName
[
0
])
)
!=
ERROR_SUCCESS
)
break
;
if
(
RegOpenKey
(
hKey
,
valName
,
&
hCurKey
)
!=
ERROR_SUCCESS
)
continue
;
...
...
@@ -400,7 +400,7 @@ static void AddTypeLib(void)
{
i
++
;
if
(
RegEnumKey
(
hKey
,
i
,
valParent
,
-
1
)
!=
ERROR_SUCCESS
)
break
;
if
(
RegEnumKey
(
hKey
,
i
,
valParent
,
sizeof
(
valParent
)
/
sizeof
(
valParent
[
0
])
)
!=
ERROR_SUCCESS
)
break
;
if
(
RegOpenKey
(
hKey
,
valParent
,
&
hCurKey
)
!=
ERROR_SUCCESS
)
continue
;
...
...
@@ -409,7 +409,7 @@ static void AddTypeLib(void)
{
j
++
;
if
(
RegEnumKey
(
hCurKey
,
j
,
valName
,
-
1
)
!=
ERROR_SUCCESS
)
break
;
if
(
RegEnumKey
(
hCurKey
,
j
,
valName
,
sizeof
(
valName
)
/
sizeof
(
valName
[
0
])
)
!=
ERROR_SUCCESS
)
break
;
if
(
RegOpenKey
(
hCurKey
,
valName
,
&
hInfoKey
)
!=
ERROR_SUCCESS
)
continue
;
...
...
@@ -466,7 +466,7 @@ static void AddInterfaces(void)
{
i
++
;
if
(
RegEnumKey
(
hKey
,
i
,
valName
,
-
1
)
!=
ERROR_SUCCESS
)
break
;
if
(
RegEnumKey
(
hKey
,
i
,
valName
,
sizeof
(
valName
)
/
sizeof
(
valName
[
0
])
)
!=
ERROR_SUCCESS
)
break
;
if
(
RegOpenKey
(
hKey
,
valName
,
&
hCurKey
)
!=
ERROR_SUCCESS
)
continue
;
...
...
@@ -511,7 +511,7 @@ static void AddComponentCategories(void)
{
i
++
;
if
(
RegEnumKey
(
hKey
,
i
,
valName
,
-
1
)
!=
ERROR_SUCCESS
)
break
;
if
(
RegEnumKey
(
hKey
,
i
,
valName
,
sizeof
(
valName
)
/
sizeof
(
valName
[
0
])
)
!=
ERROR_SUCCESS
)
break
;
if
(
RegOpenKey
(
hKey
,
valName
,
&
hCurKey
)
!=
ERROR_SUCCESS
)
continue
;
...
...
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