Author: jgardou
Date: Sun Aug 7 22:42:06 2011
New Revision: 53128
URL:
http://svn.reactos.org/svn/reactos?rev=53128&view=rev
Log:
[RPCRT4]
- fix msvc version of call_stubless_func
Modified:
trunk/reactos/dll/win32/rpcrt4/msvc.S
Modified: trunk/reactos/dll/win32/rpcrt4/msvc.S
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/msvc.S?re…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/msvc.S [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/msvc.S [iso-8859-1] Sun Aug 7 22:42:06 2011
@@ -11,12 +11,12 @@
mov ecx,[esp+4] /* This Pointer */
mov ecx,[ecx] /* This->lpVtbl */
mov ecx,[ecx-8] /* MIDL_STUBLESS_PROXY_INFO */
- mov edx,[ecx-8] /* Info->FormatStringOffset */
- xor edx, edx
- mov dx,[edx+eax*2] /* FormatStringOffset[index] */
+ mov edx,[ecx+8] /* Info->FormatStringOffset */
+ mov edx,[edx+eax*2] /* FormatStringOffset[index] */
+ and edx, 0000FFFFh
add edx,[ecx+4] /* info->ProcFormatString + offset */
- xor eax, eax
- mov ax, [edx+8] /* arguments size */
+ mov eax, [edx+8] /* arguments size */
+ and eax, 0000FFFFh
push eax
lea eax, [esp+8] /* &This */
push eax