Merged from the latest developing branch.
[MacVim.git] / src / if_ole.idl
blob3629fafcdb45767e0e72ad9c504805d31ee2d304
1 // 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
10 object,
11 uuid(0F0BFAE2-4C90-11d1-82D7-0004AC368519), // IID_IVim
12 helpstring("IVim"),
13 pointer_default(unique),
14 dual,
15 oleautomation
17 interface IVim : IDispatch
19 import "oaidl.idl";
20 HRESULT SendKeys([in]BSTR keys);
21 HRESULT Eval([in]BSTR expr, [out, retval]BSTR* result);
22 HRESULT SetForeground(void);
23 HRESULT GetHwnd([out, retval]UINT_PTR* result);
26 // Component and type library definitions
28 uuid(0F0BFAE0-4C90-11d1-82D7-0004AC368519), // LIBID_Vim
29 helpstring("Vim OLE Interface 1.1 Type Library"),
30 version(1.1)
32 library Vim
34 importlib("stdole32.tlb");
36 // Component
38 uuid(0F0BFAE1-4C90-11d1-82D7-0004AC368519), // CLSID_Vim
39 helpstring("Vim OLE Interface")
41 coclass Vim
43 [default] interface IVim;