added some development tools
[windows-sources.git] / developer / VSSDK / VisualStudioIntegration / Common / Inc / textfind2.h
blob9eb38f2216ce2f120fd6736c7733c5a220dec4bd
3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
6 /* File created by MIDL compiler version 7.00.0499 */
7 /* Compiler settings for textfind2.idl:
8 Oicf, W0, Zp8, env=Win32 (32b run)
9 protocol : dce , ms_ext, c_ext, robust
10 error checks: allocation ref bounds_check enum stub_data
11 VC __declspec() decoration level:
12 __declspec(uuid()), __declspec(selectany), __declspec(novtable)
13 DECLSPEC_UUID(), MIDL_INTERFACE()
15 //@@MIDL_FILE_HEADING( )
17 #pragma warning( disable: 4049 ) /* more than 64k source lines */
20 /* verify that the <rpcndr.h> version is high enough to compile this file*/
21 #ifndef __REQUIRED_RPCNDR_H_VERSION__
22 #define __REQUIRED_RPCNDR_H_VERSION__ 475
23 #endif
25 /* verify that the <rpcsal.h> version is high enough to compile this file*/
26 #ifndef __REQUIRED_RPCSAL_H_VERSION__
27 #define __REQUIRED_RPCSAL_H_VERSION__ 100
28 #endif
30 #include "rpc.h"
31 #include "rpcndr.h"
33 #ifndef __RPCNDR_H_VERSION__
34 #error this stub requires an updated version of <rpcndr.h>
35 #endif // __RPCNDR_H_VERSION__
37 #ifndef COM_NO_WINDOWS_H
38 #include "windows.h"
39 #include "ole2.h"
40 #endif /*COM_NO_WINDOWS_H*/
42 #ifndef __textfind2_h__
43 #define __textfind2_h__
45 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
46 #pragma once
47 #endif
49 /* Forward Declarations */
51 #ifndef __IVsFindTarget2_FWD_DEFINED__
52 #define __IVsFindTarget2_FWD_DEFINED__
53 typedef interface IVsFindTarget2 IVsFindTarget2;
54 #endif /* __IVsFindTarget2_FWD_DEFINED__ */
57 #ifndef __IVsFindCancelDialog_FWD_DEFINED__
58 #define __IVsFindCancelDialog_FWD_DEFINED__
59 typedef interface IVsFindCancelDialog IVsFindCancelDialog;
60 #endif /* __IVsFindCancelDialog_FWD_DEFINED__ */
63 /* header files for imported files */
64 #include "oaidl.h"
65 #include "textfind.h"
67 #ifdef __cplusplus
68 extern "C"{
69 #endif
72 /* interface __MIDL_itf_textfind2_0000_0000 */
73 /* [local] */
75 #pragma once
78 extern RPC_IF_HANDLE __MIDL_itf_textfind2_0000_0000_v0_0_c_ifspec;
79 extern RPC_IF_HANDLE __MIDL_itf_textfind2_0000_0000_v0_0_s_ifspec;
81 #ifndef __IVsFindTarget2_INTERFACE_DEFINED__
82 #define __IVsFindTarget2_INTERFACE_DEFINED__
84 /* interface IVsFindTarget2 */
85 /* [object][unique][version][uuid] */
88 EXTERN_C const IID IID_IVsFindTarget2;
90 #if defined(__cplusplus) && !defined(CINTERFACE)
92 MIDL_INTERFACE("DE311250-1F14-430e-B896-EFBDDD8ABB3E")
93 IVsFindTarget2 : public IUnknown
95 public:
96 virtual HRESULT STDMETHODCALLTYPE NavigateTo2(
97 /* [in] */ __RPC__in_opt IVsTextSpanSet *pSpans,
98 /* [in] */ enum _TextSelMode iSelMode) = 0;
102 #else /* C style interface */
104 typedef struct IVsFindTarget2Vtbl
106 BEGIN_INTERFACE
108 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
109 IVsFindTarget2 * This,
110 /* [in] */ __RPC__in REFIID riid,
111 /* [iid_is][out] */
112 __RPC__deref_out void **ppvObject);
114 ULONG ( STDMETHODCALLTYPE *AddRef )(
115 IVsFindTarget2 * This);
117 ULONG ( STDMETHODCALLTYPE *Release )(
118 IVsFindTarget2 * This);
120 HRESULT ( STDMETHODCALLTYPE *NavigateTo2 )(
121 IVsFindTarget2 * This,
122 /* [in] */ __RPC__in_opt IVsTextSpanSet *pSpans,
123 /* [in] */ enum _TextSelMode iSelMode);
125 END_INTERFACE
126 } IVsFindTarget2Vtbl;
128 interface IVsFindTarget2
130 CONST_VTBL struct IVsFindTarget2Vtbl *lpVtbl;
135 #ifdef COBJMACROS
138 #define IVsFindTarget2_QueryInterface(This,riid,ppvObject) \
139 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
141 #define IVsFindTarget2_AddRef(This) \
142 ( (This)->lpVtbl -> AddRef(This) )
144 #define IVsFindTarget2_Release(This) \
145 ( (This)->lpVtbl -> Release(This) )
148 #define IVsFindTarget2_NavigateTo2(This,pSpans,iSelMode) \
149 ( (This)->lpVtbl -> NavigateTo2(This,pSpans,iSelMode) )
151 #endif /* COBJMACROS */
154 #endif /* C style interface */
159 #endif /* __IVsFindTarget2_INTERFACE_DEFINED__ */
162 /* interface __MIDL_itf_textfind2_0000_0001 */
163 /* [local] */
165 typedef /* [public] */
166 enum __MIDL___MIDL_itf_textfind2_0000_0001_0001
167 { VSFE_NoErrorAnsiPattern = 1
168 } VSFINDERROR2;
171 enum __VSFINDRESULT2
172 { VSFR_ReplaceIncompleteEOL = 0x10000000,
173 VSFR_CancelledBeforeReplacementsMade = 0x20000000
175 typedef DWORD VSFINDRESULT2;
178 enum __VSFINDOPTIONS2
179 { FR_RegExprLineBreaks = 0x4000,
180 FR_BlockThread = 0x20000000,
181 FR_DoNotUpdateUI = 0x40000000
183 typedef DWORD VSFINDOPTIONS2;
186 enum __VSFTPROPID2
187 { VSFTPROPID_IsFindInFilesForegroundOnly = 6
189 typedef DWORD VSFTPROPID2;
193 extern RPC_IF_HANDLE __MIDL_itf_textfind2_0000_0001_v0_0_c_ifspec;
194 extern RPC_IF_HANDLE __MIDL_itf_textfind2_0000_0001_v0_0_s_ifspec;
196 #ifndef __IVsFindCancelDialog_INTERFACE_DEFINED__
197 #define __IVsFindCancelDialog_INTERFACE_DEFINED__
199 /* interface IVsFindCancelDialog */
200 /* [object][unique][version][uuid] */
203 EXTERN_C const IID IID_IVsFindCancelDialog;
205 #if defined(__cplusplus) && !defined(CINTERFACE)
207 MIDL_INTERFACE("FE7C62A2-C121-4995-9EC1-561B80D2DA11")
208 IVsFindCancelDialog : public IUnknown
210 public:
211 virtual HRESULT STDMETHODCALLTYPE LaunchDialog( void) = 0;
213 virtual HRESULT STDMETHODCALLTYPE QueryDialog(
214 /* [out] */ __RPC__out BOOL *pfCancel) = 0;
216 virtual HRESULT STDMETHODCALLTYPE CloseDialog( void) = 0;
220 #else /* C style interface */
222 typedef struct IVsFindCancelDialogVtbl
224 BEGIN_INTERFACE
226 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
227 IVsFindCancelDialog * This,
228 /* [in] */ __RPC__in REFIID riid,
229 /* [iid_is][out] */
230 __RPC__deref_out void **ppvObject);
232 ULONG ( STDMETHODCALLTYPE *AddRef )(
233 IVsFindCancelDialog * This);
235 ULONG ( STDMETHODCALLTYPE *Release )(
236 IVsFindCancelDialog * This);
238 HRESULT ( STDMETHODCALLTYPE *LaunchDialog )(
239 IVsFindCancelDialog * This);
241 HRESULT ( STDMETHODCALLTYPE *QueryDialog )(
242 IVsFindCancelDialog * This,
243 /* [out] */ __RPC__out BOOL *pfCancel);
245 HRESULT ( STDMETHODCALLTYPE *CloseDialog )(
246 IVsFindCancelDialog * This);
248 END_INTERFACE
249 } IVsFindCancelDialogVtbl;
251 interface IVsFindCancelDialog
253 CONST_VTBL struct IVsFindCancelDialogVtbl *lpVtbl;
258 #ifdef COBJMACROS
261 #define IVsFindCancelDialog_QueryInterface(This,riid,ppvObject) \
262 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
264 #define IVsFindCancelDialog_AddRef(This) \
265 ( (This)->lpVtbl -> AddRef(This) )
267 #define IVsFindCancelDialog_Release(This) \
268 ( (This)->lpVtbl -> Release(This) )
271 #define IVsFindCancelDialog_LaunchDialog(This) \
272 ( (This)->lpVtbl -> LaunchDialog(This) )
274 #define IVsFindCancelDialog_QueryDialog(This,pfCancel) \
275 ( (This)->lpVtbl -> QueryDialog(This,pfCancel) )
277 #define IVsFindCancelDialog_CloseDialog(This) \
278 ( (This)->lpVtbl -> CloseDialog(This) )
280 #endif /* COBJMACROS */
283 #endif /* C style interface */
288 #endif /* __IVsFindCancelDialog_INTERFACE_DEFINED__ */
291 /* Additional Prototypes for ALL interfaces */
293 /* end of Additional Prototypes */
295 #ifdef __cplusplus
297 #endif
299 #endif