wine/dlls/rpcrt4 ndr_marshall.c

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 31 15:05:00 CST 2005


ChangeSet ID:	21006
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at winehq.org	2005/10/31 15:05:00

Modified files:
	dlls/rpcrt4    : ndr_marshall.c 

Log message:
	Huw Davies <huw at codeweavers.com>
	Marshal enums.

Patch: http://cvs.winehq.org/patch.py?id=21006

Old revision  New revision  Changes     Path
 1.29          1.30          +4 -0       wine/dlls/rpcrt4/ndr_marshall.c

Index: wine/dlls/rpcrt4/ndr_marshall.c
diff -u -p wine/dlls/rpcrt4/ndr_marshall.c:1.29 wine/dlls/rpcrt4/ndr_marshall.c:1.30
--- wine/dlls/rpcrt4/ndr_marshall.c	31 Oct 2005 21: 5: 0 -0000
+++ /dev/null	31 Oct 2005 21: 5: 0 -0000
@@ -1404,6 +1404,7 @@ unsigned char * WINAPI ComplexMarshall(P
       break;
     case RPC_FC_LONG:
     case RPC_FC_ULONG:
+    case RPC_FC_ENUM32:
       TRACE("long=%ld <= %p\n", *(DWORD*)pMemory, pMemory);
       memcpy(pStubMsg->Buffer, pMemory, 4);
       pStubMsg->Buffer += 4;
@@ -1465,6 +1466,7 @@ unsigned char * WINAPI ComplexUnmarshall
       break;
     case RPC_FC_LONG:
     case RPC_FC_ULONG:
+    case RPC_FC_ENUM32:
       memcpy(pMemory, pStubMsg->Buffer, 4);
       TRACE("long=%ld => %p\n", *(DWORD*)pMemory, pMemory);
       pStubMsg->Buffer += 4;
@@ -1525,6 +1527,7 @@ unsigned char * WINAPI ComplexBufferSize
       break;
     case RPC_FC_LONG:
     case RPC_FC_ULONG:
+    case RPC_FC_ENUM32:
       pStubMsg->BufferLength += 4;
       pMemory += 4;
       break;
@@ -1578,6 +1581,7 @@ unsigned char * WINAPI ComplexFree(PMIDL
       break;
     case RPC_FC_LONG:
     case RPC_FC_ULONG:
+    case RPC_FC_ENUM32:
       pMemory += 4;
       break;
     case RPC_FC_POINTER:



More information about the wine-cvs mailing list