annotate src/if_ole.h @ 30217:e0cb5fb44859 v9.0.0444

patch 9.0.0444: trying to declare g:variable gives confusing error Commit: https://github.com/vim/vim/commit/9510d22463055f56548ff461ccbc54caa1ba1a2f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 11 15:14:05 2022 +0100 patch 9.0.0444: trying to declare g:variable gives confusing error Problem: Trying to declare g:variable gives confusing error. Solution: Give a better error message. (closes https://github.com/vim/vim/issues/11108)
author Bram Moolenaar <Bram@vim.org>
date Sun, 11 Sep 2022 16:15:04 +0200
parents 6e3dc2d630c2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
1 // this ALWAYS GENERATED file contains the definitions for the interfaces
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
4 // File created by MIDL compiler version 3.01.75
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
5 // at Wed Jun 06 18:20:37 2001
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
6 // Compiler settings for .\if_ole.idl:
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
7 // Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
8 // error checks: none
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 //@@MIDL_FILE_HEADING( )
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 #include "rpc.h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 #include "rpcndr.h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 #ifndef COM_NO_WINDOWS_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 #include "windows.h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 #include "ole2.h"
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
15 #endif //COM_NO_WINDOWS_H
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 #ifndef __if_ole_h__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 #define __if_ole_h__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 #ifdef __cplusplus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 extern "C"{
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
24 // Forward Declarations
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 #ifndef __IVim_FWD_DEFINED__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 #define __IVim_FWD_DEFINED__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 typedef interface IVim IVim;
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
29 #endif // __IVim_FWD_DEFINED__
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 #ifndef __Vim_FWD_DEFINED__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 #define __Vim_FWD_DEFINED__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 #ifdef __cplusplus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 typedef class Vim Vim;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 typedef struct Vim Vim;
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
39 #endif // __cplusplus
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
41 #endif // __Vim_FWD_DEFINED__
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
44 // header files for imported files
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 #include "oaidl.h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46
2851
c76efe33a3c1 updated for version 7.3.199
Bram Moolenaar <bram@vim.org>
parents: 1569
diff changeset
47 #ifndef __MIDL_user_allocate_free_DEFINED__
c76efe33a3c1 updated for version 7.3.199
Bram Moolenaar <bram@vim.org>
parents: 1569
diff changeset
48 #define __MIDL_user_allocate_free_DEFINED__
c76efe33a3c1 updated for version 7.3.199
Bram Moolenaar <bram@vim.org>
parents: 1569
diff changeset
49 void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
c76efe33a3c1 updated for version 7.3.199
Bram Moolenaar <bram@vim.org>
parents: 1569
diff changeset
50 void __RPC_USER MIDL_user_free( void __RPC_FAR * );
c76efe33a3c1 updated for version 7.3.199
Bram Moolenaar <bram@vim.org>
parents: 1569
diff changeset
51 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 #ifndef __IVim_INTERFACE_DEFINED__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 #define __IVim_INTERFACE_DEFINED__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
56 //***************************************
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
57 // Generated header for interface: IVim
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
58 // at Wed Jun 06 18:20:37 2001
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
59 // using MIDL 3.01.75
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
60 //**************************************
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
61 // [oleautomation][dual][unique][helpstring][uuid][object]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 EXTERN_C const IID IID_IVim;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 #if defined(__cplusplus) && !defined(CINTERFACE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 interface DECLSPEC_UUID("0F0BFAE2-4C90-11d1-82D7-0004AC368519")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 IVim : public IDispatch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 public:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 virtual HRESULT STDMETHODCALLTYPE SendKeys(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 /* [in] */ BSTR keys) = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 virtual HRESULT STDMETHODCALLTYPE Eval(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 /* [in] */ BSTR expr,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 /* [retval][out] */ BSTR __RPC_FAR *result) = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 virtual HRESULT STDMETHODCALLTYPE SetForeground( void) = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 virtual HRESULT STDMETHODCALLTYPE GetHwnd(
1569
9fbb40a1228a updated for version 7.1-282
vimboss
parents: 7
diff changeset
83 /* [retval][out] */ UINT_PTR __RPC_FAR *result) = 0;
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
87 #else // C style interface
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 typedef struct IVimVtbl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 BEGIN_INTERFACE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 IVim __RPC_FAR * This,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 /* [in] */ REFIID riid,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 IVim __RPC_FAR * This);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 IVim __RPC_FAR * This);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 IVim __RPC_FAR * This,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 /* [out] */ UINT __RPC_FAR *pctinfo);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 IVim __RPC_FAR * This,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 /* [in] */ UINT iTInfo,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 /* [in] */ LCID lcid,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 IVim __RPC_FAR * This,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 /* [in] */ REFIID riid,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 /* [in] */ UINT cNames,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 /* [in] */ LCID lcid,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 IVim __RPC_FAR * This,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 /* [in] */ DISPID dispIdMember,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 /* [in] */ REFIID riid,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 /* [in] */ LCID lcid,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 /* [in] */ WORD wFlags,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 /* [out] */ VARIANT __RPC_FAR *pVarResult,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 /* [out] */ UINT __RPC_FAR *puArgErr);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendKeys )(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 IVim __RPC_FAR * This,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 /* [in] */ BSTR keys);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Eval )(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 IVim __RPC_FAR * This,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 /* [in] */ BSTR expr,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 /* [retval][out] */ BSTR __RPC_FAR *result);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetForeground )(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 IVim __RPC_FAR * This);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHwnd )(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 IVim __RPC_FAR * This,
1569
9fbb40a1228a updated for version 7.1-282
vimboss
parents: 7
diff changeset
147 /* [retval][out] */ UINT_PTR __RPC_FAR *result);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 END_INTERFACE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 } IVimVtbl;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 interface IVim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 CONST_VTBL struct IVimVtbl __RPC_FAR *lpVtbl;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 #ifdef COBJMACROS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 #define IVim_QueryInterface(This,riid,ppvObject) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 #define IVim_AddRef(This) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 (This)->lpVtbl -> AddRef(This)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 #define IVim_Release(This) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 (This)->lpVtbl -> Release(This)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 #define IVim_GetTypeInfoCount(This,pctinfo) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 #define IVim_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 #define IVim_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 #define IVim_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 #define IVim_SendKeys(This,keys) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 (This)->lpVtbl -> SendKeys(This,keys)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 #define IVim_Eval(This,expr,result) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 (This)->lpVtbl -> Eval(This,expr,result)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 #define IVim_SetForeground(This) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 (This)->lpVtbl -> SetForeground(This)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 #define IVim_GetHwnd(This,result) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 (This)->lpVtbl -> GetHwnd(This,result)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
195 #endif // COBJMACROS
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
198 #endif // C style interface
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 HRESULT STDMETHODCALLTYPE IVim_SendKeys_Proxy(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 IVim __RPC_FAR * This,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 /* [in] */ BSTR keys);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 void __RPC_STUB IVim_SendKeys_Stub(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 IRpcStubBuffer *This,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 IRpcChannelBuffer *_pRpcChannelBuffer,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 PRPC_MESSAGE _pRpcMessage,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 DWORD *_pdwStubPhase);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 HRESULT STDMETHODCALLTYPE IVim_Eval_Proxy(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 IVim __RPC_FAR * This,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 /* [in] */ BSTR expr,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 /* [retval][out] */ BSTR __RPC_FAR *result);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 void __RPC_STUB IVim_Eval_Stub(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 IRpcStubBuffer *This,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 IRpcChannelBuffer *_pRpcChannelBuffer,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 PRPC_MESSAGE _pRpcMessage,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 DWORD *_pdwStubPhase);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 HRESULT STDMETHODCALLTYPE IVim_SetForeground_Proxy(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 IVim __RPC_FAR * This);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 void __RPC_STUB IVim_SetForeground_Stub(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 IRpcStubBuffer *This,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 IRpcChannelBuffer *_pRpcChannelBuffer,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 PRPC_MESSAGE _pRpcMessage,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 DWORD *_pdwStubPhase);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 HRESULT STDMETHODCALLTYPE IVim_GetHwnd_Proxy(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 IVim __RPC_FAR * This,
1569
9fbb40a1228a updated for version 7.1-282
vimboss
parents: 7
diff changeset
240 /* [retval][out] */ UINT_PTR __RPC_FAR *result);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 void __RPC_STUB IVim_GetHwnd_Stub(
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 IRpcStubBuffer *This,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 IRpcChannelBuffer *_pRpcChannelBuffer,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 PRPC_MESSAGE _pRpcMessage,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 DWORD *_pdwStubPhase);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
251 #endif // __IVim_INTERFACE_DEFINED__
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 #ifndef __Vim_LIBRARY_DEFINED__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 #define __Vim_LIBRARY_DEFINED__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
258 //***************************************
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
259 // Generated header for library: Vim
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
260 // at Wed Jun 06 18:20:37 2001
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
261 // using MIDL 3.01.75
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
262 //**************************************
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
263 // [version][helpstring][uuid]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 EXTERN_C const IID LIBID_Vim;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 #ifdef __cplusplus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 EXTERN_C const CLSID CLSID_Vim;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 class DECLSPEC_UUID("0F0BFAE1-4C90-11d1-82D7-0004AC368519")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 Vim;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 #endif
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
275 #endif // __Vim_LIBRARY_DEFINED__
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
277 // Additional Prototypes for ALL interfaces
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 2851
diff changeset
284 // end of Additional Prototypes
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 #ifdef __cplusplus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 #endif