Marshal enums.
This commit is contained in:
parent
82aa918a30
commit
c7462e431f
|
@ -1404,6 +1404,7 @@ unsigned char * WINAPI ComplexMarshall(PMIDL_STUB_MESSAGE pStubMsg,
|
|||
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(PMIDL_STUB_MESSAGE pStubMsg,
|
|||
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(PMIDL_STUB_MESSAGE pStubMsg,
|
|||
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_STUB_MESSAGE pStubMsg,
|
|||
break;
|
||||
case RPC_FC_LONG:
|
||||
case RPC_FC_ULONG:
|
||||
case RPC_FC_ENUM32:
|
||||
pMemory += 4;
|
||||
break;
|
||||
case RPC_FC_POINTER:
|
||||
|
|
Loading…
Reference in New Issue