From: Rose Hellsing <rose@pinkro.se> --- dlls/wow64/sync.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/dlls/wow64/sync.c b/dlls/wow64/sync.c index d5b52a5c815..48f50dc50b1 100644 --- a/dlls/wow64/sync.c +++ b/dlls/wow64/sync.c @@ -378,6 +378,26 @@ NTSTATUS WINAPI wow64_NtCreatePort( UINT *args ) return status; } +/********************************************************************** + * wow64_NtCreateWaitablePort + */ +NTSTATUS WINAPI wow64_NtCreateWaitablePort( UINT *args ) +{ + ULONG *handle_ptr = get_ptr( &args ); + OBJECT_ATTRIBUTES32 *attr32 = get_ptr( &args ); + ULONG info_len = get_ulong( &args ); + ULONG data_len = get_ulong( &args ); + ULONG reserved = get_ulong( &args ); + + struct object_attr64 attr; + HANDLE handle = 0; + NTSTATUS status; + + *handle_ptr = 0; + status = NtCreateWaitablePort( &handle, objattr_32to64( &attr, attr32 ), info_len, data_len, reserved ); + put_handle( handle_ptr, handle ); + return status; +} /********************************************************************** * wow64_NtCreateSection -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10571