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>
This commit is contained in:
parent
e145a06c46
commit
580ad3898b
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue