1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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);
};
};
|