Mercurial > vim
annotate src/if_ole.h @ 31972:4e59c4260d84 v9.0.1318
patch 9.0.1318: code style test fails
Commit: https://github.com/vim/vim/commit/f2017f255ddceaad88a951adc6a2c190d3a18ebf
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 17 21:29:57 2023 +0000
patch 9.0.1318: code style test fails
Problem: Code style test fails.
Solution: Remove trailing white space.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 17 Feb 2023 22:45:03 +0100 |
parents | 6e3dc2d630c2 |
children |
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 | 2 |
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 | 9 //@@MIDL_FILE_HEADING( ) |
10 #include "rpc.h" | |
11 #include "rpcndr.h" | |
12 #ifndef COM_NO_WINDOWS_H | |
13 #include "windows.h" | |
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 | 16 |
17 #ifndef __if_ole_h__ | |
18 #define __if_ole_h__ | |
19 | |
20 #ifdef __cplusplus | |
21 extern "C"{ | |
22 #endif | |
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 | 25 |
26 #ifndef __IVim_FWD_DEFINED__ | |
27 #define __IVim_FWD_DEFINED__ | |
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 | 30 |
31 | |
32 #ifndef __Vim_FWD_DEFINED__ | |
33 #define __Vim_FWD_DEFINED__ | |
34 | |
35 #ifdef __cplusplus | |
36 typedef class Vim Vim; | |
37 #else | |
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 | 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 | 42 |
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 | 45 #include "oaidl.h" |
46 | |
2851 | 47 #ifndef __MIDL_user_allocate_free_DEFINED__ |
48 #define __MIDL_user_allocate_free_DEFINED__ | |
49 void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t); | |
50 void __RPC_USER MIDL_user_free( void __RPC_FAR * ); | |
51 #endif | |
7 | 52 |
53 #ifndef __IVim_INTERFACE_DEFINED__ | |
54 #define __IVim_INTERFACE_DEFINED__ | |
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 | 62 |
63 | |
64 | |
65 EXTERN_C const IID IID_IVim; | |
66 | |
67 #if defined(__cplusplus) && !defined(CINTERFACE) | |
68 | |
69 interface DECLSPEC_UUID("0F0BFAE2-4C90-11d1-82D7-0004AC368519") | |
70 IVim : public IDispatch | |
71 { | |
72 public: | |
73 virtual HRESULT STDMETHODCALLTYPE SendKeys( | |
74 /* [in] */ BSTR keys) = 0; | |
75 | |
76 virtual HRESULT STDMETHODCALLTYPE Eval( | |
77 /* [in] */ BSTR expr, | |
78 /* [retval][out] */ BSTR __RPC_FAR *result) = 0; | |
79 | |
80 virtual HRESULT STDMETHODCALLTYPE SetForeground( void) = 0; | |
81 | |
82 virtual HRESULT STDMETHODCALLTYPE GetHwnd( | |
1569 | 83 /* [retval][out] */ UINT_PTR __RPC_FAR *result) = 0; |
7 | 84 |
85 }; | |
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 | 88 |
89 typedef struct IVimVtbl | |
90 { | |
91 BEGIN_INTERFACE | |
92 | |
93 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( | |
94 IVim __RPC_FAR * This, | |
95 /* [in] */ REFIID riid, | |
96 /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject); | |
97 | |
98 ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( | |
99 IVim __RPC_FAR * This); | |
100 | |
101 ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( | |
102 IVim __RPC_FAR * This); | |
103 | |
104 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( | |
105 IVim __RPC_FAR * This, | |
106 /* [out] */ UINT __RPC_FAR *pctinfo); | |
107 | |
108 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( | |
109 IVim __RPC_FAR * This, | |
110 /* [in] */ UINT iTInfo, | |
111 /* [in] */ LCID lcid, | |
112 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo); | |
113 | |
114 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( | |
115 IVim __RPC_FAR * This, | |
116 /* [in] */ REFIID riid, | |
117 /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames, | |
118 /* [in] */ UINT cNames, | |
119 /* [in] */ LCID lcid, | |
120 /* [size_is][out] */ DISPID __RPC_FAR *rgDispId); | |
121 | |
122 /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( | |
123 IVim __RPC_FAR * This, | |
124 /* [in] */ DISPID dispIdMember, | |
125 /* [in] */ REFIID riid, | |
126 /* [in] */ LCID lcid, | |
127 /* [in] */ WORD wFlags, | |
128 /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams, | |
129 /* [out] */ VARIANT __RPC_FAR *pVarResult, | |
130 /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo, | |
131 /* [out] */ UINT __RPC_FAR *puArgErr); | |
132 | |
133 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendKeys )( | |
134 IVim __RPC_FAR * This, | |
135 /* [in] */ BSTR keys); | |
136 | |
137 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Eval )( | |
138 IVim __RPC_FAR * This, | |
139 /* [in] */ BSTR expr, | |
140 /* [retval][out] */ BSTR __RPC_FAR *result); | |
141 | |
142 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetForeground )( | |
143 IVim __RPC_FAR * This); | |
144 | |
145 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHwnd )( | |
146 IVim __RPC_FAR * This, | |
1569 | 147 /* [retval][out] */ UINT_PTR __RPC_FAR *result); |
7 | 148 |
149 END_INTERFACE | |
150 } IVimVtbl; | |
151 | |
152 interface IVim | |
153 { | |
154 CONST_VTBL struct IVimVtbl __RPC_FAR *lpVtbl; | |
155 }; | |
156 | |
157 #ifdef COBJMACROS | |
158 | |
159 | |
160 #define IVim_QueryInterface(This,riid,ppvObject) \ | |
161 (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) | |
162 | |
163 #define IVim_AddRef(This) \ | |
164 (This)->lpVtbl -> AddRef(This) | |
165 | |
166 #define IVim_Release(This) \ | |
167 (This)->lpVtbl -> Release(This) | |
168 | |
169 | |
170 #define IVim_GetTypeInfoCount(This,pctinfo) \ | |
171 (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) | |
172 | |
173 #define IVim_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ | |
174 (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) | |
175 | |
176 #define IVim_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ | |
177 (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) | |
178 | |
179 #define IVim_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ | |
180 (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) | |
181 | |
182 | |
183 #define IVim_SendKeys(This,keys) \ | |
184 (This)->lpVtbl -> SendKeys(This,keys) | |
185 | |
186 #define IVim_Eval(This,expr,result) \ | |
187 (This)->lpVtbl -> Eval(This,expr,result) | |
188 | |
189 #define IVim_SetForeground(This) \ | |
190 (This)->lpVtbl -> SetForeground(This) | |
191 | |
192 #define IVim_GetHwnd(This,result) \ | |
193 (This)->lpVtbl -> GetHwnd(This,result) | |
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 | 196 |
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 | 199 |
200 | |
201 | |
202 HRESULT STDMETHODCALLTYPE IVim_SendKeys_Proxy( | |
203 IVim __RPC_FAR * This, | |
204 /* [in] */ BSTR keys); | |
205 | |
206 | |
207 void __RPC_STUB IVim_SendKeys_Stub( | |
208 IRpcStubBuffer *This, | |
209 IRpcChannelBuffer *_pRpcChannelBuffer, | |
210 PRPC_MESSAGE _pRpcMessage, | |
211 DWORD *_pdwStubPhase); | |
212 | |
213 | |
214 HRESULT STDMETHODCALLTYPE IVim_Eval_Proxy( | |
215 IVim __RPC_FAR * This, | |
216 /* [in] */ BSTR expr, | |
217 /* [retval][out] */ BSTR __RPC_FAR *result); | |
218 | |
219 | |
220 void __RPC_STUB IVim_Eval_Stub( | |
221 IRpcStubBuffer *This, | |
222 IRpcChannelBuffer *_pRpcChannelBuffer, | |
223 PRPC_MESSAGE _pRpcMessage, | |
224 DWORD *_pdwStubPhase); | |
225 | |
226 | |
227 HRESULT STDMETHODCALLTYPE IVim_SetForeground_Proxy( | |
228 IVim __RPC_FAR * This); | |
229 | |
230 | |
231 void __RPC_STUB IVim_SetForeground_Stub( | |
232 IRpcStubBuffer *This, | |
233 IRpcChannelBuffer *_pRpcChannelBuffer, | |
234 PRPC_MESSAGE _pRpcMessage, | |
235 DWORD *_pdwStubPhase); | |
236 | |
237 | |
238 HRESULT STDMETHODCALLTYPE IVim_GetHwnd_Proxy( | |
239 IVim __RPC_FAR * This, | |
1569 | 240 /* [retval][out] */ UINT_PTR __RPC_FAR *result); |
7 | 241 |
242 | |
243 void __RPC_STUB IVim_GetHwnd_Stub( | |
244 IRpcStubBuffer *This, | |
245 IRpcChannelBuffer *_pRpcChannelBuffer, | |
246 PRPC_MESSAGE _pRpcMessage, | |
247 DWORD *_pdwStubPhase); | |
248 | |
249 | |
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 | 252 |
253 | |
254 | |
255 #ifndef __Vim_LIBRARY_DEFINED__ | |
256 #define __Vim_LIBRARY_DEFINED__ | |
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 | 264 |
265 | |
266 | |
267 EXTERN_C const IID LIBID_Vim; | |
268 | |
269 #ifdef __cplusplus | |
270 EXTERN_C const CLSID CLSID_Vim; | |
271 | |
272 class DECLSPEC_UUID("0F0BFAE1-4C90-11d1-82D7-0004AC368519") | |
273 Vim; | |
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 | 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 | 278 |
279 unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * ); | |
280 unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); | |
281 unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); | |
282 void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); | |
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 | 285 |
286 #ifdef __cplusplus | |
287 } | |
288 #endif | |
289 | |
290 #endif |