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
26caf2fd
Commit
26caf2fd
authored
Jul 06, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Forward the Wow64 redirection functions to ntdll.
parent
747d58d2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
6 deletions
+23
-6
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-0
path.c
dlls/kernel32/path.c
+19
-6
winbase.h
include/winbase.h
+3
-0
No files found.
dlls/kernel32/kernel32.spec
View file @
26caf2fd
...
...
@@ -1144,6 +1144,7 @@
@ stdcall WaitNamedPipeW (wstr long)
@ stdcall WideCharToMultiByte(long long wstr long ptr long ptr ptr)
@ stdcall WinExec(str long)
@ stdcall Wow64EnableWow64FsRedirection(long)
@ stdcall Wow64DisableWow64FsRedirection(ptr)
@ stdcall Wow64RevertWow64FsRedirection(ptr)
@ stdcall WriteConsoleA(long ptr long ptr ptr)
...
...
dlls/kernel32/path.c
View file @
26caf2fd
...
...
@@ -1539,24 +1539,37 @@ UINT WINAPI GetSystemWow64DirectoryA( LPSTR lpBuffer, UINT uSize )
return
0
;
}
/***********************************************************************
* Wow64EnableWow64FsRedirection (KERNEL32.@)
*/
BOOLEAN
WINAPI
Wow64EnableWow64FsRedirection
(
BOOLEAN
enable
)
{
NTSTATUS
status
=
RtlWow64EnableFsRedirection
(
enable
);
if
(
status
)
SetLastError
(
RtlNtStatusToDosError
(
status
)
);
return
!
status
;
}
/***********************************************************************
* Wow64DisableWow64FsRedirection (KERNEL32.@)
*/
BOOL
WINAPI
Wow64DisableWow64FsRedirection
(
PVOID
*
old_value
)
{
FIXME
(
"%p
\n
"
,
old_value
);
if
(
old_value
)
*
old_value
=
(
void
*
)
0xdeadbeef
;
return
TRUE
;
NTSTATUS
status
=
RtlWow64EnableFsRedirectionEx
(
TRUE
,
(
ULONG
*
)
old_value
);
if
(
status
)
SetLastError
(
RtlNtStatusToDosError
(
status
)
);
return
!
status
;
}
/***********************************************************************
* Wow64RevertWow64FsRedirection (KERNEL32.@)
*/
BOOL
WINAPI
Wow64RevertWow64FsRedirection
(
PVOID
old_value
)
{
FIXME
(
"%p
\n
"
,
old_value
);
return
TRUE
;
NTSTATUS
status
=
RtlWow64EnableFsRedirection
(
(
UINT_PTR
)
old_value
);
if
(
status
)
SetLastError
(
RtlNtStatusToDosError
(
status
)
);
return
!
status
;
}
...
...
include/winbase.h
View file @
26caf2fd
...
...
@@ -2143,6 +2143,9 @@ WINBASEAPI BOOL WINAPI WaitNamedPipeA(LPCSTR,DWORD);
WINBASEAPI
BOOL
WINAPI
WaitNamedPipeW
(
LPCWSTR
,
DWORD
);
#define WaitNamedPipe WINELIB_NAME_AW(WaitNamedPipe)
WINBASEAPI
UINT
WINAPI
WinExec
(
LPCSTR
,
UINT
);
WINBASEAPI
BOOL
WINAPI
Wow64DisableWow64FsRedirection
(
PVOID
*
);
WINBASEAPI
BOOLEAN
WINAPI
Wow64EnableWow64FsRedirection
(
BOOLEAN
);
WINBASEAPI
BOOL
WINAPI
Wow64RevertWow64FsRedirection
(
PVOID
);
WINBASEAPI
BOOL
WINAPI
WriteFile
(
HANDLE
,
LPCVOID
,
DWORD
,
LPDWORD
,
LPOVERLAPPED
);
WINBASEAPI
BOOL
WINAPI
WriteFileEx
(
HANDLE
,
LPCVOID
,
DWORD
,
LPOVERLAPPED
,
LPOVERLAPPED_COMPLETION_ROUTINE
);
WINBASEAPI
BOOL
WINAPI
WriteFileGather
(
HANDLE
,
FILE_SEGMENT_ELEMENT
*
,
DWORD
,
LPDWORD
,
LPOVERLAPPED
);
...
...
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