annotate src/if_ole.idl @ 167:c93c9cad9618

updated for version 7.0051
author vimboss
date Tue, 22 Feb 2005 08:39:57 +0000
parents 3fc0f57ecb91
children 9fbb40a1228a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 // if_ole.idl - IDL source for the Vim OLE Automation interface
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 // Processed by the IDL compiler (MIDL) to generate the type library
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 // (Vim.tlb).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 // Command line:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 // MIDL /proxy nul /iid iid_ole.c /h if_ole.h /tlb vim.tlb if_ole.idl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 object,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 uuid(0F0BFAE2-4C90-11d1-82D7-0004AC368519), // IID_IVim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 helpstring("IVim"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 pointer_default(unique),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 dual,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 oleautomation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 interface IVim : IDispatch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 import "oaidl.idl";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 HRESULT SendKeys([in]BSTR keys);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 HRESULT Eval([in]BSTR expr, [out, retval]BSTR* result);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 HRESULT SetForeground(void);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 HRESULT GetHwnd([out, retval]UINT* result);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 // Component and type library definitions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 uuid(0F0BFAE0-4C90-11d1-82D7-0004AC368519), // LIBID_Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 helpstring("Vim OLE Interface 1.1 Type Library"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 version(1.1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 library Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 importlib("stdole32.tlb");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 // Component
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 uuid(0F0BFAE1-4C90-11d1-82D7-0004AC368519), // CLSID_Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 helpstring("Vim OLE Interface")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 coclass Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 [default] interface IVim;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 };