Commit 580ad389 authored by Alexandre Julliard's avatar Alexandre Julliard

wow64: Add thunks for the wine_nt_to_unix_file_name and wine_unix_to_nt_file_name syscalls.

parent e145a06c
......@@ -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 );
}
......@@ -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 */
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