Signed-off-by: YeshunYe yeyeshun@uniontech.com
-- v3: rpcrt4: Pass the binding handle to server call function.
From: YeshunYe yeyeshun@uniontech.com
Signed-off-by: YeshunYe yeyeshun@uniontech.com --- dlls/rpcrt4/ndr_stubless.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c index 8fc5fd41ca6..9c3f769b3aa 100644 --- a/dlls/rpcrt4/ndr_stubless.c +++ b/dlls/rpcrt4/ndr_stubless.c @@ -1423,6 +1423,8 @@ LONG WINAPI NdrStubCall2( * are calling an object method */ if (pThis) *(void **)args = ((CStdStubBuffer *)pThis)->pvServerObject; + else if (pProcHeader->handle_type == 0) + *(void **)args = pRpcMsg->Handle;
if (is_oicf_stubdesc(pStubDesc)) {