From e72b9a5931139e2d4c651e62f9b5ac226af2bedd Mon Sep 17 00:00:00 2001
From: Louis Lenders <xerox.xerox2000x@gmail.com>
Date: Mon, 8 Apr 2019 08:26:43 +0200
Subject: [PATCH 1/2] include: Add restrictederrorinfo.idl.

Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
---
 include/Makefile.in             |  1 +
 include/restrictederrorinfo.idl | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100644 include/restrictederrorinfo.idl

diff --git a/include/Makefile.in b/include/Makefile.in
index b03b967..5bc8dde 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -545,6 +545,7 @@ SOURCES = \
 	reason.h \
 	regstr.h \
 	restartmanager.h \
+	restrictederrorinfo.idl \
 	richedit.h \
 	richole.idl \
 	rmxfguid.h \
diff --git a/include/restrictederrorinfo.idl b/include/restrictederrorinfo.idl
new file mode 100644
index 0000000..e444256
--- /dev/null
+++ b/include/restrictederrorinfo.idl
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2019 Louis Lenders
+ *
+ * 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
+ */
+
+import "oaidl.idl";
+
+[
+    object,
+    uuid(82ba7092-4c88-427d-a7bc-16dd93feb67e),
+    pointer_default(unique)
+]
+interface IRestrictedErrorInfo : IUnknown
+{
+    HRESULT GetErrorDetails (
+        [out] BSTR *desc,
+        [out] HRESULT *error,
+        [out] BSTR *restricted_desc,
+        [out] BSTR *sid);
+
+    HRESULT GetReference ([out] BSTR *reference);
+}
-- 
1.9.1

