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
e5565ff0
Commit
e5565ff0
authored
May 05, 2000
by
Huw D M Davies
Committed by
Alexandre Julliard
May 05, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Strip the $$$PROTO.HIV bit from win2k SYSTEM and SOFTWARE hives.
parent
2be78d41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
registry.c
misc/registry.c
+10
-2
No files found.
misc/registry.c
View file @
e5565ff0
...
@@ -1534,13 +1534,21 @@ void SHELL_LoadRegistry( void )
...
@@ -1534,13 +1534,21 @@ void SHELL_LoadRegistry( void )
* map HLM\System\ControlSet001 to HLM\System\CurrentControlSet
* map HLM\System\ControlSet001 to HLM\System\CurrentControlSet
*/
*/
if
(
!
RegCreateKeyA
(
HKEY_LOCAL_MACHINE
,
"SYSTEM"
,
&
hkey
))
{
strcpy
(
path
,
windir
);
strcpy
(
path
,
windir
);
strncat
(
path
,
"
\\
system32
\\
config
\\
system"
,
MAX_PATHNAME_LEN
-
strlen
(
path
)
-
1
);
strncat
(
path
,
"
\\
system32
\\
config
\\
system"
,
MAX_PATHNAME_LEN
-
strlen
(
path
)
-
1
);
NativeRegLoadKey
(
HKEY_LOCAL_MACHINE
,
path
,
0
);
NativeRegLoadKey
(
hkey
,
path
,
1
);
RegCloseKey
(
hkey
);
}
if
(
!
RegCreateKeyA
(
HKEY_LOCAL_MACHINE
,
"SOFTWARE"
,
&
hkey
))
{
strcpy
(
path
,
windir
);
strcpy
(
path
,
windir
);
strncat
(
path
,
"
\\
system32
\\
config
\\
software"
,
MAX_PATHNAME_LEN
-
strlen
(
path
)
-
1
);
strncat
(
path
,
"
\\
system32
\\
config
\\
software"
,
MAX_PATHNAME_LEN
-
strlen
(
path
)
-
1
);
NativeRegLoadKey
(
HKEY_LOCAL_MACHINE
,
path
,
0
);
NativeRegLoadKey
(
hkey
,
path
,
1
);
RegCloseKey
(
hkey
);
}
strcpy
(
path
,
windir
);
strcpy
(
path
,
windir
);
strncat
(
path
,
"
\\
system32
\\
config
\\
sam"
,
MAX_PATHNAME_LEN
-
strlen
(
path
)
-
1
);
strncat
(
path
,
"
\\
system32
\\
config
\\
sam"
,
MAX_PATHNAME_LEN
-
strlen
(
path
)
-
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