Module: wine
Branch: master
Commit: c1e73583111f83d03898f73c9c2283040dab8638
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c1e73583111f83d03898f73c…
Author: Jacek Caban <jacek(a)codeweavers.com>
Date: Tue Jan 7 20:45:17 2020 +0100
include: Add roerrorapi.h header.
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
include/Makefile.in | 1 +
include/roerrorapi.h | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index cbad4d604f..8a05f5d01c 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -558,6 +558,7 @@ SOURCES = \
rmxfguid.h \
rmxftmpl.x \
roapi.h \
+ roerrorapi.h \
roparameterizediid.idl \
row.idl \
rowchg.idl \
diff --git a/include/roerrorapi.h b/include/roerrorapi.h
new file mode 100644
index 0000000000..dd9c7f16ec
--- /dev/null
+++ b/include/roerrorapi.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2020 Jacek Caban for CodeWeavers
+ *
+ * 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 _ROERROR_H
+#define _ROERROR_H
+
+#include <hstring.h>
+#include <restrictederrorinfo.h>
+#include <rpc.h>
+
+HRESULT WINAPI GetRestrictedErrorInfo(IRestrictedErrorInfo **info);
+BOOL WINAPI RoOriginateLanguageException(HRESULT error, HSTRING message, IUnknown *language_exception);
+
+#endif /* _ROERROR_H */