rpcrt4: Add an rpcasync.h header stub and fix the RpcErrorStartEnumeration() prototype.
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 @@ 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 @@ #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