Module: wine Branch: refs/heads/master Commit: a534fdec3217b5bddbd86f42a3ef9ff55706143a URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a534fdec3217b5bddbd86f42...
Author: Mike McCormack mike@codeweavers.com Date: Fri May 26 17:56:49 2006 +0900
rpcrt4: Implement NdrClientContext(Un)Marshall.
---
dlls/rpcrt4/ndr_marshall.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 7516edd..f9164df 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c @@ -4294,7 +4294,10 @@ void WINAPI NdrClientContextMarshall(PMI NDR_CCONTEXT ContextHandle, int fCheck) { - FIXME("(%p, %p, %d): stub\n", pStubMsg, ContextHandle, fCheck); + TRACE("(%p, %p, %d): stub\n", pStubMsg, ContextHandle, fCheck); + /* FIXME: what does fCheck do? */ + return NDRCContextMarshall(ContextHandle, + pStubMsg->Buffer); }
/*********************************************************************** @@ -4304,7 +4307,11 @@ void WINAPI NdrClientContextUnmarshall(P NDR_CCONTEXT * pContextHandle, RPC_BINDING_HANDLE BindHandle) { - FIXME("(%p, %p, %p): stub\n", pStubMsg, pContextHandle, BindHandle); + TRACE("(%p, %p, %p): stub\n", pStubMsg, pContextHandle, BindHandle); + return NDRCContextUnmarshall(pContextHandle, + BindHandle, + pStubMsg->Buffer, + pStubMsg->RpcMsg->DataRepresentation); }
void WINAPI NdrServerContextMarshall(PMIDL_STUB_MESSAGE pStubMsg,