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
6effc483
Commit
6effc483
authored
Jul 19, 2017
by
Hugh McMaster
Committed by
Alexandre Julliard
Jul 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Export value names from the export_data() function.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
97383a14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
regproc.c
programs/regedit/regproc.c
+4
-3
No files found.
programs/regedit/regproc.c
View file @
6effc483
...
...
@@ -1311,9 +1311,11 @@ static void export_newline(FILE *fp, BOOL unicode)
REGPROC_write_line
(
fp
,
newline
,
unicode
);
}
static
void
export_data
(
FILE
*
fp
,
DWORD
type
,
size_t
line_len
,
void
*
data
,
size_t
size
,
BOOL
unicode
)
static
void
export_data
(
FILE
*
fp
,
WCHAR
*
value_name
,
DWORD
value_len
,
DWORD
type
,
void
*
data
,
size_t
size
,
BOOL
unicode
)
{
WCHAR
*
buf
=
NULL
;
size_t
line_len
=
export_value_name
(
fp
,
value_name
,
value_len
,
unicode
);
switch
(
type
)
{
...
...
@@ -1385,8 +1387,7 @@ static int export_registry_data(FILE *fp, HKEY key, WCHAR *path, BOOL unicode)
rc
=
RegEnumValueW
(
key
,
i
,
value_name
,
&
value_len
,
NULL
,
&
type
,
data
,
&
data_size
);
if
(
rc
==
ERROR_SUCCESS
)
{
size_t
line_len
=
export_value_name
(
fp
,
value_name
,
value_len
,
unicode
);
export_data
(
fp
,
type
,
line_len
,
data
,
data_size
,
unicode
);
export_data
(
fp
,
value_name
,
value_len
,
type
,
data
,
data_size
,
unicode
);
i
++
;
}
else
if
(
rc
==
ERROR_MORE_DATA
)
...
...
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