Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
580ad389
Commit
580ad389
authored
Aug 02, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64: Add thunks for the wine_nt_to_unix_file_name and wine_unix_to_nt_file_name syscalls.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e145a06c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
1 deletion
+32
-1
file.c
dlls/wow64/file.c
+29
-0
syscall.h
dlls/wow64/syscall.h
+3
-1
No files found.
dlls/wow64/file.c
View file @
580ad389
...
...
@@ -856,3 +856,32 @@ NTSTATUS WINAPI wow64_NtWriteFileGather( UINT *args )
put_iosb
(
io32
,
&
io
);
return
status
;
}
/**********************************************************************
* wow64_wine_nt_to_unix_file_name
*/
NTSTATUS
WINAPI
wow64_wine_nt_to_unix_file_name
(
UINT
*
args
)
{
OBJECT_ATTRIBUTES32
*
attr32
=
get_ptr
(
&
args
);
char
*
nameA
=
get_ptr
(
&
args
);
ULONG
*
size
=
get_ptr
(
&
args
);
UINT
disposition
=
get_ulong
(
&
args
);
struct
object_attr64
attr
;
return
wine_nt_to_unix_file_name
(
objattr_32to64_redirect
(
&
attr
,
attr32
),
nameA
,
size
,
disposition
);
}
/**********************************************************************
* wow64_wine_unix_to_nt_file_name
*/
NTSTATUS
WINAPI
wow64_wine_unix_to_nt_file_name
(
UINT
*
args
)
{
const
char
*
name
=
get_ptr
(
&
args
);
WCHAR
*
buffer
=
get_ptr
(
&
args
);
ULONG
*
size
=
get_ptr
(
&
args
);
return
wine_unix_to_nt_file_name
(
name
,
buffer
,
size
);
}
dlls/wow64/syscall.h
View file @
580ad389
...
...
@@ -233,6 +233,8 @@
SYSCALL_ENTRY( NtWriteFile ) \
SYSCALL_ENTRY( NtWriteFileGather ) \
SYSCALL_ENTRY( NtWriteVirtualMemory ) \
SYSCALL_ENTRY( NtYieldExecution )
SYSCALL_ENTRY( NtYieldExecution ) \
SYSCALL_ENTRY( wine_nt_to_unix_file_name ) \
SYSCALL_ENTRY( wine_unix_to_nt_file_name )
#endif
/* __WOW64_SYSCALL_H */
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