[PATCH] rpcrt4: NdrServerCallAll() is 64-bit only.

Zebediah Figura z.figura12 at gmail.com
Sun Apr 26 19:51:26 CDT 2020


On 4/26/20 7:54 PM, Serge Gautherie wrote:
> Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
> ---
> Cherry-pick
> https://git.reactos.org/?p=reactos.git;a=commit;h=a16a37fd2d0506fed4006cb9769ec4a905d161f3
> ---
>   dlls/rpcrt4/rpcrt4.spec | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/dlls/rpcrt4/rpcrt4.spec b/dlls/rpcrt4/rpcrt4.spec
> index 0492776..9c85037 100644
> --- a/dlls/rpcrt4/rpcrt4.spec
> +++ b/dlls/rpcrt4/rpcrt4.spec
> @@ -276,7 +276,7 @@
>   @ stdcall NdrSendReceive(ptr ptr)
>   @ stdcall NdrServerCall2(ptr)
>   @ stdcall NdrServerCall(ptr)
> -@ stdcall NdrServerCallAll(ptr)
> +@ stdcall -arch=x86_64 NdrServerCallAll(ptr)
>   @ stdcall NdrServerContextMarshall(ptr ptr ptr)
>   @ stdcall NdrServerContextNewMarshall(ptr ptr ptr ptr) # wxp
>   @ stdcall NdrServerContextNewUnmarshall(ptr ptr) # wxp
> 

The function is present on arm64 as well, according to SDK import 
libraries, so presumably -arch=win64 should be used instead.

Presumably the corresponding code should be guarded with #ifdef _WIN64.



More information about the wine-devel mailing list