mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[RPCRT4]
Fix MSVC version of call_server_func svn path=/trunk/; revision=52551
This commit is contained in:
parent
b92c0d9f52
commit
d7d9b7ec6c
1 changed files with 2 additions and 1 deletions
|
@ -841,11 +841,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]
|
||||
|
|
Loading…
Reference in a new issue