Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 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 | |
Bram Moolenaar | 72952de | 2011-05-25 12:09:50 +0200 | [diff] [blame] | 49 | #ifndef __MIDL_user_allocate_free_DEFINED__ |
| 50 | #define __MIDL_user_allocate_free_DEFINED__ |
| 51 | void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t); |
| 52 | void __RPC_USER MIDL_user_free( void __RPC_FAR * ); |
| 53 | #endif |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 54 | |
| 55 | #ifndef __IVim_INTERFACE_DEFINED__ |
| 56 | #define __IVim_INTERFACE_DEFINED__ |
| 57 | |
| 58 | /**************************************** |
| 59 | * Generated header for interface: IVim |
| 60 | * at Wed Jun 06 18:20:37 2001 |
| 61 | * using MIDL 3.01.75 |
| 62 | ****************************************/ |
| 63 | /* [oleautomation][dual][unique][helpstring][uuid][object] */ |
| 64 | |
| 65 | |
| 66 | |
| 67 | EXTERN_C const IID IID_IVim; |
| 68 | |
| 69 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 70 | |
| 71 | interface DECLSPEC_UUID("0F0BFAE2-4C90-11d1-82D7-0004AC368519") |
| 72 | IVim : public IDispatch |
| 73 | { |
| 74 | public: |
| 75 | virtual HRESULT STDMETHODCALLTYPE SendKeys( |
| 76 | /* [in] */ BSTR keys) = 0; |
| 77 | |
| 78 | virtual HRESULT STDMETHODCALLTYPE Eval( |
| 79 | /* [in] */ BSTR expr, |
| 80 | /* [retval][out] */ BSTR __RPC_FAR *result) = 0; |
| 81 | |
| 82 | virtual HRESULT STDMETHODCALLTYPE SetForeground( void) = 0; |
| 83 | |
| 84 | virtual HRESULT STDMETHODCALLTYPE GetHwnd( |
Bram Moolenaar | 0fde290 | 2008-03-16 13:54:13 +0000 | [diff] [blame] | 85 | /* [retval][out] */ UINT_PTR __RPC_FAR *result) = 0; |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 86 | |
| 87 | }; |
| 88 | |
| 89 | #else /* C style interface */ |
| 90 | |
| 91 | typedef struct IVimVtbl |
| 92 | { |
| 93 | BEGIN_INTERFACE |
| 94 | |
| 95 | HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( |
| 96 | IVim __RPC_FAR * This, |
| 97 | /* [in] */ REFIID riid, |
| 98 | /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject); |
| 99 | |
| 100 | ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( |
| 101 | IVim __RPC_FAR * This); |
| 102 | |
| 103 | ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( |
| 104 | IVim __RPC_FAR * This); |
| 105 | |
| 106 | HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( |
| 107 | IVim __RPC_FAR * This, |
| 108 | /* [out] */ UINT __RPC_FAR *pctinfo); |
| 109 | |
| 110 | HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( |
| 111 | IVim __RPC_FAR * This, |
| 112 | /* [in] */ UINT iTInfo, |
| 113 | /* [in] */ LCID lcid, |
| 114 | /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo); |
| 115 | |
| 116 | HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( |
| 117 | IVim __RPC_FAR * This, |
| 118 | /* [in] */ REFIID riid, |
| 119 | /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames, |
| 120 | /* [in] */ UINT cNames, |
| 121 | /* [in] */ LCID lcid, |
| 122 | /* [size_is][out] */ DISPID __RPC_FAR *rgDispId); |
| 123 | |
| 124 | /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( |
| 125 | IVim __RPC_FAR * This, |
| 126 | /* [in] */ DISPID dispIdMember, |
| 127 | /* [in] */ REFIID riid, |
| 128 | /* [in] */ LCID lcid, |
| 129 | /* [in] */ WORD wFlags, |
| 130 | /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams, |
| 131 | /* [out] */ VARIANT __RPC_FAR *pVarResult, |
| 132 | /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo, |
| 133 | /* [out] */ UINT __RPC_FAR *puArgErr); |
| 134 | |
| 135 | HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendKeys )( |
| 136 | IVim __RPC_FAR * This, |
| 137 | /* [in] */ BSTR keys); |
| 138 | |
| 139 | HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Eval )( |
| 140 | IVim __RPC_FAR * This, |
| 141 | /* [in] */ BSTR expr, |
| 142 | /* [retval][out] */ BSTR __RPC_FAR *result); |
| 143 | |
| 144 | HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetForeground )( |
| 145 | IVim __RPC_FAR * This); |
| 146 | |
| 147 | HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHwnd )( |
| 148 | IVim __RPC_FAR * This, |
Bram Moolenaar | 0fde290 | 2008-03-16 13:54:13 +0000 | [diff] [blame] | 149 | /* [retval][out] */ UINT_PTR __RPC_FAR *result); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 150 | |
| 151 | END_INTERFACE |
| 152 | } IVimVtbl; |
| 153 | |
| 154 | interface IVim |
| 155 | { |
| 156 | CONST_VTBL struct IVimVtbl __RPC_FAR *lpVtbl; |
| 157 | }; |
| 158 | |
| 159 | #ifdef COBJMACROS |
| 160 | |
| 161 | |
| 162 | #define IVim_QueryInterface(This,riid,ppvObject) \ |
| 163 | (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) |
| 164 | |
| 165 | #define IVim_AddRef(This) \ |
| 166 | (This)->lpVtbl -> AddRef(This) |
| 167 | |
| 168 | #define IVim_Release(This) \ |
| 169 | (This)->lpVtbl -> Release(This) |
| 170 | |
| 171 | |
| 172 | #define IVim_GetTypeInfoCount(This,pctinfo) \ |
| 173 | (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) |
| 174 | |
| 175 | #define IVim_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ |
| 176 | (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) |
| 177 | |
| 178 | #define IVim_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ |
| 179 | (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) |
| 180 | |
| 181 | #define IVim_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ |
| 182 | (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) |
| 183 | |
| 184 | |
| 185 | #define IVim_SendKeys(This,keys) \ |
| 186 | (This)->lpVtbl -> SendKeys(This,keys) |
| 187 | |
| 188 | #define IVim_Eval(This,expr,result) \ |
| 189 | (This)->lpVtbl -> Eval(This,expr,result) |
| 190 | |
| 191 | #define IVim_SetForeground(This) \ |
| 192 | (This)->lpVtbl -> SetForeground(This) |
| 193 | |
| 194 | #define IVim_GetHwnd(This,result) \ |
| 195 | (This)->lpVtbl -> GetHwnd(This,result) |
| 196 | |
| 197 | #endif /* COBJMACROS */ |
| 198 | |
| 199 | |
| 200 | #endif /* C style interface */ |
| 201 | |
| 202 | |
| 203 | |
| 204 | HRESULT STDMETHODCALLTYPE IVim_SendKeys_Proxy( |
| 205 | IVim __RPC_FAR * This, |
| 206 | /* [in] */ BSTR keys); |
| 207 | |
| 208 | |
| 209 | void __RPC_STUB IVim_SendKeys_Stub( |
| 210 | IRpcStubBuffer *This, |
| 211 | IRpcChannelBuffer *_pRpcChannelBuffer, |
| 212 | PRPC_MESSAGE _pRpcMessage, |
| 213 | DWORD *_pdwStubPhase); |
| 214 | |
| 215 | |
| 216 | HRESULT STDMETHODCALLTYPE IVim_Eval_Proxy( |
| 217 | IVim __RPC_FAR * This, |
| 218 | /* [in] */ BSTR expr, |
| 219 | /* [retval][out] */ BSTR __RPC_FAR *result); |
| 220 | |
| 221 | |
| 222 | void __RPC_STUB IVim_Eval_Stub( |
| 223 | IRpcStubBuffer *This, |
| 224 | IRpcChannelBuffer *_pRpcChannelBuffer, |
| 225 | PRPC_MESSAGE _pRpcMessage, |
| 226 | DWORD *_pdwStubPhase); |
| 227 | |
| 228 | |
| 229 | HRESULT STDMETHODCALLTYPE IVim_SetForeground_Proxy( |
| 230 | IVim __RPC_FAR * This); |
| 231 | |
| 232 | |
| 233 | void __RPC_STUB IVim_SetForeground_Stub( |
| 234 | IRpcStubBuffer *This, |
| 235 | IRpcChannelBuffer *_pRpcChannelBuffer, |
| 236 | PRPC_MESSAGE _pRpcMessage, |
| 237 | DWORD *_pdwStubPhase); |
| 238 | |
| 239 | |
| 240 | HRESULT STDMETHODCALLTYPE IVim_GetHwnd_Proxy( |
| 241 | IVim __RPC_FAR * This, |
Bram Moolenaar | 0fde290 | 2008-03-16 13:54:13 +0000 | [diff] [blame] | 242 | /* [retval][out] */ UINT_PTR __RPC_FAR *result); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 243 | |
| 244 | |
| 245 | void __RPC_STUB IVim_GetHwnd_Stub( |
| 246 | IRpcStubBuffer *This, |
| 247 | IRpcChannelBuffer *_pRpcChannelBuffer, |
| 248 | PRPC_MESSAGE _pRpcMessage, |
| 249 | DWORD *_pdwStubPhase); |
| 250 | |
| 251 | |
| 252 | |
| 253 | #endif /* __IVim_INTERFACE_DEFINED__ */ |
| 254 | |
| 255 | |
| 256 | |
| 257 | #ifndef __Vim_LIBRARY_DEFINED__ |
| 258 | #define __Vim_LIBRARY_DEFINED__ |
| 259 | |
| 260 | /**************************************** |
| 261 | * Generated header for library: Vim |
| 262 | * at Wed Jun 06 18:20:37 2001 |
| 263 | * using MIDL 3.01.75 |
| 264 | ****************************************/ |
| 265 | /* [version][helpstring][uuid] */ |
| 266 | |
| 267 | |
| 268 | |
| 269 | EXTERN_C const IID LIBID_Vim; |
| 270 | |
| 271 | #ifdef __cplusplus |
| 272 | EXTERN_C const CLSID CLSID_Vim; |
| 273 | |
| 274 | class DECLSPEC_UUID("0F0BFAE1-4C90-11d1-82D7-0004AC368519") |
| 275 | Vim; |
| 276 | #endif |
| 277 | #endif /* __Vim_LIBRARY_DEFINED__ */ |
| 278 | |
| 279 | /* Additional Prototypes for ALL interfaces */ |
| 280 | |
| 281 | unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * ); |
| 282 | unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); |
| 283 | unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); |
| 284 | void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); |
| 285 | |
| 286 | /* end of Additional Prototypes */ |
| 287 | |
| 288 | #ifdef __cplusplus |
| 289 | } |
| 290 | #endif |
| 291 | |
| 292 | #endif |