summaryrefslogtreecommitdiff
path: root/src/inc/ivehandler.idl
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2016-11-23 10:09:09 (GMT)
committerJiyoung Yun <jy910.yun@samsung.com>2016-11-23 10:09:09 (GMT)
commit4b4aad7217d3292650e77eec2cf4c198ea9c3b4b (patch)
tree98110734c91668dfdbb126fcc0e15ddbd93738ca /src/inc/ivehandler.idl
parentfa45f57ed55137c75ac870356a1b8f76c84b229c (diff)
downloadcoreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.zip
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.gz
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.bz2
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'src/inc/ivehandler.idl')
-rw-r--r--src/inc/ivehandler.idl72
1 files changed, 72 insertions, 0 deletions
diff --git a/src/inc/ivehandler.idl b/src/inc/ivehandler.idl
new file mode 100644
index 0000000..0c0ad2b
--- /dev/null
+++ b/src/inc/ivehandler.idl
@@ -0,0 +1,72 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+/* ------------------------------------------------------------------------- *
+ * Common Language Runtime Verification Event Handler Interface
+ * ------------------------------------------------------------------------- */
+
+/* ------------------------------------------------------------------------- *
+ * Imported types
+ * ------------------------------------------------------------------------- */
+
+#ifndef DO_NO_IMPORTS
+
+import "unknwn.idl";
+
+#define _VER_RAW_STRUCT_FOR_IDL_
+#include "VerError.h"
+#undef _VER_RAW_STRUCT_FOR_IDL_
+
+#endif
+
+typedef _VerError VEContext;
+
+/* ------------------------------------------------------------------------- *
+ * Forward declarations
+ * ------------------------------------------------------------------------- */
+
+interface IVEHandler;
+
+
+/* ------------------------------------------------------------------------- *
+ * Library defintion
+ * ------------------------------------------------------------------------- */
+
+[
+ uuid(856CA1B0-7DAB-11d3-ACEC-00C04F86C309),
+ version(1.0),
+ helpstring("Common Language Runtime Verification Event Handler 1.0 Type Library")
+]
+library VEHandlerLib
+{
+ importlib("STDOLE2.TLB");
+
+ [
+ uuid(856CA1B1-7DAB-11d3-ACEC-00C04F86C309)
+ ]
+ coclass VEHandlerClass
+ {
+ [default] interface IVEHandler;
+ };
+
+};
+
+/* ------------------------------------------------------------------------- *
+ * IVEHandler interface
+ * ------------------------------------------------------------------------- */
+[
+ object,
+ uuid(856CA1B2-7DAB-11d3-ACEC-00C04F86C309),
+ pointer_default(unique)
+]
+interface IVEHandler : IUnknown
+{
+ HRESULT VEHandler(
+ [in] HRESULT VECode,
+ [in] VEContext Context,
+ [in] SAFEARRAY(VARIANT) psa);
+ HRESULT SetReporterFtn(
+ [in] __int64 lFnPtr);
+
+};
+