[PATCH v3 0/1] MR2305: rpcrt4: Pass the binding handle to server call function.
Signed-off-by: YeshunYe <yeyeshun(a)uniontech.com> -- v3: rpcrt4: Pass the binding handle to server call function. https://gitlab.winehq.org/wine/wine/-/merge_requests/2305
From: YeshunYe <yeyeshun(a)uniontech.com> Signed-off-by: YeshunYe <yeyeshun(a)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)) { -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2305
participants (2)
-
Yeshun Ye (@yeyeshun) -
YeshunYe