ntdll: Return STATUS_PENDING when restarting asyncs.

Fixes: 1eb56b20ba
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-09-23 00:47:59 -05:00 committed by Alexandre Julliard
parent 2bec828af4
commit 455b707ea2
1 changed files with 1 additions and 0 deletions

View File

@ -390,6 +390,7 @@ static void invoke_system_apc( const apc_call_t *call, apc_result_t *result, BOO
/* the server will pass us NULL if a call failed synchronously */
set_async_iosb( call->async_io.sb, result->async_io.status, info );
}
else result->async_io.status = STATUS_PENDING; /* restart it */
break;
}
case APC_VIRTUAL_ALLOC: