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
0647a85d
Commit
0647a85d
authored
Oct 01, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineboot: Always create the various RunOnce keys.
parent
c99609a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
wineboot.c
programs/wineboot/wineboot.c
+5
-3
No files found.
programs/wineboot/wineboot.c
View file @
0647a85d
...
...
@@ -643,7 +643,7 @@ static BOOL ProcessRunKeys( HKEY hkRoot, LPCWSTR szKeyName, BOOL bDelete,
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
'\\'
,
'C'
,
'u'
,
'r'
,
'r'
,
'e'
,
'n'
,
't'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
HKEY
hkWin
,
hkRun
;
DWORD
res
;
DWORD
res
,
dispos
;
DWORD
i
,
nMaxCmdLine
=
0
,
nMaxValue
=
0
;
WCHAR
*
szCmdLine
=
NULL
;
WCHAR
*
szValue
=
NULL
;
...
...
@@ -653,15 +653,17 @@ static BOOL ProcessRunKeys( HKEY hkRoot, LPCWSTR szKeyName, BOOL bDelete,
else
WINE_TRACE
(
"processing %s entries under HKCU
\n
"
,
wine_dbgstr_w
(
szKeyName
)
);
if
(
Reg
OpenKeyExW
(
hkRoot
,
WINKEY_NAME
,
0
,
KEY_READ
,
&
hkWin
)
!=
ERROR_SUCCESS
)
if
(
Reg
CreateKeyExW
(
hkRoot
,
WINKEY_NAME
,
0
,
NULL
,
0
,
KEY_READ
,
NULL
,
&
hkWin
,
NULL
)
!=
ERROR_SUCCESS
)
return
TRUE
;
if
(
RegOpenKeyExW
(
hkWin
,
szKeyName
,
0
,
bDelete
?
KEY_ALL_ACCESS
:
KEY_READ
,
&
hkRun
)
!=
ERROR_SUCCESS
)
if
((
res
=
RegCreateKeyExW
(
hkWin
,
szKeyName
,
0
,
NULL
,
0
,
bDelete
?
KEY_ALL_ACCESS
:
KEY_READ
,
NULL
,
&
hkRun
,
&
dispos
)
!=
ERROR_SUCCESS
))
{
RegCloseKey
(
hkWin
);
return
TRUE
;
}
RegCloseKey
(
hkWin
);
if
(
dispos
==
REG_CREATED_NEW_KEY
)
goto
end
;
if
(
(
res
=
RegQueryInfoKeyW
(
hkRun
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
&
i
,
&
nMaxValue
,
&
nMaxCmdLine
,
NULL
,
NULL
))
!=
ERROR_SUCCESS
)
...
...
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