summaryrefslogtreecommitdiff
path: root/src/inc/tlbimpexp.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/inc/tlbimpexp.idl')
-rw-r--r--src/inc/tlbimpexp.idl72
1 files changed, 72 insertions, 0 deletions
diff --git a/src/inc/tlbimpexp.idl b/src/inc/tlbimpexp.idl
new file mode 100644
index 0000000000..b7b117495b
--- /dev/null
+++ b/src/inc/tlbimpexp.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.
+//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+// .Net Developer Platform TypeLib importer/exporter event notification
+// interface definitions.
+//
+// NOTE: This IDL must remain synchronized with the definitions in
+// BCL/System/Runtime/InteropServices/ITypeLibConverter.cs.
+//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+[
+ uuid(20BC1825-06F0-11d2-8CF4-00A0C9B0A063),
+ version(1.0)
+]
+library TlbImpLib
+{
+ importlib("stdole32.tlb") ;
+
+ typedef [uuid(F82895D2-1338-36A8-9A89-F9B0AFBE7801)]
+ enum {
+ NOTIF_TYPECONVERTED = 0,
+ NOTIF_CONVERTWARNING = 1,
+ ERROR_REFTOINVALIDTYPELIB = 2
+ } ImporterEventKind;
+
+ [
+ odl,
+ uuid(F1C3BF76-C3E4-11D3-88E7-00902754C43A),
+ oleautomation
+ ]
+ interface ITypeLibImporterNotifySink : IUnknown {
+ HRESULT _stdcall ReportEvent(
+ [in] ImporterEventKind EventKind,
+ [in] long EventCode,
+ [in] BSTR EventMsg);
+ HRESULT _stdcall ResolveRef(
+ [in] IUnknown* Typelib,
+ [out, retval] IUnknown** pRetVal);
+ };
+
+ [
+ odl,
+ uuid(F1C3BF77-C3E4-11D3-88E7-00902754C43A),
+ oleautomation
+ ]
+ interface ITypeLibExporterNotifySink : IUnknown {
+ HRESULT _stdcall ReportEvent(
+ [in] ImporterEventKind EventKind,
+ [in] long EventCode,
+ [in] BSTR EventMsg);
+ HRESULT _stdcall ResolveRef(
+ [in] IUnknown* Asm,
+ [out, retval] IUnknown** pRetVal);
+ };
+
+ [
+ odl,
+ uuid(FA1F3615-ACB9-486d-9EAC-1BEF87E36B09),
+ oleautomation
+ ]
+ interface ITypeLibExporterNameProvider : IUnknown {
+ HRESULT _stdcall GetNames (
+ [out, retval] SAFEARRAY(BSTR) *Names);
+ };
+
+
+
+};
+
+
+