added some development tools
[windows-sources.git] / developer / VSSDK / VisualStudioIntegration / Common / Inc / DiscoveryService90.h
blob4fc109030b2208417e2f05b51e4e590fd2599c95
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 discoveryservice90.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 __discoveryservice90_h__
43 #define __discoveryservice90_h__
45 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
46 #pragma once
47 #endif
49 /* Forward Declarations */
51 #ifndef __IDiscoveryResult3_FWD_DEFINED__
52 #define __IDiscoveryResult3_FWD_DEFINED__
53 typedef interface IDiscoveryResult3 IDiscoveryResult3;
54 #endif /* __IDiscoveryResult3_FWD_DEFINED__ */
57 #ifndef __IDiscoverySession2_FWD_DEFINED__
58 #define __IDiscoverySession2_FWD_DEFINED__
59 typedef interface IDiscoverySession2 IDiscoverySession2;
60 #endif /* __IDiscoverySession2_FWD_DEFINED__ */
63 #ifndef __IReferenceInfo2_FWD_DEFINED__
64 #define __IReferenceInfo2_FWD_DEFINED__
65 typedef interface IReferenceInfo2 IReferenceInfo2;
66 #endif /* __IReferenceInfo2_FWD_DEFINED__ */
69 /* header files for imported files */
70 #include "oaidl.h"
71 #include "ocidl.h"
72 #include "oleipc.h"
73 #include "vsshell.h"
74 #include "discoveryservice80.h"
76 #ifdef __cplusplus
77 extern "C"{
78 #endif
81 /* interface __MIDL_itf_discoveryservice90_0000_0000 */
82 /* [local] */
88 enum DiscoveryProtocol
89 { DP_DiscoveryClientProtocol = 1,
90 DP_MetadataExchangeProtocol = 2,
91 DP_DiscoveryDataServiceProtocol = 3
92 } ;
93 typedef enum DiscoveryProtocol DiscoveryProtocol;
97 extern RPC_IF_HANDLE __MIDL_itf_discoveryservice90_0000_0000_v0_0_c_ifspec;
98 extern RPC_IF_HANDLE __MIDL_itf_discoveryservice90_0000_0000_v0_0_s_ifspec;
100 #ifndef __IDiscoveryResult3_INTERFACE_DEFINED__
101 #define __IDiscoveryResult3_INTERFACE_DEFINED__
103 /* interface IDiscoveryResult3 */
104 /* [object][uuid][unique][version] */
107 EXTERN_C const IID IID_IDiscoveryResult3;
109 #if defined(__cplusplus) && !defined(CINTERFACE)
111 MIDL_INTERFACE("6e1073e5-a112-441a-8386-232cecc0c29b")
112 IDiscoveryResult3 : public IUnknown
114 public:
115 virtual HRESULT STDMETHODCALLTYPE GetProtocol(
116 /* [retval][out] */ __RPC__out DiscoveryProtocol *pDiscoveryProtocol) = 0;
120 #else /* C style interface */
122 typedef struct IDiscoveryResult3Vtbl
124 BEGIN_INTERFACE
126 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
127 IDiscoveryResult3 * This,
128 /* [in] */ __RPC__in REFIID riid,
129 /* [iid_is][out] */
130 __RPC__deref_out void **ppvObject);
132 ULONG ( STDMETHODCALLTYPE *AddRef )(
133 IDiscoveryResult3 * This);
135 ULONG ( STDMETHODCALLTYPE *Release )(
136 IDiscoveryResult3 * This);
138 HRESULT ( STDMETHODCALLTYPE *GetProtocol )(
139 IDiscoveryResult3 * This,
140 /* [retval][out] */ __RPC__out DiscoveryProtocol *pDiscoveryProtocol);
142 END_INTERFACE
143 } IDiscoveryResult3Vtbl;
145 interface IDiscoveryResult3
147 CONST_VTBL struct IDiscoveryResult3Vtbl *lpVtbl;
152 #ifdef COBJMACROS
155 #define IDiscoveryResult3_QueryInterface(This,riid,ppvObject) \
156 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
158 #define IDiscoveryResult3_AddRef(This) \
159 ( (This)->lpVtbl -> AddRef(This) )
161 #define IDiscoveryResult3_Release(This) \
162 ( (This)->lpVtbl -> Release(This) )
165 #define IDiscoveryResult3_GetProtocol(This,pDiscoveryProtocol) \
166 ( (This)->lpVtbl -> GetProtocol(This,pDiscoveryProtocol) )
168 #endif /* COBJMACROS */
171 #endif /* C style interface */
176 #endif /* __IDiscoveryResult3_INTERFACE_DEFINED__ */
179 /* interface __MIDL_itf_discoveryservice90_0000_0001 */
180 /* [local] */
183 enum DiscoverySessionProtocolPriority
184 { DSPP_NoPriority = 0,
185 DSPP_DiscoveryProtocolFirst = 1,
186 DSPP_MetadataExchangeFirst = 2
188 typedef enum DiscoverySessionProtocolPriority DiscoverySessionProtocolPriority;
192 extern RPC_IF_HANDLE __MIDL_itf_discoveryservice90_0000_0001_v0_0_c_ifspec;
193 extern RPC_IF_HANDLE __MIDL_itf_discoveryservice90_0000_0001_v0_0_s_ifspec;
195 #ifndef __IDiscoverySession2_INTERFACE_DEFINED__
196 #define __IDiscoverySession2_INTERFACE_DEFINED__
198 /* interface IDiscoverySession2 */
199 /* [object][uuid][unique][version] */
202 EXTERN_C const IID IID_IDiscoverySession2;
204 #if defined(__cplusplus) && !defined(CINTERFACE)
206 MIDL_INTERFACE("182b5eb4-9a58-47b7-a3fe-ac7ed8b891ff")
207 IDiscoverySession2 : public IUnknown
209 public:
210 virtual HRESULT STDMETHODCALLTYPE DiscoverUrlWithMetadataExchange(
211 __RPC__in LPCOLESTR url,
212 DiscoverySessionProtocolPriority protocolPriority,
213 BOOL resolveAllFiles,
214 __RPC__in LPCOLESTR toolConfigurationPath,
215 /* [out] */ __RPC__deref_out_opt IDiscoveryResult **ppDiscoverResult) = 0;
217 virtual HRESULT STDMETHODCALLTYPE DiscoverUrlAsyncWithMetadataExchange(
218 __RPC__in LPCOLESTR url,
219 DiscoverySessionProtocolPriority protocolPriority,
220 BOOL resolveAllFiles,
221 __RPC__in LPCOLESTR toolConfigurationPath,
222 __RPC__in_opt IDiscoverUrlCallBack *pDiscoverUrlCallBack,
223 /* [out] */ __RPC__out int *pCookieID) = 0;
227 #else /* C style interface */
229 typedef struct IDiscoverySession2Vtbl
231 BEGIN_INTERFACE
233 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
234 IDiscoverySession2 * This,
235 /* [in] */ __RPC__in REFIID riid,
236 /* [iid_is][out] */
237 __RPC__deref_out void **ppvObject);
239 ULONG ( STDMETHODCALLTYPE *AddRef )(
240 IDiscoverySession2 * This);
242 ULONG ( STDMETHODCALLTYPE *Release )(
243 IDiscoverySession2 * This);
245 HRESULT ( STDMETHODCALLTYPE *DiscoverUrlWithMetadataExchange )(
246 IDiscoverySession2 * This,
247 __RPC__in LPCOLESTR url,
248 DiscoverySessionProtocolPriority protocolPriority,
249 BOOL resolveAllFiles,
250 __RPC__in LPCOLESTR toolConfigurationPath,
251 /* [out] */ __RPC__deref_out_opt IDiscoveryResult **ppDiscoverResult);
253 HRESULT ( STDMETHODCALLTYPE *DiscoverUrlAsyncWithMetadataExchange )(
254 IDiscoverySession2 * This,
255 __RPC__in LPCOLESTR url,
256 DiscoverySessionProtocolPriority protocolPriority,
257 BOOL resolveAllFiles,
258 __RPC__in LPCOLESTR toolConfigurationPath,
259 __RPC__in_opt IDiscoverUrlCallBack *pDiscoverUrlCallBack,
260 /* [out] */ __RPC__out int *pCookieID);
262 END_INTERFACE
263 } IDiscoverySession2Vtbl;
265 interface IDiscoverySession2
267 CONST_VTBL struct IDiscoverySession2Vtbl *lpVtbl;
272 #ifdef COBJMACROS
275 #define IDiscoverySession2_QueryInterface(This,riid,ppvObject) \
276 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
278 #define IDiscoverySession2_AddRef(This) \
279 ( (This)->lpVtbl -> AddRef(This) )
281 #define IDiscoverySession2_Release(This) \
282 ( (This)->lpVtbl -> Release(This) )
285 #define IDiscoverySession2_DiscoverUrlWithMetadataExchange(This,url,protocolPriority,resolveAllFiles,toolConfigurationPath,ppDiscoverResult) \
286 ( (This)->lpVtbl -> DiscoverUrlWithMetadataExchange(This,url,protocolPriority,resolveAllFiles,toolConfigurationPath,ppDiscoverResult) )
288 #define IDiscoverySession2_DiscoverUrlAsyncWithMetadataExchange(This,url,protocolPriority,resolveAllFiles,toolConfigurationPath,pDiscoverUrlCallBack,pCookieID) \
289 ( (This)->lpVtbl -> DiscoverUrlAsyncWithMetadataExchange(This,url,protocolPriority,resolveAllFiles,toolConfigurationPath,pDiscoverUrlCallBack,pCookieID) )
291 #endif /* COBJMACROS */
294 #endif /* C style interface */
299 #endif /* __IDiscoverySession2_INTERFACE_DEFINED__ */
302 #ifndef __IReferenceInfo2_INTERFACE_DEFINED__
303 #define __IReferenceInfo2_INTERFACE_DEFINED__
305 /* interface IReferenceInfo2 */
306 /* [object][uuid][unique][version] */
309 EXTERN_C const IID IID_IReferenceInfo2;
311 #if defined(__cplusplus) && !defined(CINTERFACE)
313 MIDL_INTERFACE("e316ff6d-ca00-49dd-969f-441399132ac7")
314 IReferenceInfo2 : public IUnknown
316 public:
317 virtual HRESULT STDMETHODCALLTYPE GetDefaultFileName(
318 /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDefaultName) = 0;
320 virtual HRESULT STDMETHODCALLTYPE GetDocumentContents(
321 /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *pContent) = 0;
325 #else /* C style interface */
327 typedef struct IReferenceInfo2Vtbl
329 BEGIN_INTERFACE
331 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
332 IReferenceInfo2 * This,
333 /* [in] */ __RPC__in REFIID riid,
334 /* [iid_is][out] */
335 __RPC__deref_out void **ppvObject);
337 ULONG ( STDMETHODCALLTYPE *AddRef )(
338 IReferenceInfo2 * This);
340 ULONG ( STDMETHODCALLTYPE *Release )(
341 IReferenceInfo2 * This);
343 HRESULT ( STDMETHODCALLTYPE *GetDefaultFileName )(
344 IReferenceInfo2 * This,
345 /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDefaultName);
347 HRESULT ( STDMETHODCALLTYPE *GetDocumentContents )(
348 IReferenceInfo2 * This,
349 /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *pContent);
351 END_INTERFACE
352 } IReferenceInfo2Vtbl;
354 interface IReferenceInfo2
356 CONST_VTBL struct IReferenceInfo2Vtbl *lpVtbl;
361 #ifdef COBJMACROS
364 #define IReferenceInfo2_QueryInterface(This,riid,ppvObject) \
365 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
367 #define IReferenceInfo2_AddRef(This) \
368 ( (This)->lpVtbl -> AddRef(This) )
370 #define IReferenceInfo2_Release(This) \
371 ( (This)->lpVtbl -> Release(This) )
374 #define IReferenceInfo2_GetDefaultFileName(This,pbstrDefaultName) \
375 ( (This)->lpVtbl -> GetDefaultFileName(This,pbstrDefaultName) )
377 #define IReferenceInfo2_GetDocumentContents(This,pContent) \
378 ( (This)->lpVtbl -> GetDocumentContents(This,pContent) )
380 #endif /* COBJMACROS */
383 #endif /* C style interface */
388 #endif /* __IReferenceInfo2_INTERFACE_DEFINED__ */
391 /* Additional Prototypes for ALL interfaces */
393 unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
394 unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
395 unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
396 void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
398 unsigned long __RPC_USER LPSAFEARRAY_UserSize( unsigned long *, unsigned long , LPSAFEARRAY * );
399 unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( unsigned long *, unsigned char *, LPSAFEARRAY * );
400 unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * );
401 void __RPC_USER LPSAFEARRAY_UserFree( unsigned long *, LPSAFEARRAY * );
403 /* end of Additional Prototypes */
405 #ifdef __cplusplus
407 #endif
409 #endif