rpcrt4: Calculate size of FC_STRUCT arguments correctly.
This commit is contained in:
parent
f4e8169e9a
commit
93fb9d10f5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue