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
3bac3fb7
Commit
3bac3fb7
authored
Mar 29, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Always start the 64-bit version of winemenubuilder.exe on Wow64.
parent
d1c7029b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
shelllink.c
dlls/shell32/shelllink.c
+3
-0
No files found.
dlls/shell32/shelllink.c
View file @
3bac3fb7
...
@@ -415,6 +415,7 @@ BOOL run_winemenubuilder( const WCHAR *args )
...
@@ -415,6 +415,7 @@ BOOL run_winemenubuilder( const WCHAR *args )
PROCESS_INFORMATION
pi
;
PROCESS_INFORMATION
pi
;
BOOL
ret
;
BOOL
ret
;
WCHAR
app
[
MAX_PATH
];
WCHAR
app
[
MAX_PATH
];
void
*
redir
;
GetSystemDirectoryW
(
app
,
MAX_PATH
-
sizeof
(
menubuilder
)
/
sizeof
(
WCHAR
)
);
GetSystemDirectoryW
(
app
,
MAX_PATH
-
sizeof
(
menubuilder
)
/
sizeof
(
WCHAR
)
);
strcatW
(
app
,
menubuilder
);
strcatW
(
app
,
menubuilder
);
...
@@ -432,7 +433,9 @@ BOOL run_winemenubuilder( const WCHAR *args )
...
@@ -432,7 +433,9 @@ BOOL run_winemenubuilder( const WCHAR *args )
memset
(
&
si
,
0
,
sizeof
(
si
));
memset
(
&
si
,
0
,
sizeof
(
si
));
si
.
cb
=
sizeof
(
si
);
si
.
cb
=
sizeof
(
si
);
Wow64DisableWow64FsRedirection
(
&
redir
);
ret
=
CreateProcessW
(
app
,
buffer
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
);
ret
=
CreateProcessW
(
app
,
buffer
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
);
Wow64RevertWow64FsRedirection
(
redir
);
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
...
...
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