Module: wine Branch: refs/heads/master Commit: 3db5f872a092d893a89fe1e61af3ed044d0a5231 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=3db5f872a092d893a89fe1e6...
Author: Robert Shearman rob@codeweavers.com Date: Wed Aug 9 18:16:56 2006 +0100
rpcrt4: Support fixed arrays in calc_arg_size.
---
dlls/rpcrt4/ndr_stubless.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c index 55a7778..1459d91 100644 --- a/dlls/rpcrt4/ndr_stubless.c +++ b/dlls/rpcrt4/ndr_stubless.c @@ -1031,6 +1031,12 @@ static DWORD calc_arg_size(MIDL_STUB_MES 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 */