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


---
 dlls/rpcrt4/rpcrt4_main.c |    2 +-
 include/Makefile.in       |    1 +
 include/rpc.h             |    2 +-
 include/rpcasync.h        |   40 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 43 insertions(+), 2 deletions(-)
 create mode 100644 include/rpcasync.h

diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c
index a3caa17..55eca7f 100644
--- a/dlls/rpcrt4/rpcrt4_main.c
+++ b/dlls/rpcrt4/rpcrt4_main.c
@@ -868,7 +868,7 @@ DWORD 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 3b08d73..3a3ee72 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -327,6 +327,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 987159d..5e38e37 100644
--- a/include/rpc.h
+++ b/include/rpc.h
@@ -61,7 +61,7 @@ typedef void* I_RPC_HANDLE;
 #include <excpt.h>
 #include <winerror.h>
 #ifndef RPC_NO_WINDOWS_H
-/* FIXME: #include <rpcasync.h> */
+#include <rpcasync.h>
 #endif
 
 /* FIXME: ignore exception handling for now */
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
-- 
1.5.3.4




More information about the wine-patches mailing list