Commit 3db5f872 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

rpcrt4: Support fixed arrays in calc_arg_size.

parent e26bcb7f
......@@ -1031,6 +1031,12 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)
ComputeConformance(pStubMsg, NULL, pFormat + 4, 0);
size *= pStubMsg->MaxCount;
break;
case RPC_FC_SMFARRAY:
size = *(const WORD*)(pFormat + 2);
break;
case RPC_FC_LGFARRAY:
size = *(const DWORD*)(pFormat + 2);
break;
default:
FIXME("Unhandled type %02x\n", *pFormat);
/* fallthrough */
......
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