Commit 25b76525 authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

rpcrt4: Match MSVC version of call_server_func with GCC.

parent 5912bdee
......@@ -990,11 +990,12 @@ __declspec(naked) LONG_PTR __cdecl call_server_func(SERVER_ROUTINE func, unsigne
__asm
{
push ebp
mov ebp, esp
push edi ; Save registers
push esi
mov ebp, esp
mov eax, [ebp+16] ; Get stack size
sub esp, eax ; Make room in stack for arguments
and esp, 0xFFFFFFF0
mov edi, esp
mov ecx, eax
mov esi, [ebp+12]
......
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