blob: 3629fafcdb45767e0e72ad9c504805d31ee2d304 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001// if_ole.idl - IDL source for the Vim OLE Automation interface
2//
3// Processed by the IDL compiler (MIDL) to generate the type library
4// (Vim.tlb).
5//
6// Command line:
7// MIDL /proxy nul /iid iid_ole.c /h if_ole.h /tlb vim.tlb if_ole.idl
8
9[
10 object,
11 uuid(0F0BFAE2-4C90-11d1-82D7-0004AC368519), // IID_IVim
12 helpstring("IVim"),
13 pointer_default(unique),
14 dual,
15 oleautomation
16]
17interface IVim : IDispatch
18{
19 import "oaidl.idl";
20 HRESULT SendKeys([in]BSTR keys);
21 HRESULT Eval([in]BSTR expr, [out, retval]BSTR* result);
22 HRESULT SetForeground(void);
Bram Moolenaar0fde2902008-03-16 13:54:13 +000023 HRESULT GetHwnd([out, retval]UINT_PTR* result);
Bram Moolenaar071d4272004-06-13 20:20:40 +000024};
25
26// Component and type library definitions
27[
28 uuid(0F0BFAE0-4C90-11d1-82D7-0004AC368519), // LIBID_Vim
29 helpstring("Vim OLE Interface 1.1 Type Library"),
30 version(1.1)
31]
32library Vim
33{
34 importlib("stdole32.tlb");
35
36 // Component
37 [
38 uuid(0F0BFAE1-4C90-11d1-82D7-0004AC368519), // CLSID_Vim
39 helpstring("Vim OLE Interface")
40 ]
41 coclass Vim
42 {
43 [default] interface IVim;
44 };
45};