1 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
4 /* File created by MIDL compiler version 3.01.75 */
5 /* at Wed Jun 06 18:20:37 2001
7 /* Compiler settings for .\if_ole.idl:
8 Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
11 //@@MIDL_FILE_HEADING( )
14 #ifndef COM_NO_WINDOWS_H
17 #endif /*COM_NO_WINDOWS_H*/
26 /* Forward Declarations */
28 #ifndef __IVim_FWD_DEFINED__
29 #define __IVim_FWD_DEFINED__
30 typedef interface IVim IVim
;
31 #endif /* __IVim_FWD_DEFINED__ */
34 #ifndef __Vim_FWD_DEFINED__
35 #define __Vim_FWD_DEFINED__
38 typedef class Vim Vim
;
40 typedef struct Vim Vim
;
41 #endif /* __cplusplus */
43 #endif /* __Vim_FWD_DEFINED__ */
46 /* header files for imported files */
49 void __RPC_FAR
* __RPC_USER
MIDL_user_allocate(size_t);
50 void __RPC_USER
MIDL_user_free( void __RPC_FAR
* );
52 #ifndef __IVim_INTERFACE_DEFINED__
53 #define __IVim_INTERFACE_DEFINED__
55 /****************************************
56 * Generated header for interface: IVim
57 * at Wed Jun 06 18:20:37 2001
59 ****************************************/
60 /* [oleautomation][dual][unique][helpstring][uuid][object] */
64 EXTERN_C
const IID IID_IVim
;
66 #if defined(__cplusplus) && !defined(CINTERFACE)
68 interface
DECLSPEC_UUID("0F0BFAE2-4C90-11d1-82D7-0004AC368519")
69 IVim
: public IDispatch
72 virtual HRESULT STDMETHODCALLTYPE
SendKeys(
73 /* [in] */ BSTR keys
) = 0;
75 virtual HRESULT STDMETHODCALLTYPE
Eval(
77 /* [retval][out] */ BSTR __RPC_FAR
*result
) = 0;
79 virtual HRESULT STDMETHODCALLTYPE
SetForeground( void) = 0;
81 virtual HRESULT STDMETHODCALLTYPE
GetHwnd(
82 /* [retval][out] */ UINT_PTR __RPC_FAR
*result
) = 0;
86 #else /* C style interface */
88 typedef struct IVimVtbl
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
);
97 ULONG ( STDMETHODCALLTYPE __RPC_FAR
*AddRef
)(
98 IVim __RPC_FAR
* This
);
100 ULONG ( STDMETHODCALLTYPE __RPC_FAR
*Release
)(
101 IVim __RPC_FAR
* This
);
103 HRESULT ( STDMETHODCALLTYPE __RPC_FAR
*GetTypeInfoCount
)(
104 IVim __RPC_FAR
* This
,
105 /* [out] */ UINT __RPC_FAR
*pctinfo
);
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
);
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
);
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
);
132 HRESULT ( STDMETHODCALLTYPE __RPC_FAR
*SendKeys
)(
133 IVim __RPC_FAR
* This
,
134 /* [in] */ BSTR keys
);
136 HRESULT ( STDMETHODCALLTYPE __RPC_FAR
*Eval
)(
137 IVim __RPC_FAR
* This
,
138 /* [in] */ BSTR expr
,
139 /* [retval][out] */ BSTR __RPC_FAR
*result
);
141 HRESULT ( STDMETHODCALLTYPE __RPC_FAR
*SetForeground
)(
142 IVim __RPC_FAR
* This
);
144 HRESULT ( STDMETHODCALLTYPE __RPC_FAR
*GetHwnd
)(
145 IVim __RPC_FAR
* This
,
146 /* [retval][out] */ UINT_PTR __RPC_FAR
*result
);
153 CONST_VTBL
struct IVimVtbl __RPC_FAR
*lpVtbl
;
159 #define IVim_QueryInterface(This,riid,ppvObject) \
160 (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
162 #define IVim_AddRef(This) \
163 (This)->lpVtbl -> AddRef(This)
165 #define IVim_Release(This) \
166 (This)->lpVtbl -> Release(This)
169 #define IVim_GetTypeInfoCount(This,pctinfo) \
170 (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
172 #define IVim_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
173 (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
175 #define IVim_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
176 (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
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)
182 #define IVim_SendKeys(This,keys) \
183 (This)->lpVtbl -> SendKeys(This,keys)
185 #define IVim_Eval(This,expr,result) \
186 (This)->lpVtbl -> Eval(This,expr,result)
188 #define IVim_SetForeground(This) \
189 (This)->lpVtbl -> SetForeground(This)
191 #define IVim_GetHwnd(This,result) \
192 (This)->lpVtbl -> GetHwnd(This,result)
194 #endif /* COBJMACROS */
197 #endif /* C style interface */
201 HRESULT STDMETHODCALLTYPE
IVim_SendKeys_Proxy(
202 IVim __RPC_FAR
* This
,
203 /* [in] */ BSTR keys
);
206 void __RPC_STUB
IVim_SendKeys_Stub(
207 IRpcStubBuffer
*This
,
208 IRpcChannelBuffer
*_pRpcChannelBuffer
,
209 PRPC_MESSAGE _pRpcMessage
,
210 DWORD
*_pdwStubPhase
);
213 HRESULT STDMETHODCALLTYPE
IVim_Eval_Proxy(
214 IVim __RPC_FAR
* This
,
215 /* [in] */ BSTR expr
,
216 /* [retval][out] */ BSTR __RPC_FAR
*result
);
219 void __RPC_STUB
IVim_Eval_Stub(
220 IRpcStubBuffer
*This
,
221 IRpcChannelBuffer
*_pRpcChannelBuffer
,
222 PRPC_MESSAGE _pRpcMessage
,
223 DWORD
*_pdwStubPhase
);
226 HRESULT STDMETHODCALLTYPE
IVim_SetForeground_Proxy(
227 IVim __RPC_FAR
* This
);
230 void __RPC_STUB
IVim_SetForeground_Stub(
231 IRpcStubBuffer
*This
,
232 IRpcChannelBuffer
*_pRpcChannelBuffer
,
233 PRPC_MESSAGE _pRpcMessage
,
234 DWORD
*_pdwStubPhase
);
237 HRESULT STDMETHODCALLTYPE
IVim_GetHwnd_Proxy(
238 IVim __RPC_FAR
* This
,
239 /* [retval][out] */ UINT_PTR __RPC_FAR
*result
);
242 void __RPC_STUB
IVim_GetHwnd_Stub(
243 IRpcStubBuffer
*This
,
244 IRpcChannelBuffer
*_pRpcChannelBuffer
,
245 PRPC_MESSAGE _pRpcMessage
,
246 DWORD
*_pdwStubPhase
);
250 #endif /* __IVim_INTERFACE_DEFINED__ */
254 #ifndef __Vim_LIBRARY_DEFINED__
255 #define __Vim_LIBRARY_DEFINED__
257 /****************************************
258 * Generated header for library: Vim
259 * at Wed Jun 06 18:20:37 2001
261 ****************************************/
262 /* [version][helpstring][uuid] */
266 EXTERN_C
const IID LIBID_Vim
;
269 EXTERN_C
const CLSID CLSID_Vim
;
271 class DECLSPEC_UUID("0F0BFAE1-4C90-11d1-82D7-0004AC368519")
274 #endif /* __Vim_LIBRARY_DEFINED__ */
276 /* Additional Prototypes for ALL interfaces */
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
* );
283 /* end of Additional Prototypes */