From 76d266cbb0d4e2b090152151ba2550f141390442 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 13 Nov 2007 20:51:05 +0100 Subject: [PATCH] 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 deletion(-) create mode 100644 include/rpcasync.h diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c index 7cd9b03a16a..75d765642bb 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 2104454463a..43003290a01 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 60bf4fe7adb..c157c6d766e 100644 --- a/include/rpc.h +++ b/include/rpc.h @@ -60,6 +60,9 @@ typedef void* I_RPC_HANDLE; #include #include #include +#ifndef RPC_NO_WINDOWS_H +#include +#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 00000000000..d90bbe03252 --- /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