[PATCH] include: Add restrictederrorinfo.idl.

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Mon Oct 21 21:54:31 CDT 2019


From: Louis Lenders <xerox.xerox2000x at gmail.com>

Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.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 d4676f0fdd..c31fb50d74 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -549,6 +549,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 0000000000..e444256a04
--- /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);
+}
-- 
2.17.1




More information about the wine-devel mailing list