rpcrt4: Don't marshall out-only parameters in the old-style stubless marshaller.

This commit is contained in:
Alexandre Julliard 2011-06-07 20:38:50 +02:00
parent dc46df47a4
commit 0941644db7
1 changed files with 2 additions and 2 deletions

View File

@ -522,12 +522,12 @@ void client_do_args_old_format(PMIDL_STUB_MESSAGE pStubMsg,
{ {
case PROXY_CALCSIZE: case PROXY_CALCSIZE:
if (pParam->param_direction == RPC_FC_IN_PARAM || if (pParam->param_direction == RPC_FC_IN_PARAM ||
pParam->param_direction & RPC_FC_IN_OUT_PARAM) pParam->param_direction == RPC_FC_IN_OUT_PARAM)
call_buffer_sizer(pStubMsg, *(unsigned char **)pArg, pTypeFormat); call_buffer_sizer(pStubMsg, *(unsigned char **)pArg, pTypeFormat);
break; break;
case PROXY_MARSHAL: case PROXY_MARSHAL:
if (pParam->param_direction == RPC_FC_IN_PARAM || if (pParam->param_direction == RPC_FC_IN_PARAM ||
pParam->param_direction & RPC_FC_IN_OUT_PARAM) pParam->param_direction == RPC_FC_IN_OUT_PARAM)
call_marshaller(pStubMsg, *(unsigned char **)pArg, pTypeFormat); call_marshaller(pStubMsg, *(unsigned char **)pArg, pTypeFormat);
break; break;
case PROXY_UNMARSHAL: case PROXY_UNMARSHAL: