added some development tools
[windows-sources.git] / developer / VSSDK / VisualStudioIntegration / Common / Inc / customfind.h
blob48a1e67b8c0a172b5ed5477ba8390b24887adcf2
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 customfind.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 __customfind_h__
43 #define __customfind_h__
45 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
46 #pragma once
47 #endif
49 /* Forward Declarations */
51 #ifndef __IVsRegisterCustomFindScope_FWD_DEFINED__
52 #define __IVsRegisterCustomFindScope_FWD_DEFINED__
53 typedef interface IVsRegisterCustomFindScope IVsRegisterCustomFindScope;
54 #endif /* __IVsRegisterCustomFindScope_FWD_DEFINED__ */
57 #ifndef __IVsCustomFindScope_FWD_DEFINED__
58 #define __IVsCustomFindScope_FWD_DEFINED__
59 typedef interface IVsCustomFindScope IVsCustomFindScope;
60 #endif /* __IVsCustomFindScope_FWD_DEFINED__ */
63 #ifndef __IVsCustomFindScopeLookIn_FWD_DEFINED__
64 #define __IVsCustomFindScopeLookIn_FWD_DEFINED__
65 typedef interface IVsCustomFindScopeLookIn IVsCustomFindScopeLookIn;
66 #endif /* __IVsCustomFindScopeLookIn_FWD_DEFINED__ */
69 #ifndef __IVsCustomFindScopeSearch_FWD_DEFINED__
70 #define __IVsCustomFindScopeSearch_FWD_DEFINED__
71 typedef interface IVsCustomFindScopeSearch IVsCustomFindScopeSearch;
72 #endif /* __IVsCustomFindScopeSearch_FWD_DEFINED__ */
75 #ifndef __IVsCustomFindScopeNotify_FWD_DEFINED__
76 #define __IVsCustomFindScopeNotify_FWD_DEFINED__
77 typedef interface IVsCustomFindScopeNotify IVsCustomFindScopeNotify;
78 #endif /* __IVsCustomFindScopeNotify_FWD_DEFINED__ */
81 /* header files for imported files */
82 #include "textfind.h"
84 #ifdef __cplusplus
85 extern "C"{
86 #endif
89 /* interface __MIDL_itf_customfind_0000_0000 */
90 /* [local] */
98 enum __VSCUSTOMFINDSTATUS
99 { CFR_IDLE = 0,
100 CFR_RUNNING = ( CFR_IDLE + 1 ) ,
101 CFR_COMPLETE = ( CFR_RUNNING + 1 ) ,
102 CFR_CANCEL = ( CFR_COMPLETE + 1 ) ,
103 CFR_ERROR = ( CFR_CANCEL + 1 )
105 typedef DWORD VSCUSTOMFINDSTATUS;
107 typedef struct _VSBROWSESCOPE
109 BSTR bstrDisplay;
110 BSTR bstrTooltip;
111 VARIANT varCanonicalScope;
112 } VSBROWSESCOPEW;
114 typedef struct _VSBROWSESCOPE *PVSBROWSESCOPEW;
118 extern RPC_IF_HANDLE __MIDL_itf_customfind_0000_0000_v0_0_c_ifspec;
119 extern RPC_IF_HANDLE __MIDL_itf_customfind_0000_0000_v0_0_s_ifspec;
121 #ifndef __IVsRegisterCustomFindScope_INTERFACE_DEFINED__
122 #define __IVsRegisterCustomFindScope_INTERFACE_DEFINED__
124 /* interface IVsRegisterCustomFindScope */
125 /* [object][unique][version][uuid] */
128 EXTERN_C const IID IID_IVsRegisterCustomFindScope;
130 #if defined(__cplusplus) && !defined(CINTERFACE)
132 MIDL_INTERFACE("72F08BD4-412B-4f54-8B7C-02997C483981")
133 IVsRegisterCustomFindScope : public IUnknown
135 public:
136 virtual HRESULT STDMETHODCALLTYPE RegisterCustomFindScope(
137 /* [in] */ __RPC__in REFGUID guidSID,
138 /* [in] */ __RPC__in LPCOLESTR pszName,
139 /* [in] */ VSFINDOPTIONS grfEnabledOptions,
140 /* [out] */ __RPC__out DWORD_PTR *pdwCookie) = 0;
142 virtual HRESULT STDMETHODCALLTYPE UnRegisterCustomFindScope(
143 /* [in] */ DWORD_PTR dwCookie) = 0;
147 #else /* C style interface */
149 typedef struct IVsRegisterCustomFindScopeVtbl
151 BEGIN_INTERFACE
153 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
154 IVsRegisterCustomFindScope * This,
155 /* [in] */ __RPC__in REFIID riid,
156 /* [iid_is][out] */
157 __RPC__deref_out void **ppvObject);
159 ULONG ( STDMETHODCALLTYPE *AddRef )(
160 IVsRegisterCustomFindScope * This);
162 ULONG ( STDMETHODCALLTYPE *Release )(
163 IVsRegisterCustomFindScope * This);
165 HRESULT ( STDMETHODCALLTYPE *RegisterCustomFindScope )(
166 IVsRegisterCustomFindScope * This,
167 /* [in] */ __RPC__in REFGUID guidSID,
168 /* [in] */ __RPC__in LPCOLESTR pszName,
169 /* [in] */ VSFINDOPTIONS grfEnabledOptions,
170 /* [out] */ __RPC__out DWORD_PTR *pdwCookie);
172 HRESULT ( STDMETHODCALLTYPE *UnRegisterCustomFindScope )(
173 IVsRegisterCustomFindScope * This,
174 /* [in] */ DWORD_PTR dwCookie);
176 END_INTERFACE
177 } IVsRegisterCustomFindScopeVtbl;
179 interface IVsRegisterCustomFindScope
181 CONST_VTBL struct IVsRegisterCustomFindScopeVtbl *lpVtbl;
186 #ifdef COBJMACROS
189 #define IVsRegisterCustomFindScope_QueryInterface(This,riid,ppvObject) \
190 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
192 #define IVsRegisterCustomFindScope_AddRef(This) \
193 ( (This)->lpVtbl -> AddRef(This) )
195 #define IVsRegisterCustomFindScope_Release(This) \
196 ( (This)->lpVtbl -> Release(This) )
199 #define IVsRegisterCustomFindScope_RegisterCustomFindScope(This,guidSID,pszName,grfEnabledOptions,pdwCookie) \
200 ( (This)->lpVtbl -> RegisterCustomFindScope(This,guidSID,pszName,grfEnabledOptions,pdwCookie) )
202 #define IVsRegisterCustomFindScope_UnRegisterCustomFindScope(This,dwCookie) \
203 ( (This)->lpVtbl -> UnRegisterCustomFindScope(This,dwCookie) )
205 #endif /* COBJMACROS */
208 #endif /* C style interface */
213 #endif /* __IVsRegisterCustomFindScope_INTERFACE_DEFINED__ */
216 #ifndef __IVsCustomFindScope_INTERFACE_DEFINED__
217 #define __IVsCustomFindScope_INTERFACE_DEFINED__
219 /* interface IVsCustomFindScope */
220 /* [object][unique][version][uuid] */
223 EXTERN_C const IID IID_IVsCustomFindScope;
225 #if defined(__cplusplus) && !defined(CINTERFACE)
227 MIDL_INTERFACE("51066B51-499A-419b-A7B3-18C1DB46EB95")
228 IVsCustomFindScope : public IUnknown
230 public:
231 virtual HRESULT STDMETHODCALLTYPE GetCustomFindScopeLookIn(
232 /* [retval][out] */ __RPC__deref_out_opt IVsCustomFindScopeLookIn **ppFindLookIn) = 0;
234 virtual HRESULT STDMETHODCALLTYPE GetCustomFindScopeSearch(
235 /* [retval][out] */ __RPC__deref_out_opt IVsCustomFindScopeSearch **ppBatchFind) = 0;
239 #else /* C style interface */
241 typedef struct IVsCustomFindScopeVtbl
243 BEGIN_INTERFACE
245 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
246 IVsCustomFindScope * This,
247 /* [in] */ __RPC__in REFIID riid,
248 /* [iid_is][out] */
249 __RPC__deref_out void **ppvObject);
251 ULONG ( STDMETHODCALLTYPE *AddRef )(
252 IVsCustomFindScope * This);
254 ULONG ( STDMETHODCALLTYPE *Release )(
255 IVsCustomFindScope * This);
257 HRESULT ( STDMETHODCALLTYPE *GetCustomFindScopeLookIn )(
258 IVsCustomFindScope * This,
259 /* [retval][out] */ __RPC__deref_out_opt IVsCustomFindScopeLookIn **ppFindLookIn);
261 HRESULT ( STDMETHODCALLTYPE *GetCustomFindScopeSearch )(
262 IVsCustomFindScope * This,
263 /* [retval][out] */ __RPC__deref_out_opt IVsCustomFindScopeSearch **ppBatchFind);
265 END_INTERFACE
266 } IVsCustomFindScopeVtbl;
268 interface IVsCustomFindScope
270 CONST_VTBL struct IVsCustomFindScopeVtbl *lpVtbl;
275 #ifdef COBJMACROS
278 #define IVsCustomFindScope_QueryInterface(This,riid,ppvObject) \
279 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
281 #define IVsCustomFindScope_AddRef(This) \
282 ( (This)->lpVtbl -> AddRef(This) )
284 #define IVsCustomFindScope_Release(This) \
285 ( (This)->lpVtbl -> Release(This) )
288 #define IVsCustomFindScope_GetCustomFindScopeLookIn(This,ppFindLookIn) \
289 ( (This)->lpVtbl -> GetCustomFindScopeLookIn(This,ppFindLookIn) )
291 #define IVsCustomFindScope_GetCustomFindScopeSearch(This,ppBatchFind) \
292 ( (This)->lpVtbl -> GetCustomFindScopeSearch(This,ppBatchFind) )
294 #endif /* COBJMACROS */
297 #endif /* C style interface */
302 #endif /* __IVsCustomFindScope_INTERFACE_DEFINED__ */
305 #ifndef __IVsCustomFindScopeLookIn_INTERFACE_DEFINED__
306 #define __IVsCustomFindScopeLookIn_INTERFACE_DEFINED__
308 /* interface IVsCustomFindScopeLookIn */
309 /* [object][unique][version][uuid] */
312 EXTERN_C const IID IID_IVsCustomFindScopeLookIn;
314 #if defined(__cplusplus) && !defined(CINTERFACE)
316 MIDL_INTERFACE("B82E262A-A6A4-407f-B562-42785C2C61FC")
317 IVsCustomFindScopeLookIn : public IUnknown
319 public:
320 virtual HRESULT STDMETHODCALLTYPE Browse(
321 /* [out][in] */ __RPC__inout PVSBROWSESCOPEW pBrowseScope) = 0;
325 #else /* C style interface */
327 typedef struct IVsCustomFindScopeLookInVtbl
329 BEGIN_INTERFACE
331 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
332 IVsCustomFindScopeLookIn * This,
333 /* [in] */ __RPC__in REFIID riid,
334 /* [iid_is][out] */
335 __RPC__deref_out void **ppvObject);
337 ULONG ( STDMETHODCALLTYPE *AddRef )(
338 IVsCustomFindScopeLookIn * This);
340 ULONG ( STDMETHODCALLTYPE *Release )(
341 IVsCustomFindScopeLookIn * This);
343 HRESULT ( STDMETHODCALLTYPE *Browse )(
344 IVsCustomFindScopeLookIn * This,
345 /* [out][in] */ __RPC__inout PVSBROWSESCOPEW pBrowseScope);
347 END_INTERFACE
348 } IVsCustomFindScopeLookInVtbl;
350 interface IVsCustomFindScopeLookIn
352 CONST_VTBL struct IVsCustomFindScopeLookInVtbl *lpVtbl;
357 #ifdef COBJMACROS
360 #define IVsCustomFindScopeLookIn_QueryInterface(This,riid,ppvObject) \
361 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
363 #define IVsCustomFindScopeLookIn_AddRef(This) \
364 ( (This)->lpVtbl -> AddRef(This) )
366 #define IVsCustomFindScopeLookIn_Release(This) \
367 ( (This)->lpVtbl -> Release(This) )
370 #define IVsCustomFindScopeLookIn_Browse(This,pBrowseScope) \
371 ( (This)->lpVtbl -> Browse(This,pBrowseScope) )
373 #endif /* COBJMACROS */
376 #endif /* C style interface */
381 #endif /* __IVsCustomFindScopeLookIn_INTERFACE_DEFINED__ */
384 #ifndef __IVsCustomFindScopeSearch_INTERFACE_DEFINED__
385 #define __IVsCustomFindScopeSearch_INTERFACE_DEFINED__
387 /* interface IVsCustomFindScopeSearch */
388 /* [object][unique][version][uuid] */
391 EXTERN_C const IID IID_IVsCustomFindScopeSearch;
393 #if defined(__cplusplus) && !defined(CINTERFACE)
395 MIDL_INTERFACE("BC70E6DE-4B40-438f-8F83-AFE1CC6AB101")
396 IVsCustomFindScopeSearch : public IUnknown
398 public:
399 virtual HRESULT STDMETHODCALLTYPE Find(
400 /* [in] */ VSBROWSESCOPEW VsBrowseScope,
401 /* [in] */ __RPC__in LPCOLESTR pszFind,
402 /* [in] */ __RPC__in LPCOLESTR pszFilter,
403 /* [in] */ VSFINDOPTIONS grfOptions,
404 /* [in] */ __RPC__in_opt IVsCustomFindScopeNotify *pBatchFindNotify) = 0;
406 virtual HRESULT STDMETHODCALLTYPE Replace(
407 /* [in] */ VSBROWSESCOPEW VsBrowseScope,
408 /* [in] */ __RPC__in LPCOLESTR pszFind,
409 /* [in] */ __RPC__in LPCOLESTR pszReplace,
410 /* [in] */ __RPC__in LPCOLESTR pszFilter,
411 /* [in] */ VSFINDOPTIONS grfOptions,
412 /* [in] */ __RPC__in_opt IVsCustomFindScopeNotify *pBatchFindNotify) = 0;
414 virtual HRESULT STDMETHODCALLTYPE GetStatus(
415 /* [out] */ __RPC__deref_out_opt BSTR *pbstrStatus,
416 /* [retval][out] */ __RPC__out VSCUSTOMFINDSTATUS *pdwStatus) = 0;
418 virtual HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
422 #else /* C style interface */
424 typedef struct IVsCustomFindScopeSearchVtbl
426 BEGIN_INTERFACE
428 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
429 IVsCustomFindScopeSearch * This,
430 /* [in] */ __RPC__in REFIID riid,
431 /* [iid_is][out] */
432 __RPC__deref_out void **ppvObject);
434 ULONG ( STDMETHODCALLTYPE *AddRef )(
435 IVsCustomFindScopeSearch * This);
437 ULONG ( STDMETHODCALLTYPE *Release )(
438 IVsCustomFindScopeSearch * This);
440 HRESULT ( STDMETHODCALLTYPE *Find )(
441 IVsCustomFindScopeSearch * This,
442 /* [in] */ VSBROWSESCOPEW VsBrowseScope,
443 /* [in] */ __RPC__in LPCOLESTR pszFind,
444 /* [in] */ __RPC__in LPCOLESTR pszFilter,
445 /* [in] */ VSFINDOPTIONS grfOptions,
446 /* [in] */ __RPC__in_opt IVsCustomFindScopeNotify *pBatchFindNotify);
448 HRESULT ( STDMETHODCALLTYPE *Replace )(
449 IVsCustomFindScopeSearch * This,
450 /* [in] */ VSBROWSESCOPEW VsBrowseScope,
451 /* [in] */ __RPC__in LPCOLESTR pszFind,
452 /* [in] */ __RPC__in LPCOLESTR pszReplace,
453 /* [in] */ __RPC__in LPCOLESTR pszFilter,
454 /* [in] */ VSFINDOPTIONS grfOptions,
455 /* [in] */ __RPC__in_opt IVsCustomFindScopeNotify *pBatchFindNotify);
457 HRESULT ( STDMETHODCALLTYPE *GetStatus )(
458 IVsCustomFindScopeSearch * This,
459 /* [out] */ __RPC__deref_out_opt BSTR *pbstrStatus,
460 /* [retval][out] */ __RPC__out VSCUSTOMFINDSTATUS *pdwStatus);
462 HRESULT ( STDMETHODCALLTYPE *Cancel )(
463 IVsCustomFindScopeSearch * This);
465 END_INTERFACE
466 } IVsCustomFindScopeSearchVtbl;
468 interface IVsCustomFindScopeSearch
470 CONST_VTBL struct IVsCustomFindScopeSearchVtbl *lpVtbl;
475 #ifdef COBJMACROS
478 #define IVsCustomFindScopeSearch_QueryInterface(This,riid,ppvObject) \
479 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
481 #define IVsCustomFindScopeSearch_AddRef(This) \
482 ( (This)->lpVtbl -> AddRef(This) )
484 #define IVsCustomFindScopeSearch_Release(This) \
485 ( (This)->lpVtbl -> Release(This) )
488 #define IVsCustomFindScopeSearch_Find(This,VsBrowseScope,pszFind,pszFilter,grfOptions,pBatchFindNotify) \
489 ( (This)->lpVtbl -> Find(This,VsBrowseScope,pszFind,pszFilter,grfOptions,pBatchFindNotify) )
491 #define IVsCustomFindScopeSearch_Replace(This,VsBrowseScope,pszFind,pszReplace,pszFilter,grfOptions,pBatchFindNotify) \
492 ( (This)->lpVtbl -> Replace(This,VsBrowseScope,pszFind,pszReplace,pszFilter,grfOptions,pBatchFindNotify) )
494 #define IVsCustomFindScopeSearch_GetStatus(This,pbstrStatus,pdwStatus) \
495 ( (This)->lpVtbl -> GetStatus(This,pbstrStatus,pdwStatus) )
497 #define IVsCustomFindScopeSearch_Cancel(This) \
498 ( (This)->lpVtbl -> Cancel(This) )
500 #endif /* COBJMACROS */
503 #endif /* C style interface */
508 #endif /* __IVsCustomFindScopeSearch_INTERFACE_DEFINED__ */
511 #ifndef __IVsCustomFindScopeNotify_INTERFACE_DEFINED__
512 #define __IVsCustomFindScopeNotify_INTERFACE_DEFINED__
514 /* interface IVsCustomFindScopeNotify */
515 /* [object][unique][version][uuid] */
518 EXTERN_C const IID IID_IVsCustomFindScopeNotify;
520 #if defined(__cplusplus) && !defined(CINTERFACE)
522 MIDL_INTERFACE("169B2F24-BB17-40d8-AE2A-13B651B610CA")
523 IVsCustomFindScopeNotify : public IUnknown
525 public:
526 virtual HRESULT STDMETHODCALLTYPE Notify(
527 /* [in] */ VSCUSTOMFINDSTATUS grfStatus) = 0;
531 #else /* C style interface */
533 typedef struct IVsCustomFindScopeNotifyVtbl
535 BEGIN_INTERFACE
537 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
538 IVsCustomFindScopeNotify * This,
539 /* [in] */ __RPC__in REFIID riid,
540 /* [iid_is][out] */
541 __RPC__deref_out void **ppvObject);
543 ULONG ( STDMETHODCALLTYPE *AddRef )(
544 IVsCustomFindScopeNotify * This);
546 ULONG ( STDMETHODCALLTYPE *Release )(
547 IVsCustomFindScopeNotify * This);
549 HRESULT ( STDMETHODCALLTYPE *Notify )(
550 IVsCustomFindScopeNotify * This,
551 /* [in] */ VSCUSTOMFINDSTATUS grfStatus);
553 END_INTERFACE
554 } IVsCustomFindScopeNotifyVtbl;
556 interface IVsCustomFindScopeNotify
558 CONST_VTBL struct IVsCustomFindScopeNotifyVtbl *lpVtbl;
563 #ifdef COBJMACROS
566 #define IVsCustomFindScopeNotify_QueryInterface(This,riid,ppvObject) \
567 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
569 #define IVsCustomFindScopeNotify_AddRef(This) \
570 ( (This)->lpVtbl -> AddRef(This) )
572 #define IVsCustomFindScopeNotify_Release(This) \
573 ( (This)->lpVtbl -> Release(This) )
576 #define IVsCustomFindScopeNotify_Notify(This,grfStatus) \
577 ( (This)->lpVtbl -> Notify(This,grfStatus) )
579 #endif /* COBJMACROS */
582 #endif /* C style interface */
587 #endif /* __IVsCustomFindScopeNotify_INTERFACE_DEFINED__ */
590 /* Additional Prototypes for ALL interfaces */
592 unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
593 unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
594 unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
595 void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
597 unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
598 unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
599 unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
600 void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
602 /* end of Additional Prototypes */
604 #ifdef __cplusplus
606 #endif
608 #endif