1
2
3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
4
5
6  /* File created by MIDL compiler version 7.00.0499 */
7 /* Compiler settings for bits2_5.idl:
8       Oicf, W1, 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()
14 */
15 //@@MIDL_FILE_HEADING(  )
16
17 #pragma warning( disable: 4049 )  /* more than 64k source lines */
18
19
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__ 500
23 #endif
24
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
29
30 #include "rpc.h"
31 #include "rpcndr.h"
32
33 #ifndef __RPCNDR_H_VERSION__
34 #error this stub requires an updated version of <rpcndr.h>
35 #endif // __RPCNDR_H_VERSION__
36
37 #ifndef COM_NO_WINDOWS_H
38 #include "windows.h"
39 #include "ole2.h"
40 #endif /*COM_NO_WINDOWS_H*/
41
42 #ifndef __bits2_5_h__
43 #define __bits2_5_h__
44
45 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
46 #pragma once
47 #endif
48
49 /* Forward Declarations */ 
50
51 #ifndef __IBackgroundCopyJobHttpOptions_FWD_DEFINED__
52 #define __IBackgroundCopyJobHttpOptions_FWD_DEFINED__
53 typedef interface IBackgroundCopyJobHttpOptions IBackgroundCopyJobHttpOptions;
54 #endif     /* __IBackgroundCopyJobHttpOptions_FWD_DEFINED__ */
55
56
57 #ifndef __BackgroundCopyManager2_5_FWD_DEFINED__
58 #define __BackgroundCopyManager2_5_FWD_DEFINED__
59
60 #ifdef __cplusplus
61 typedef class BackgroundCopyManager2_5 BackgroundCopyManager2_5;
62 #else
63 typedef struct BackgroundCopyManager2_5 BackgroundCopyManager2_5;
64 #endif /* __cplusplus */
65
66 #endif     /* __BackgroundCopyManager2_5_FWD_DEFINED__ */
67
68
69 #ifndef __IBackgroundCopyJobHttpOptions_FWD_DEFINED__
70 #define __IBackgroundCopyJobHttpOptions_FWD_DEFINED__
71 typedef interface IBackgroundCopyJobHttpOptions IBackgroundCopyJobHttpOptions;
72 #endif     /* __IBackgroundCopyJobHttpOptions_FWD_DEFINED__ */
73
74
75 /* header files for imported files */
76 #include "bits.h"
77 #include "bits1_5.h"
78 #include "bits2_0.h"
79
80 #ifdef __cplusplus
81 extern "C"{
82 #endif 
83
84
85 #ifndef __IBackgroundCopyJobHttpOptions_INTERFACE_DEFINED__
86 #define __IBackgroundCopyJobHttpOptions_INTERFACE_DEFINED__
87
88 /* interface IBackgroundCopyJobHttpOptions */
89 /* [object][helpstring][uuid] */ 
90
91 typedef /* [public][public][public][public] */ 
92 enum __MIDL_IBackgroundCopyJobHttpOptions_0001
93       {    BG_CERT_STORE_LOCATION_CURRENT_USER    = 0,
94     BG_CERT_STORE_LOCATION_LOCAL_MACHINE    = ( BG_CERT_STORE_LOCATION_CURRENT_USER + 1 ) ,
95     BG_CERT_STORE_LOCATION_CURRENT_SERVICE    = ( BG_CERT_STORE_LOCATION_LOCAL_MACHINE + 1 ) ,
96     BG_CERT_STORE_LOCATION_SERVICES    = ( BG_CERT_STORE_LOCATION_CURRENT_SERVICE + 1 ) ,
97     BG_CERT_STORE_LOCATION_USERS    = ( BG_CERT_STORE_LOCATION_SERVICES + 1 ) ,
98     BG_CERT_STORE_LOCATION_CURRENT_USER_GROUP_POLICY    = ( BG_CERT_STORE_LOCATION_USERS + 1 ) ,
99     BG_CERT_STORE_LOCATION_LOCAL_MACHINE_GROUP_POLICY    = ( BG_CERT_STORE_LOCATION_CURRENT_USER_GROUP_POLICY + 1 ) ,
100     BG_CERT_STORE_LOCATION_LOCAL_MACHINE_ENTERPRISE    = ( BG_CERT_STORE_LOCATION_LOCAL_MACHINE_GROUP_POLICY + 1 ) 
101       }     BG_CERT_STORE_LOCATION;
102
103
104 EXTERN_C const IID IID_IBackgroundCopyJobHttpOptions;
105
106 #if defined(__cplusplus) && !defined(CINTERFACE)
107       
108       MIDL_INTERFACE("f1bd1079-9f01-4bdc-8036-f09b70095066")
109       IBackgroundCopyJobHttpOptions : public IUnknown
110       {
111       public:
112              virtual HRESULT STDMETHODCALLTYPE SetClientCertificateByID( 
113                     /* [in] */ BG_CERT_STORE_LOCATION StoreLocation,
114                     /* [in] */ __RPC__in LPCWSTR StoreName,
115                     /* [ref][size_is][in] */ __RPC__in_ecount_full(20) byte *pCertHashBlob) = 0;
116              
117              virtual HRESULT STDMETHODCALLTYPE SetClientCertificateByName( 
118                     /* [in] */ BG_CERT_STORE_LOCATION StoreLocation,
119                     /* [in] */ __RPC__in LPCWSTR StoreName,
120                     /* [in] */ __RPC__in LPCWSTR SubjectName) = 0;
121              
122              virtual HRESULT STDMETHODCALLTYPE RemoveClientCertificate( void) = 0;
123              
124              virtual HRESULT STDMETHODCALLTYPE GetClientCertificate( 
125                     /* [ref][out] */ __RPC__out BG_CERT_STORE_LOCATION *pStoreLocation,
126                     /* [ref][out] */ __RPC__deref_out_opt LPWSTR *pStoreName,
127                     /* [ref][size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(20) byte **ppCertHashBlob,
128                     /* [ref][out] */ __RPC__deref_out_opt LPWSTR *pSubjectName) = 0;
129              
130              virtual HRESULT STDMETHODCALLTYPE SetCustomHeaders( 
131                     /* [unique][in] */ __RPC__in_opt LPCWSTR RequestHeaders) = 0;
132              
133              virtual HRESULT STDMETHODCALLTYPE GetCustomHeaders( 
134                     /* [ref][out] */ __RPC__deref_out_opt LPWSTR *pRequestHeaders) = 0;
135              
136              virtual HRESULT STDMETHODCALLTYPE SetSecurityFlags( 
137                     /* [in] */ ULONG Flags) = 0;
138              
139              virtual HRESULT STDMETHODCALLTYPE GetSecurityFlags( 
140                     /* [ref][out] */ __RPC__out ULONG *pFlags) = 0;
141              
142       };
143       
144 #else     /* C style interface */
145
146       typedef struct IBackgroundCopyJobHttpOptionsVtbl
147       {
148              BEGIN_INTERFACE
149              
150              HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
151                     IBackgroundCopyJobHttpOptions * This,
152                     /* [in] */ __RPC__in REFIID riid,
153                     /* [iid_is][out] */ 
154                     __RPC__deref_out  void **ppvObject);
155              
156              ULONG ( STDMETHODCALLTYPE *AddRef )( 
157                     IBackgroundCopyJobHttpOptions * This);
158              
159              ULONG ( STDMETHODCALLTYPE *Release )( 
160                     IBackgroundCopyJobHttpOptions * This);
161              
Lines 162 ... 171 are skipped.
172                     /* [in] */ __RPC__in LPCWSTR SubjectName);
173              
174              HRESULT ( STDMETHODCALLTYPE *RemoveClientCertificate )( 
175                     IBackgroundCopyJobHttpOptions * This);
176              
177              HRESULT ( STDMETHODCALLTYPE *GetClientCertificate )( 
178                     IBackgroundCopyJobHttpOptions * This,
179                     /* [ref][out] */ __RPC__out BG_CERT_STORE_LOCATION *pStoreLocation,
180                     /* [ref][out] */ __RPC__deref_out_opt LPWSTR *pStoreName,
181                     /* [ref][size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(20) byte **ppCertHashBlob,
182                     /* [ref][out] */ __RPC__deref_out_opt LPWSTR *pSubjectName);
183              
184              HRESULT ( STDMETHODCALLTYPE *SetCustomHeaders )( 
185                     IBackgroundCopyJobHttpOptions * This,
186                     /* [unique][in] */ __RPC__in_opt LPCWSTR RequestHeaders);
187              
188              HRESULT ( STDMETHODCALLTYPE *GetCustomHeaders )( 
189                     IBackgroundCopyJobHttpOptions * This,
190                     /* [ref][out] */ __RPC__deref_out_opt LPWSTR *pRequestHeaders);
191              
192              HRESULT ( STDMETHODCALLTYPE *SetSecurityFlags )( 
193                     IBackgroundCopyJobHttpOptions * This,
194                     /* [in] */ ULONG Flags);
195              
196              HRESULT ( STDMETHODCALLTYPE *GetSecurityFlags )( 
197                     IBackgroundCopyJobHttpOptions * This,
198                     /* [ref][out] */ __RPC__out ULONG *pFlags);
199              
200              END_INTERFACE
201       } IBackgroundCopyJobHttpOptionsVtbl;
202
203       interface IBackgroundCopyJobHttpOptions
204       {
205              CONST_VTBL struct IBackgroundCopyJobHttpOptionsVtbl *lpVtbl;
206       };
207
208       
209
210 #ifdef COBJMACROS
211
212
213 #define IBackgroundCopyJobHttpOptions_QueryInterface(This,riid,ppvObject)    \
214       ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
215
216 #define IBackgroundCopyJobHttpOptions_AddRef(This)    \
217       ( (This)->lpVtbl -> AddRef(This) ) 
218
219 #define IBackgroundCopyJobHttpOptions_Release(This)    \
220       ( (This)->lpVtbl -> Release(This) ) 
221
222
223 #define IBackgroundCopyJobHttpOptions_SetClientCertificateByID(This,StoreLocation,StoreName,pCertHashBlob)    \
224       ( (This)->lpVtbl -> SetClientCertificateByID(This,StoreLocation,StoreName,pCertHashBlob) ) 
225
226 #define IBackgroundCopyJobHttpOptions_SetClientCertificateByName(This,StoreLocation,StoreName,SubjectName)    \
227       ( (This)->lpVtbl -> SetClientCertificateByName(This,StoreLocation,StoreName,SubjectName) ) 
228
229 #define IBackgroundCopyJobHttpOptions_RemoveClientCertificate(This)    \
230       ( (This)->lpVtbl -> RemoveClientCertificate(This) ) 
231
232 #define IBackgroundCopyJobHttpOptions_GetClientCertificate(This,pStoreLocation,pStoreName,ppCertHashBlob,pSubjectName)    \
233       ( (This)->lpVtbl -> GetClientCertificate(This,pStoreLocation,pStoreName,ppCertHashBlob,pSubjectName) ) 
234
235 #define IBackgroundCopyJobHttpOptions_SetCustomHeaders(This,RequestHeaders)    \
236       ( (This)->lpVtbl -> SetCustomHeaders(This,RequestHeaders) ) 
237
238 #define IBackgroundCopyJobHttpOptions_GetCustomHeaders(This,pRequestHeaders)    \
239       ( (This)->lpVtbl -> GetCustomHeaders(This,pRequestHeaders) ) 
240
241 #define IBackgroundCopyJobHttpOptions_SetSecurityFlags(This,Flags)    \
242       ( (This)->lpVtbl -> SetSecurityFlags(This,Flags) ) 
243
244 #define IBackgroundCopyJobHttpOptions_GetSecurityFlags(This,pFlags)    \
245       ( (This)->lpVtbl -> GetSecurityFlags(This,pFlags) ) 
246
247 #endif /* COBJMACROS */
248
249
250 #endif     /* C style interface */
251
252
253
254
255 #endif     /* __IBackgroundCopyJobHttpOptions_INTERFACE_DEFINED__ */
256
257
258
259 #ifndef __BackgroundCopyManager2_5_LIBRARY_DEFINED__
260 #define __BackgroundCopyManager2_5_LIBRARY_DEFINED__
261
262 /* library BackgroundCopyManager2_5 */
263 /* [version][lcid][helpstring][uuid] */ 
264
265
266
267
268 EXTERN_C const IID LIBID_BackgroundCopyManager2_5;
269
270 EXTERN_C const CLSID CLSID_BackgroundCopyManager2_5;
271
272 #ifdef __cplusplus
273
274 class DECLSPEC_UUID("03ca98d6-ff5d-49b8-abc6-03dd84127020")
275 BackgroundCopyManager2_5;
276 #endif
277 #endif /* __BackgroundCopyManager2_5_LIBRARY_DEFINED__ */
278
279 /* interface __MIDL_itf_bits2_5_0000_0001 */
280 /* [local] */ 
281
282 #define     BG_SSL_ENABLE_CRL_CHECK                         0x0001
283 #define     BG_SSL_IGNORE_CERT_CN_INVALID               0x0002
284 #define     BG_SSL_IGNORE_CERT_DATE_INVALID           0x0004
285 #define     BG_SSL_IGNORE_UNKNOWN_CA                       0x0008
286 #define     BG_SSL_IGNORE_CERT_WRONG_USAGE             0x0010
287 #define     BG_HTTP_REDIRECT_POLICY_MASK                0x0700
288 #define     BG_HTTP_REDIRECT_POLICY_ALLOW_SILENT  0x0000
289 #define     BG_HTTP_REDIRECT_POLICY_ALLOW_REPORT  0x0100
290 #define     BG_HTTP_REDIRECT_POLICY_DISALLOW          0x0200
291 #define     BG_HTTP_REDIRECT_POLICY_ALLOW_HTTPS_TO_HTTP  0x0800
292 #include "bits3_0.h"
293
294
295 extern RPC_IF_HANDLE __MIDL_itf_bits2_5_0000_0001_v0_0_c_ifspec;
296 extern RPC_IF_HANDLE __MIDL_itf_bits2_5_0000_0001_v0_0_s_ifspec;
297
298 /* Additional Prototypes for ALL interfaces */
299
300 /* end of Additional Prototypes */
301
302 #ifdef __cplusplus
303 }
304 #endif
305
306 #endif
307
308
309
310