[PATCH] rpcrt4: add NdrServerCallAll stub
Louis Lenders
xerox.xerox2000x at gmail.com
Mon May 6 13:09:47 CDT 2019
Wine-bug: https://bugs.winehq.org/show_bug.cgi?id=47131
The program is happy with just stub entrypoint in rpcrt4.spec, but i added stub implementation anyway
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
---
dlls/rpcrt4/ndr_stubless.c | 8 ++++++++
dlls/rpcrt4/rpcrt4.spec | 1 +
include/rpcndr.h | 2 ++
3 files changed, 11 insertions(+)
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index 813d7e83f1..530bd9e5eb 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -1557,6 +1557,14 @@ void WINAPI NdrServerCall( PRPC_MESSAGE msg )
NdrStubCall( NULL, NULL, msg, &phase );
}
+/***********************************************************************
+ * NdrServerCallAll [RPCRT4.@]
+ */
+void WINAPI NdrServerCallAll( PRPC_MESSAGE msg )
+{
+ FIXME("%p stub\n", msg);
+}
+
struct async_call_data
{
MIDL_STUB_MESSAGE *pStubMsg;
diff --git a/dlls/rpcrt4/rpcrt4.spec b/dlls/rpcrt4/rpcrt4.spec
index 79c9645fe1..d8e873d194 100644
--- a/dlls/rpcrt4/rpcrt4.spec
+++ b/dlls/rpcrt4/rpcrt4.spec
@@ -274,6 +274,7 @@
@ stdcall NdrSendReceive(ptr ptr)
@ stdcall NdrServerCall2(ptr)
@ stdcall NdrServerCall(ptr)
+@ stdcall NdrServerCallAll(ptr)
@ stdcall NdrServerContextMarshall(ptr ptr long)
@ stdcall NdrServerContextNewMarshall(ptr ptr ptr ptr) # wxp
@ stdcall NdrServerContextNewUnmarshall(ptr ptr) # wxp
diff --git a/include/rpcndr.h b/include/rpcndr.h
index 077e02ab7c..ac9da115ca 100644
--- a/include/rpcndr.h
+++ b/include/rpcndr.h
@@ -676,6 +676,8 @@ RPCRTAPI void RPC_ENTRY
NdrServerCall2( PRPC_MESSAGE pRpcMsg );
RPCRTAPI void RPC_ENTRY
NdrServerCall( PRPC_MESSAGE pRpcMsg );
+RPCRTAPI void RPC_ENTRY
+ NdrServerCallAll( PRPC_MESSAGE pRpcMsg );
RPCRTAPI void RPC_ENTRY
NdrAsyncServerCall( PRPC_MESSAGE pRpcMsg );
--
2.20.1
More information about the wine-devel
mailing list