Commit da441263 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

rpcrt4: Align the buffer correctly when marshaling and unmarshaling context handles.

parent ec5b3c3e
......@@ -4345,7 +4345,10 @@ void WINAPI NdrClientContextMarshall(PMIDL_STUB_MESSAGE pStubMsg,
NDR_CCONTEXT ContextHandle,
int fCheck)
{
TRACE("(%p, %p, %d): stub\n", pStubMsg, ContextHandle, fCheck);
TRACE("(%p, %p, %d)\n", pStubMsg, ContextHandle, fCheck);
ALIGN_POINTER(pStubMsg->Buffer, 4);
/* FIXME: what does fCheck do? */
NDRCContextMarshall(ContextHandle,
pStubMsg->Buffer);
......@@ -4360,7 +4363,10 @@ void WINAPI NdrClientContextUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
NDR_CCONTEXT * pContextHandle,
RPC_BINDING_HANDLE BindHandle)
{
TRACE("(%p, %p, %p): stub\n", pStubMsg, pContextHandle, BindHandle);
TRACE("(%p, %p, %p)\n", pStubMsg, pContextHandle, BindHandle);
ALIGN_POINTER(pStubMsg->Buffer, 4);
NDRCContextUnmarshall(pContextHandle,
BindHandle,
pStubMsg->Buffer,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment