summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/w32api/include/objsafe.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/winsup/w32api/include/objsafe.h b/winsup/w32api/include/objsafe.h
new file mode 100644
index 000000000..5b77b0690
--- /dev/null
+++ b/winsup/w32api/include/objsafe.h
@@ -0,0 +1,26 @@
+#ifndef _OBJSAFE_H
+#define _OBJSAFE_H
+#if __GNUC__ >=3
+#pragma GCC system_header
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define INTERFACESAFE_FOR_UNTRUSTED_CALLER 0x00000001
+#define INTERFACESAFE_FOR_UNTRUSTED_DATA 0x00000002
+
+EXTERN_C const IID IID_IObjectSafety;
+#undef INTERFACE
+#define INTERFACE IObjectSafety
+DECLARE_INTERFACE_(IObjectSafety,IUnknown)
+{
+ STDMETHOD(GetInterfaceSafetyOptions)(THIS_ REFIID,DWORD*,DWORD*) PURE;
+ STDMETHOD(SetInterfaceSafetyOptions)(THIS_ REFIID,DWORD,DWORD) PURE;
+};
+
+#ifdef __cplusplus
+}
+#endif
+#endif