-
Notifications
You must be signed in to change notification settings - Fork 54
/
UDVCPlugin.idl
42 lines (37 loc) · 1013 Bytes
/
UDVCPlugin.idl
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
// UDVCPlugin.idl : IDL source for UDVC-Plugin
//
// This file will be processed by the MIDL tool to
// produce the type library (UDVCPlugin.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(a817e7a2-43fa-11d0-9e44-00aa00b6770a),
dual,
pointer_default(unique)
]
interface IComponentRegistrar : IDispatch
{
[id(1)] HRESULT Attach([in] BSTR bstrPath);
[id(2)] HRESULT RegisterAll();
[id(3)] HRESULT UnregisterAll();
[id(4)] HRESULT GetComponents([out] SAFEARRAY(BSTR)* pbstrCLSIDs, [out] SAFEARRAY(BSTR)* pbstrDescriptions);
[id(5)] HRESULT RegisterComponent([in] BSTR bstrCLSID);
[id(6)] HRESULT UnregisterComponent([in] BSTR bstrCLSID);
};
[
uuid(392B9DEE-7E00-4C58-831B-50C58EAA887F),
version(1.0),
custom(a817e7a1-43fa-11d0-9e44-00aa00b6770a,"{3C8458A3-2EBE-4840-BB07-3BA5BF810588}")
]
library UDVCPluginLib
{
importlib("stdole2.tlb");
[
uuid(3C8458A3-2EBE-4840-BB07-3BA5BF810588)
]
coclass CompReg
{
[default] interface IComponentRegistrar;
};
};