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
c35cce2e
Commit
c35cce2e
authored
Dec 20, 1999
by
Juergen Schmied
Committed by
Alexandre Julliard
Dec 20, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NT loader: don't stop loading a hive when an error occurs.
parent
7c57a72c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
registry.c
misc/registry.c
+7
-2
No files found.
misc/registry.c
View file @
c35cce2e
...
...
@@ -887,15 +887,17 @@ int _nt_parse_lf(HKEY hkey, char * base, nt_lf * lf, int level);
int
_nt_parse_vk
(
HKEY
hkey
,
char
*
base
,
nt_vk
*
vk
,
int
level
)
{
WCHAR
name
[
256
];
DWORD
ret
;
BYTE
*
pdata
=
(
BYTE
*
)(
base
+
vk
->
data_off
+
4
);
/* start of data */
if
(
vk
->
id
!=
REG_VALUE_BLOCK_ID
)
goto
error
;
lstrcpynAtoW
(
name
,
vk
->
name
,
vk
->
nam_len
+
1
);
if
(
RegSetValueExW
(
hkey
,
(
vk
->
flag
&
0x00000001
)
?
name
:
NULL
,
0
,
vk
->
type
,
ret
=
RegSetValueExW
(
hkey
,
(
vk
->
flag
&
0x00000001
)
?
name
:
NULL
,
0
,
vk
->
type
,
(
vk
->
data_len
&
0x80000000
)
?
(
LPBYTE
)
&
(
vk
->
data_off
)
:
pdata
,
(
vk
->
data_len
&
0x7fffffff
)
))
goto
error
;
(
vk
->
data_len
&
0x7fffffff
)
);
if
(
ret
)
ERR
(
"RegSetValueEx failed (0x%08lx)
\n
"
,
ret
);
return
TRUE
;
error:
ERR_
(
reg
)(
"vk block invalid
\n
"
);
...
...
@@ -1664,6 +1666,9 @@ void SHELL_LoadRegistry( void )
free
(
home
);
free
(
fn
);
/* this key is generated when the nt-core booted successfully */
if
(
!
RegCreateKeyA
(
HKEY_LOCAL_MACHINE
,
"System
\\
Clone"
,
&
hkey
))
RegCloseKey
(
hkey
);
}
if
(
PROFILE_GetWineIniBool
(
"registry"
,
"LoadGlobalRegistryFiles"
,
1
))
...
...
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