rpcrt4: Match MSVC version of call_server_func with GCC.

This commit is contained in:
Thomas Faber 2012-09-22 12:38:11 +02:00 committed by Alexandre Julliard
parent 5912bdeec2
commit 25b76525f3
1 changed files with 2 additions and 1 deletions

View File

@ -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]