Huw Davies : rpcrt4: Add a missing STUBLESS_INITOUT case.
Alexandre Julliard
julliard at winehq.org
Mon Aug 2 11:03:57 CDT 2010
Module: wine
Branch: master
Commit: 300536d88e0370d66391759fde414aa3accbc467
URL: http://source.winehq.org/git/wine.git/?a=commit;h=300536d88e0370d66391759fde414aa3accbc467
Author: Huw Davies <huw at codeweavers.com>
Date: Mon Aug 2 15:24:53 2010 +0100
rpcrt4: Add a missing STUBLESS_INITOUT case.
---
dlls/rpcrt4/ndr_stubless.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index ed7912f..243c55a 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -1258,6 +1258,8 @@ static LONG_PTR *stub_do_old_args(MIDL_STUB_MESSAGE *pStubMsg,
if (pParam->param_direction == RPC_FC_IN_PARAM_BASETYPE)
call_freer(pStubMsg, pArg, pTypeFormat);
break;
+ case STUBLESS_INITOUT:
+ break;
case STUBLESS_UNMARSHAL:
if (pParam->param_direction == RPC_FC_IN_PARAM_BASETYPE)
call_unmarshaller(pStubMsg, &pArg, pTypeFormat, 0);
@@ -1512,13 +1514,6 @@ LONG WINAPI NdrStubCall2(
if (pThis)
*(void **)args = ((CStdStubBuffer *)pThis)->pvServerObject;
- /* order of phases:
- * 1. STUBLESS_UNMARHSAL - unmarshal [in] params from buffer
- * 2. STUBLESS_CALLSERVER - send/receive buffer
- * 3. STUBLESS_CALCSIZE - get [out] buffer size
- * 4. STUBLESS_GETBUFFER - allocate [out] buffer
- * 5. STUBLESS_MARHSAL - marshal [out] params to buffer
- */
for (phase = STUBLESS_UNMARSHAL; phase <= STUBLESS_FREE; phase++)
{
TRACE("phase = %d\n", phase);
More information about the wine-cvs
mailing list