shdocvw: Always start the 64-bit version of winemenubuilder.exe on Wow64.
This commit is contained in:
parent
3bac3fb712
commit
3397a8b44b
|
@ -74,6 +74,7 @@ static BOOL run_winemenubuilder( const WCHAR *args )
|
|||
PROCESS_INFORMATION pi;
|
||||
BOOL ret;
|
||||
WCHAR app[MAX_PATH];
|
||||
void *redir;
|
||||
|
||||
GetSystemDirectoryW( app, MAX_PATH - sizeof(menubuilder)/sizeof(WCHAR) );
|
||||
strcatW( app, menubuilder );
|
||||
|
@ -91,7 +92,9 @@ static BOOL run_winemenubuilder( const WCHAR *args )
|
|||
memset(&si, 0, sizeof(si));
|
||||
si.cb = sizeof(si);
|
||||
|
||||
Wow64DisableWow64FsRedirection( &redir );
|
||||
ret = CreateProcessW( app, buffer, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi );
|
||||
Wow64RevertWow64FsRedirection( redir );
|
||||
|
||||
heap_free( buffer );
|
||||
|
||||
|
|
Loading…
Reference in New Issue