Commit 93fb9d10 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

rpcrt4: Calculate size of FC_STRUCT arguments correctly.

parent f4e8169e
......@@ -1019,6 +1019,9 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)
DWORD size;
switch(*pFormat)
{
case RPC_FC_STRUCT:
size = *(const WORD*)(pFormat + 2);
break;
case RPC_FC_CARRAY:
size = *(const WORD*)(pFormat + 2);
ComputeConformance(pStubMsg, NULL, pFormat + 4, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment