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

Alexandre Julliard julliard at winehq.org
Tue Dec 18 07:34:42 CST 2007


Module: wine
Branch: master
Commit: 76d266cbb0d4e2b090152151ba2550f141390442
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=76d266cbb0d4e2b090152151ba2550f141390442

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Nov 13 20:51:05 2007 +0100

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

---

 dlls/rpcrt4/rpcrt4_main.c |    2 +-
 include/Makefile.in       |    1 +
 include/rpc.h             |    3 +++
 include/rpcasync.h        |   40 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 45 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) {
diff --git a/include/rpcasync.h b/include/rpcasync.h
new file mode 100644
index 0000000..d90bbe0
--- /dev/null
+++ b/include/rpcasync.h
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2007 Francois Gouget
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+#ifndef __WINE_RPCASYNC_H
+#define __WINE_RPCASYNC_H
+
+
+typedef struct tagRPC_ERROR_ENUM_HANDLE
+{
+    ULONG Signature;
+    void* CurrentPos;
+    void* Head;
+} RPC_ERROR_ENUM_HANDLE;
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorStartEnumeration(RPC_ERROR_ENUM_HANDLE*);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif




More information about the wine-cvs mailing list