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
bb0c660e
Commit
bb0c660e
authored
Mar 29, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Always start the 64-bit version of wineboot.exe on Wow64.
parent
3397a8b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
user_main.c
dlls/user32/user_main.c
+4
-0
No files found.
dlls/user32/user_main.c
View file @
bb0c660e
...
...
@@ -357,6 +357,7 @@ BOOL WINAPI ExitWindowsEx( UINT flags, DWORD reason )
WCHAR
cmdline
[
MAX_PATH
+
64
];
PROCESS_INFORMATION
pi
;
STARTUPINFOW
si
;
void
*
redir
;
GetSystemDirectoryW
(
app
,
MAX_PATH
-
sizeof
(
winebootW
)
/
sizeof
(
WCHAR
)
);
strcatW
(
app
,
winebootW
);
...
...
@@ -372,11 +373,14 @@ BOOL WINAPI ExitWindowsEx( UINT flags, DWORD reason )
memset
(
&
si
,
0
,
sizeof
si
);
si
.
cb
=
sizeof
si
;
Wow64DisableWow64FsRedirection
(
&
redir
);
if
(
!
CreateProcessW
(
app
,
cmdline
,
NULL
,
NULL
,
FALSE
,
DETACHED_PROCESS
,
NULL
,
NULL
,
&
si
,
&
pi
))
{
Wow64RevertWow64FsRedirection
(
redir
);
ERR
(
"Failed to run %s
\n
"
,
debugstr_w
(
cmdline
)
);
return
FALSE
;
}
Wow64RevertWow64FsRedirection
(
redir
);
CloseHandle
(
pi
.
hProcess
);
CloseHandle
(
pi
.
hThread
);
return
TRUE
;
...
...
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