rpcrt4: Add an rpcasync.h header stub and fix the RpcErrorStartEnumeration() prototype.

Francois Gouget fgouget at free.fr
Tue Nov 13 13:51:05 CST 2007


Signed-off-by: Robert Shearman <rob at codeweavers.com>
---
 dlls/rpcrt4/rpcrt4_main.c |    2 +-
 include/Makefile.in       |    1 +
 include/rpc.h             |    3 +++
 3 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c
index 7cd9b03..75d7656 100644
--- a/dlls/rpcrt4/rpcrt4_main.c
+++ b/dlls/rpcrt4/rpcrt4_main.c
@@ -871,7 +871,7 @@ LONG WINAPI I_RpcMapWin32Status(RPC_STATUS status)
 /******************************************************************************
  * RpcErrorStartEnumeration   (rpcrt4.@)
  */
-RPC_STATUS RPC_ENTRY RpcErrorStartEnumeration(void** EnumHandle)
+RPC_STATUS RPC_ENTRY RpcErrorStartEnumeration(RPC_ERROR_ENUM_HANDLE* EnumHandle)
 {
     FIXME("(%p): stub\n", EnumHandle);
     return RPC_S_ENTRY_NOT_FOUND;
diff --git a/include/Makefile.in b/include/Makefile.in
index 2104454..4300329 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -334,6 +334,7 @@ SRCDIR_INCLUDES = \
 	richedit.h \
 	rmxfguid.h \
 	rpc.h \
+	rpcasync.h \
 	rpcdce.h \
 	rpcdcep.h \
 	rpcndr.h \
diff --git a/include/rpc.h b/include/rpc.h
index 60bf4fe..c157c6d 100644
--- a/include/rpc.h
+++ b/include/rpc.h
@@ -60,6 +60,9 @@ typedef void* I_RPC_HANDLE;
 #include <rpcnterr.h>
 #include <excpt.h>
 #include <winerror.h>
+#ifndef RPC_NO_WINDOWS_H
+#include <rpcasync.h>
+#endif
 
 /* ignore exception handling for now */
 #define RpcTryExcept if (1) {
-- 
1.5.3.GIT


--------------080805030408080109050202--



More information about the wine-patches mailing list