rpcrt4: Add a missing STUBLESS_INITOUT case.
authorHuw Davies <huw@codeweavers.com>
Mon, 2 Aug 2010 14:24:53 +0000 (15:24 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 2 Aug 2010 15:40:34 +0000 (17:40 +0200)
dlls/rpcrt4/ndr_stubless.c

index ed7912fcb19949eff076d891c651ffa67b7a4e4d..243c55a6a98ca7e36ea13c3c576df99e9b4a46f8 100644 (file)
@@ -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);