comparison src/if_ole.h @ 18753:6e3dc2d630c2 v8.1.2366

patch 8.1.2366: using old C style comments Commit: https://github.com/vim/vim/commit/9bf703d46a79fbffeb829246ea5ce385bddc4166 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 30 19:44:38 2019 +0100 patch 8.1.2366: using old C style comments Problem: Using old C style comments. Solution: Use // comments where appropriate.
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Nov 2019 19:45:03 +0100
parents c76efe33a3c1
children
comparison
equal deleted inserted replaced
18752:9ec3c9cb4533 18753:6e3dc2d630c2
1 /* this ALWAYS GENERATED file contains the definitions for the interfaces */ 1 // this ALWAYS GENERATED file contains the definitions for the interfaces
2 2
3 3
4 /* File created by MIDL compiler version 3.01.75 */ 4 // File created by MIDL compiler version 3.01.75
5 /* at Wed Jun 06 18:20:37 2001 5 // at Wed Jun 06 18:20:37 2001
6 */ 6 // Compiler settings for .\if_ole.idl:
7 /* Compiler settings for .\if_ole.idl: 7 // Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
8 Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext 8 // error checks: none
9 error checks: none
10 */
11 //@@MIDL_FILE_HEADING( ) 9 //@@MIDL_FILE_HEADING( )
12 #include "rpc.h" 10 #include "rpc.h"
13 #include "rpcndr.h" 11 #include "rpcndr.h"
14 #ifndef COM_NO_WINDOWS_H 12 #ifndef COM_NO_WINDOWS_H
15 #include "windows.h" 13 #include "windows.h"
16 #include "ole2.h" 14 #include "ole2.h"
17 #endif /*COM_NO_WINDOWS_H*/ 15 #endif //COM_NO_WINDOWS_H
18 16
19 #ifndef __if_ole_h__ 17 #ifndef __if_ole_h__
20 #define __if_ole_h__ 18 #define __if_ole_h__
21 19
22 #ifdef __cplusplus 20 #ifdef __cplusplus
23 extern "C"{ 21 extern "C"{
24 #endif 22 #endif
25 23
26 /* Forward Declarations */ 24 // Forward Declarations
27 25
28 #ifndef __IVim_FWD_DEFINED__ 26 #ifndef __IVim_FWD_DEFINED__
29 #define __IVim_FWD_DEFINED__ 27 #define __IVim_FWD_DEFINED__
30 typedef interface IVim IVim; 28 typedef interface IVim IVim;
31 #endif /* __IVim_FWD_DEFINED__ */ 29 #endif // __IVim_FWD_DEFINED__
32 30
33 31
34 #ifndef __Vim_FWD_DEFINED__ 32 #ifndef __Vim_FWD_DEFINED__
35 #define __Vim_FWD_DEFINED__ 33 #define __Vim_FWD_DEFINED__
36 34
37 #ifdef __cplusplus 35 #ifdef __cplusplus
38 typedef class Vim Vim; 36 typedef class Vim Vim;
39 #else 37 #else
40 typedef struct Vim Vim; 38 typedef struct Vim Vim;
41 #endif /* __cplusplus */ 39 #endif // __cplusplus
42 40
43 #endif /* __Vim_FWD_DEFINED__ */ 41 #endif // __Vim_FWD_DEFINED__
44 42
45 43
46 /* header files for imported files */ 44 // header files for imported files
47 #include "oaidl.h" 45 #include "oaidl.h"
48 46
49 #ifndef __MIDL_user_allocate_free_DEFINED__ 47 #ifndef __MIDL_user_allocate_free_DEFINED__
50 #define __MIDL_user_allocate_free_DEFINED__ 48 #define __MIDL_user_allocate_free_DEFINED__
51 void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t); 49 void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
53 #endif 51 #endif
54 52
55 #ifndef __IVim_INTERFACE_DEFINED__ 53 #ifndef __IVim_INTERFACE_DEFINED__
56 #define __IVim_INTERFACE_DEFINED__ 54 #define __IVim_INTERFACE_DEFINED__
57 55
58 /**************************************** 56 //***************************************
59 * Generated header for interface: IVim 57 // Generated header for interface: IVim
60 * at Wed Jun 06 18:20:37 2001 58 // at Wed Jun 06 18:20:37 2001
61 * using MIDL 3.01.75 59 // using MIDL 3.01.75
62 ****************************************/ 60 //**************************************
63 /* [oleautomation][dual][unique][helpstring][uuid][object] */ 61 // [oleautomation][dual][unique][helpstring][uuid][object]
64 62
65 63
66 64
67 EXTERN_C const IID IID_IVim; 65 EXTERN_C const IID IID_IVim;
68 66
84 virtual HRESULT STDMETHODCALLTYPE GetHwnd( 82 virtual HRESULT STDMETHODCALLTYPE GetHwnd(
85 /* [retval][out] */ UINT_PTR __RPC_FAR *result) = 0; 83 /* [retval][out] */ UINT_PTR __RPC_FAR *result) = 0;
86 84
87 }; 85 };
88 86
89 #else /* C style interface */ 87 #else // C style interface
90 88
91 typedef struct IVimVtbl 89 typedef struct IVimVtbl
92 { 90 {
93 BEGIN_INTERFACE 91 BEGIN_INTERFACE
94 92
192 (This)->lpVtbl -> SetForeground(This) 190 (This)->lpVtbl -> SetForeground(This)
193 191
194 #define IVim_GetHwnd(This,result) \ 192 #define IVim_GetHwnd(This,result) \
195 (This)->lpVtbl -> GetHwnd(This,result) 193 (This)->lpVtbl -> GetHwnd(This,result)
196 194
197 #endif /* COBJMACROS */ 195 #endif // COBJMACROS
198 196
199 197
200 #endif /* C style interface */ 198 #endif // C style interface
201 199
202 200
203 201
204 HRESULT STDMETHODCALLTYPE IVim_SendKeys_Proxy( 202 HRESULT STDMETHODCALLTYPE IVim_SendKeys_Proxy(
205 IVim __RPC_FAR * This, 203 IVim __RPC_FAR * This,
248 PRPC_MESSAGE _pRpcMessage, 246 PRPC_MESSAGE _pRpcMessage,
249 DWORD *_pdwStubPhase); 247 DWORD *_pdwStubPhase);
250 248
251 249
252 250
253 #endif /* __IVim_INTERFACE_DEFINED__ */ 251 #endif // __IVim_INTERFACE_DEFINED__
254 252
255 253
256 254
257 #ifndef __Vim_LIBRARY_DEFINED__ 255 #ifndef __Vim_LIBRARY_DEFINED__
258 #define __Vim_LIBRARY_DEFINED__ 256 #define __Vim_LIBRARY_DEFINED__
259 257
260 /**************************************** 258 //***************************************
261 * Generated header for library: Vim 259 // Generated header for library: Vim
262 * at Wed Jun 06 18:20:37 2001 260 // at Wed Jun 06 18:20:37 2001
263 * using MIDL 3.01.75 261 // using MIDL 3.01.75
264 ****************************************/ 262 //**************************************
265 /* [version][helpstring][uuid] */ 263 // [version][helpstring][uuid]
266 264
267 265
268 266
269 EXTERN_C const IID LIBID_Vim; 267 EXTERN_C const IID LIBID_Vim;
270 268
272 EXTERN_C const CLSID CLSID_Vim; 270 EXTERN_C const CLSID CLSID_Vim;
273 271
274 class DECLSPEC_UUID("0F0BFAE1-4C90-11d1-82D7-0004AC368519") 272 class DECLSPEC_UUID("0F0BFAE1-4C90-11d1-82D7-0004AC368519")
275 Vim; 273 Vim;
276 #endif 274 #endif
277 #endif /* __Vim_LIBRARY_DEFINED__ */ 275 #endif // __Vim_LIBRARY_DEFINED__
278 276
279 /* Additional Prototypes for ALL interfaces */ 277 // Additional Prototypes for ALL interfaces
280 278
281 unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * ); 279 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 * ); 280 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 * ); 281 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 * ); 282 void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
285 283
286 /* end of Additional Prototypes */ 284 // end of Additional Prototypes
287 285
288 #ifdef __cplusplus 286 #ifdef __cplusplus
289 } 287 }
290 #endif 288 #endif
291 289