kernel32: Set all %eax bits on Wow64EnableWow64FsRedirection return.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47565
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2019-12-05 20:09:04 +01:00 committed by Alexandre Julliard
parent 477ff7e034
commit 7ca1c4900e
2 changed files with 4 additions and 2 deletions

View File

@ -1603,7 +1603,7 @@
# @ stub WerpStringLookup
@ stdcall WideCharToMultiByte(long long wstr long ptr long ptr ptr)
@ stdcall WinExec(str long)
@ stdcall Wow64EnableWow64FsRedirection(long)
@ stdcall Wow64EnableWow64FsRedirection(long) KERNEL32_Wow64EnableWow64FsRedirection
@ stdcall -import Wow64DisableWow64FsRedirection(ptr)
@ stdcall Wow64GetThreadContext(long ptr)
# @ stub Wow64GetThreadSelectorEntry

View File

@ -851,8 +851,10 @@ UINT WINAPI GetSystemDirectoryA( LPSTR path, UINT count )
/***********************************************************************
* Wow64EnableWow64FsRedirection (KERNEL32.@)
*
* Microsoft C++ Redistributable installers are depending on all %eax bits being set.
*/
BOOLEAN WINAPI Wow64EnableWow64FsRedirection( BOOLEAN enable )
DWORD /*BOOLEAN*/ WINAPI KERNEL32_Wow64EnableWow64FsRedirection( BOOLEAN enable )
{
return set_ntstatus( RtlWow64EnableFsRedirection( enable ));
}