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
8f2f59ee
Commit
8f2f59ee
authored
Apr 06, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: 64-bit regedit.exe is in c:\windows.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=50933
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8d076bc5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
main.c
programs/regedit/main.c
+1
-2
No files found.
programs/regedit/main.c
View file @
8f2f59ee
...
...
@@ -148,15 +148,14 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi
if
(
IsWow64Process
(
GetCurrentProcess
(),
&
is_wow64
)
&&
is_wow64
)
{
static
const
WCHAR
filename
[]
=
L"C:
\\
windows
\\
regedit.exe"
;
STARTUPINFOW
si
;
PROCESS_INFORMATION
pi
;
WCHAR
filename
[
MAX_PATH
];
void
*
redir
;
DWORD
exit_code
;
memset
(
&
si
,
0
,
sizeof
(
si
)
);
si
.
cb
=
sizeof
(
si
);
GetModuleFileNameW
(
0
,
filename
,
MAX_PATH
);
Wow64DisableWow64FsRedirection
(
&
redir
);
if
(
CreateProcessW
(
filename
,
GetCommandLineW
(),
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
))
...
...
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