Commit 483a2203 authored by Alexandre Julliard's avatar Alexandre Julliard

kernelbase: Move Wow64EnableWow64FsRedirection() from kernel32 to kernelbase.

Following recent Windows versions.
parent 6b90aea8
......@@ -1632,8 +1632,8 @@
# @ stub WerpStringLookup
@ stdcall -import WideCharToMultiByte(long long wstr long ptr long ptr ptr)
@ stdcall WinExec(str long)
@ stdcall Wow64EnableWow64FsRedirection(long) KERNEL32_Wow64EnableWow64FsRedirection
@ stdcall -import Wow64DisableWow64FsRedirection(ptr)
@ stdcall -import Wow64EnableWow64FsRedirection(long)
@ stdcall Wow64GetThreadContext(long ptr)
@ stdcall Wow64GetThreadSelectorEntry(long long ptr)
@ stdcall -import Wow64RevertWow64FsRedirection(ptr)
......
......@@ -378,17 +378,6 @@ UINT WINAPI GetSystemDirectoryA( LPSTR path, UINT count )
/***********************************************************************
* Wow64EnableWow64FsRedirection (KERNEL32.@)
*
* Microsoft C++ Redistributable installers are depending on all %eax bits being set.
*/
DWORD /*BOOLEAN*/ WINAPI KERNEL32_Wow64EnableWow64FsRedirection( BOOLEAN enable )
{
return set_ntstatus( RtlWow64EnableFsRedirection( enable ));
}
/***********************************************************************
* wine_get_unix_file_name (KERNEL32.@) Not a Windows API
*
* Return the full Unix file name for a given path.
......
......@@ -2859,6 +2859,17 @@ BOOL WINAPI DECLSPEC_HOTPATCH Wow64DisableWow64FsRedirection( PVOID *old_value )
/***********************************************************************
* Wow64EnableWow64FsRedirection (kernelbase.@)
*
* Microsoft C++ Redistributable installers are depending on all %eax bits being set.
*/
DWORD /*BOOLEAN*/ WINAPI kernelbase_Wow64EnableWow64FsRedirection( BOOLEAN enable )
{
return set_ntstatus( RtlWow64EnableFsRedirection( enable ));
}
/***********************************************************************
* Wow64RevertWow64FsRedirection (kernelbase.@)
*/
BOOL WINAPI DECLSPEC_HOTPATCH Wow64RevertWow64FsRedirection( PVOID old_value )
......
......@@ -1757,6 +1757,7 @@
# @ stub WerpNotifyUseStringResource
@ stdcall WideCharToMultiByte(long long wstr long ptr long ptr ptr)
@ stdcall Wow64DisableWow64FsRedirection(ptr)
@ stdcall Wow64EnableWow64FsRedirection(long) kernelbase_Wow64EnableWow64FsRedirection
@ stdcall Wow64RevertWow64FsRedirection(ptr)
# @ stub Wow64SetThreadDefaultGuestMachine
# @ stub -arch=i386 Wow64Transition
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment