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