Commit 87eaf899 authored by Brendan McGrath's avatar Brendan McGrath Committed by Alexandre Julliard

winegstreamer: Fix wow64 support for wg_parser_connect.

parent 0274f353
......@@ -1900,6 +1900,24 @@ C_ASSERT(ARRAYSIZE(__wine_unix_call_funcs) == unix_wg_funcs_count);
typedef ULONG PTR32;
static NTSTATUS wow64_wg_parser_connect(void *args)
{
struct
{
wg_parser_t parser;
PTR32 uri;
UINT64 file_size;
} *params32 = args;
struct wg_parser_connect_params params =
{
.parser = params32->parser,
.uri = ULongToPtr(params32->uri),
.file_size = params32->file_size,
};
return wg_parser_connect(&params);
}
static NTSTATUS wow64_wg_parser_push_data(void *args) {
struct
{
......@@ -2184,7 +2202,7 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
X(wg_parser_create),
X(wg_parser_destroy),
X(wg_parser_connect),
X64(wg_parser_connect),
X(wg_parser_disconnect),
X(wg_parser_get_next_read_offset),
......
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