master
1/*** Autogenerated by WIDL 10.4 from include/bits5_0.idl - Do not edit ***/
2
3#ifdef _WIN32
4#ifndef __REQUIRED_RPCNDR_H_VERSION__
5#define __REQUIRED_RPCNDR_H_VERSION__ 475
6#endif
7#include <rpc.h>
8#include <rpcndr.h>
9#endif
10
11#ifndef COM_NO_WINDOWS_H
12#include <windows.h>
13#include <ole2.h>
14#endif
15
16#ifndef __bits5_0_h__
17#define __bits5_0_h__
18
19/* Forward declarations */
20
21#ifndef __IBackgroundCopyJob5_FWD_DEFINED__
22#define __IBackgroundCopyJob5_FWD_DEFINED__
23typedef interface IBackgroundCopyJob5 IBackgroundCopyJob5;
24#ifdef __cplusplus
25interface IBackgroundCopyJob5;
26#endif /* __cplusplus */
27#endif
28
29/* Headers for imported files */
30
31#include <bits.h>
32#include <bits1_5.h>
33#include <bits2_0.h>
34#include <bits2_5.h>
35#include <bits3_0.h>
36
37#ifdef __cplusplus
38extern "C" {
39#endif
40
41#define BITS_COST_STATE_TRANSFER_ALWAYS 0x800000ff
42/*****************************************************************************
43 * IBackgroundCopyJob5 interface
44 */
45#ifndef __IBackgroundCopyJob5_INTERFACE_DEFINED__
46#define __IBackgroundCopyJob5_INTERFACE_DEFINED__
47
48typedef enum __WIDL_bits5_0_generated_name_00000017 {
49 BITS_JOB_PROPERTY_ID_COST_FLAGS = 1,
50 BITS_JOB_PROPERTY_NOTIFICATION_CLSID = 2,
51 BITS_JOB_PROPERTY_DYNAMIC_CONTENT = 3,
52 BITS_JOB_PROPERTY_HIGH_PERFORMANCE = 4,
53 BITS_JOB_PROPERTY_MAX_DOWNLOAD_SIZE = 5,
54 BITS_JOB_PROPERTY_USE_STORED_CREDENTIALS = 7,
55 BITS_JOB_PROPERTY_MINIMUM_NOTIFICATION_INTERVAL_MS = 9,
56 BITS_JOB_PROPERTY_ON_DEMAND_MODE = 10
57} BITS_JOB_PROPERTY_ID;
58typedef union _BITS_JOB_PROPERTY_VALUE {
59 DWORD Dword;
60 GUID ClsID;
61 WINBOOL Enable;
62 UINT64 Uint64;
63 BG_AUTH_TARGET Target;
64} BITS_JOB_PROPERTY_VALUE;
65DEFINE_GUID(IID_IBackgroundCopyJob5, 0xe847030c, 0xbbba, 0x4657, 0xaf,0x6d, 0x48,0x4a,0xa4,0x2b,0xf1,0xfe);
66#if defined(__cplusplus) && !defined(CINTERFACE)
67MIDL_INTERFACE("e847030c-bbba-4657-af6d-484aa42bf1fe")
68IBackgroundCopyJob5 : public IBackgroundCopyJob4
69{
70 virtual HRESULT STDMETHODCALLTYPE SetProperty(
71 BITS_JOB_PROPERTY_ID id,
72 BITS_JOB_PROPERTY_VALUE value) = 0;
73
74 virtual HRESULT STDMETHODCALLTYPE GetProperty(
75 BITS_JOB_PROPERTY_ID id,
76 BITS_JOB_PROPERTY_VALUE *value) = 0;
77
78};
79#ifdef __CRT_UUID_DECL
80__CRT_UUID_DECL(IBackgroundCopyJob5, 0xe847030c, 0xbbba, 0x4657, 0xaf,0x6d, 0x48,0x4a,0xa4,0x2b,0xf1,0xfe)
81#endif
82#else
83typedef struct IBackgroundCopyJob5Vtbl {
84 BEGIN_INTERFACE
85
86 /*** IUnknown methods ***/
87 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
88 IBackgroundCopyJob5 *This,
89 REFIID riid,
90 void **ppvObject);
91
92 ULONG (STDMETHODCALLTYPE *AddRef)(
93 IBackgroundCopyJob5 *This);
94
95 ULONG (STDMETHODCALLTYPE *Release)(
96 IBackgroundCopyJob5 *This);
97
98 /*** IBackgroundCopyJob methods ***/
99 HRESULT (STDMETHODCALLTYPE *AddFileSet)(
100 IBackgroundCopyJob5 *This,
101 ULONG cFileCount,
102 BG_FILE_INFO *pFileSet);
103
104 HRESULT (STDMETHODCALLTYPE *AddFile)(
105 IBackgroundCopyJob5 *This,
106 LPCWSTR RemoteUrl,
107 LPCWSTR LocalName);
108
109 HRESULT (STDMETHODCALLTYPE *EnumFiles)(
110 IBackgroundCopyJob5 *This,
111 IEnumBackgroundCopyFiles **pEnum);
112
113 HRESULT (STDMETHODCALLTYPE *Suspend)(
114 IBackgroundCopyJob5 *This);
115
116 HRESULT (STDMETHODCALLTYPE *Resume)(
117 IBackgroundCopyJob5 *This);
118
119 HRESULT (STDMETHODCALLTYPE *Cancel)(
120 IBackgroundCopyJob5 *This);
121
122 HRESULT (STDMETHODCALLTYPE *Complete)(
123 IBackgroundCopyJob5 *This);
124
125 HRESULT (STDMETHODCALLTYPE *GetId)(
126 IBackgroundCopyJob5 *This,
127 GUID *pVal);
128
129 HRESULT (STDMETHODCALLTYPE *GetType)(
130 IBackgroundCopyJob5 *This,
131 BG_JOB_TYPE *pVal);
132
133 HRESULT (STDMETHODCALLTYPE *GetProgress)(
134 IBackgroundCopyJob5 *This,
135 BG_JOB_PROGRESS *pVal);
136
137 HRESULT (STDMETHODCALLTYPE *GetTimes)(
138 IBackgroundCopyJob5 *This,
139 BG_JOB_TIMES *pVal);
140
141 HRESULT (STDMETHODCALLTYPE *GetState)(
142 IBackgroundCopyJob5 *This,
143 BG_JOB_STATE *pVal);
144
145 HRESULT (STDMETHODCALLTYPE *GetError)(
146 IBackgroundCopyJob5 *This,
147 IBackgroundCopyError **ppError);
148
149 HRESULT (STDMETHODCALLTYPE *GetOwner)(
150 IBackgroundCopyJob5 *This,
151 LPWSTR *pVal);
152
153 HRESULT (STDMETHODCALLTYPE *SetDisplayName)(
154 IBackgroundCopyJob5 *This,
155 LPCWSTR Val);
156
157 HRESULT (STDMETHODCALLTYPE *GetDisplayName)(
158 IBackgroundCopyJob5 *This,
159 LPWSTR *pVal);
160
161 HRESULT (STDMETHODCALLTYPE *SetDescription)(
162 IBackgroundCopyJob5 *This,
163 LPCWSTR Val);
164
165 HRESULT (STDMETHODCALLTYPE *GetDescription)(
166 IBackgroundCopyJob5 *This,
167 LPWSTR *pVal);
168
169 HRESULT (STDMETHODCALLTYPE *SetPriority)(
170 IBackgroundCopyJob5 *This,
171 BG_JOB_PRIORITY Val);
172
173 HRESULT (STDMETHODCALLTYPE *GetPriority)(
174 IBackgroundCopyJob5 *This,
175 BG_JOB_PRIORITY *pVal);
176
177 HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)(
178 IBackgroundCopyJob5 *This,
179 ULONG Val);
180
181 HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)(
182 IBackgroundCopyJob5 *This,
183 ULONG *pVal);
184
185 HRESULT (STDMETHODCALLTYPE *SetNotifyInterface)(
186 IBackgroundCopyJob5 *This,
187 IUnknown *Val);
188
189 HRESULT (STDMETHODCALLTYPE *GetNotifyInterface)(
190 IBackgroundCopyJob5 *This,
191 IUnknown **pVal);
192
193 HRESULT (STDMETHODCALLTYPE *SetMinimumRetryDelay)(
194 IBackgroundCopyJob5 *This,
195 ULONG Seconds);
196
197 HRESULT (STDMETHODCALLTYPE *GetMinimumRetryDelay)(
198 IBackgroundCopyJob5 *This,
199 ULONG *Seconds);
200
201 HRESULT (STDMETHODCALLTYPE *SetNoProgressTimeout)(
202 IBackgroundCopyJob5 *This,
203 ULONG Seconds);
204
205 HRESULT (STDMETHODCALLTYPE *GetNoProgressTimeout)(
206 IBackgroundCopyJob5 *This,
207 ULONG *Seconds);
208
209 HRESULT (STDMETHODCALLTYPE *GetErrorCount)(
210 IBackgroundCopyJob5 *This,
211 ULONG *Errors);
212
213 HRESULT (STDMETHODCALLTYPE *SetProxySettings)(
214 IBackgroundCopyJob5 *This,
215 BG_JOB_PROXY_USAGE ProxyUsage,
216 const WCHAR *ProxyList,
217 const WCHAR *ProxyBypassList);
218
219 HRESULT (STDMETHODCALLTYPE *GetProxySettings)(
220 IBackgroundCopyJob5 *This,
221 BG_JOB_PROXY_USAGE *pProxyUsage,
222 LPWSTR *pProxyList,
223 LPWSTR *pProxyBypassList);
224
225 HRESULT (STDMETHODCALLTYPE *TakeOwnership)(
226 IBackgroundCopyJob5 *This);
227
228 /*** IBackgroundCopyJob2 methods ***/
229 HRESULT (STDMETHODCALLTYPE *SetNotifyCmdLine)(
230 IBackgroundCopyJob5 *This,
231 LPCWSTR prog,
232 LPCWSTR params);
233
234 HRESULT (STDMETHODCALLTYPE *GetNotifyCmdLine)(
235 IBackgroundCopyJob5 *This,
236 LPWSTR *prog,
237 LPWSTR *params);
238
239 HRESULT (STDMETHODCALLTYPE *GetReplyProgress)(
240 IBackgroundCopyJob5 *This,
241 BG_JOB_REPLY_PROGRESS *progress);
242
243 HRESULT (STDMETHODCALLTYPE *GetReplyData)(
244 IBackgroundCopyJob5 *This,
245 byte **pBuffer,
246 UINT64 *pLength);
247
248 HRESULT (STDMETHODCALLTYPE *SetReplyFileName)(
249 IBackgroundCopyJob5 *This,
250 LPCWSTR filename);
251
252 HRESULT (STDMETHODCALLTYPE *GetReplyFileName)(
253 IBackgroundCopyJob5 *This,
254 LPWSTR *pFilename);
255
256 HRESULT (STDMETHODCALLTYPE *SetCredentials)(
257 IBackgroundCopyJob5 *This,
258 BG_AUTH_CREDENTIALS *cred);
259
260 HRESULT (STDMETHODCALLTYPE *RemoveCredentials)(
261 IBackgroundCopyJob5 *This,
262 BG_AUTH_TARGET target,
263 BG_AUTH_SCHEME scheme);
264
265 /*** IBackgroundCopyJob3 methods ***/
266 HRESULT (STDMETHODCALLTYPE *ReplaceRemotePrefix)(
267 IBackgroundCopyJob5 *This,
268 LPCWSTR OldPrefix,
269 LPCWSTR NewPrefix);
270
271 HRESULT (STDMETHODCALLTYPE *AddFileWithRanges)(
272 IBackgroundCopyJob5 *This,
273 LPCWSTR RemoteUrl,
274 LPCWSTR LocalName,
275 DWORD RangeCount,
276 BG_FILE_RANGE Ranges[]);
277
278 HRESULT (STDMETHODCALLTYPE *SetFileACLFlags)(
279 IBackgroundCopyJob5 *This,
280 DWORD Flags);
281
282 HRESULT (STDMETHODCALLTYPE *GetFileACLFlags)(
283 IBackgroundCopyJob5 *This,
284 DWORD *Flags);
285
286 /*** IBackgroundCopyJob4 methods ***/
287 HRESULT (STDMETHODCALLTYPE *SetPeerCachingFlags)(
288 IBackgroundCopyJob5 *This,
289 DWORD flags);
290
291 HRESULT (STDMETHODCALLTYPE *GetPeerCachingFlags)(
292 IBackgroundCopyJob5 *This,
293 DWORD *flags);
294
295 HRESULT (STDMETHODCALLTYPE *GetOwnerIntegrityLevel)(
296 IBackgroundCopyJob5 *This,
297 ULONG *level);
298
299 HRESULT (STDMETHODCALLTYPE *GetOwnerElevationState)(
300 IBackgroundCopyJob5 *This,
301 WINBOOL *elevated);
302
303 HRESULT (STDMETHODCALLTYPE *SetMaximumDownloadTime)(
304 IBackgroundCopyJob5 *This,
305 ULONG timeout);
306
307 HRESULT (STDMETHODCALLTYPE *GetMaximumDownloadTime)(
308 IBackgroundCopyJob5 *This,
309 ULONG *timeout);
310
311 /*** IBackgroundCopyJob5 methods ***/
312 HRESULT (STDMETHODCALLTYPE *SetProperty)(
313 IBackgroundCopyJob5 *This,
314 BITS_JOB_PROPERTY_ID id,
315 BITS_JOB_PROPERTY_VALUE value);
316
317 HRESULT (STDMETHODCALLTYPE *GetProperty)(
318 IBackgroundCopyJob5 *This,
319 BITS_JOB_PROPERTY_ID id,
320 BITS_JOB_PROPERTY_VALUE *value);
321
322 END_INTERFACE
323} IBackgroundCopyJob5Vtbl;
324
325interface IBackgroundCopyJob5 {
326 CONST_VTBL IBackgroundCopyJob5Vtbl* lpVtbl;
327};
328
329#ifdef COBJMACROS
330#ifndef WIDL_C_INLINE_WRAPPERS
331/*** IUnknown methods ***/
332#define IBackgroundCopyJob5_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
333#define IBackgroundCopyJob5_AddRef(This) (This)->lpVtbl->AddRef(This)
334#define IBackgroundCopyJob5_Release(This) (This)->lpVtbl->Release(This)
335/*** IBackgroundCopyJob methods ***/
336#define IBackgroundCopyJob5_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl->AddFileSet(This,cFileCount,pFileSet)
337#define IBackgroundCopyJob5_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl->AddFile(This,RemoteUrl,LocalName)
338#define IBackgroundCopyJob5_EnumFiles(This,pEnum) (This)->lpVtbl->EnumFiles(This,pEnum)
339#define IBackgroundCopyJob5_Suspend(This) (This)->lpVtbl->Suspend(This)
340#define IBackgroundCopyJob5_Resume(This) (This)->lpVtbl->Resume(This)
341#define IBackgroundCopyJob5_Cancel(This) (This)->lpVtbl->Cancel(This)
342#define IBackgroundCopyJob5_Complete(This) (This)->lpVtbl->Complete(This)
343#define IBackgroundCopyJob5_GetId(This,pVal) (This)->lpVtbl->GetId(This,pVal)
344#define IBackgroundCopyJob5_GetType(This,pVal) (This)->lpVtbl->GetType(This,pVal)
345#define IBackgroundCopyJob5_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal)
346#define IBackgroundCopyJob5_GetTimes(This,pVal) (This)->lpVtbl->GetTimes(This,pVal)
347#define IBackgroundCopyJob5_GetState(This,pVal) (This)->lpVtbl->GetState(This,pVal)
348#define IBackgroundCopyJob5_GetError(This,ppError) (This)->lpVtbl->GetError(This,ppError)
349#define IBackgroundCopyJob5_GetOwner(This,pVal) (This)->lpVtbl->GetOwner(This,pVal)
350#define IBackgroundCopyJob5_SetDisplayName(This,Val) (This)->lpVtbl->SetDisplayName(This,Val)
351#define IBackgroundCopyJob5_GetDisplayName(This,pVal) (This)->lpVtbl->GetDisplayName(This,pVal)
352#define IBackgroundCopyJob5_SetDescription(This,Val) (This)->lpVtbl->SetDescription(This,Val)
353#define IBackgroundCopyJob5_GetDescription(This,pVal) (This)->lpVtbl->GetDescription(This,pVal)
354#define IBackgroundCopyJob5_SetPriority(This,Val) (This)->lpVtbl->SetPriority(This,Val)
355#define IBackgroundCopyJob5_GetPriority(This,pVal) (This)->lpVtbl->GetPriority(This,pVal)
356#define IBackgroundCopyJob5_SetNotifyFlags(This,Val) (This)->lpVtbl->SetNotifyFlags(This,Val)
357#define IBackgroundCopyJob5_GetNotifyFlags(This,pVal) (This)->lpVtbl->GetNotifyFlags(This,pVal)
358#define IBackgroundCopyJob5_SetNotifyInterface(This,Val) (This)->lpVtbl->SetNotifyInterface(This,Val)
359#define IBackgroundCopyJob5_GetNotifyInterface(This,pVal) (This)->lpVtbl->GetNotifyInterface(This,pVal)
360#define IBackgroundCopyJob5_SetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->SetMinimumRetryDelay(This,Seconds)
361#define IBackgroundCopyJob5_GetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->GetMinimumRetryDelay(This,Seconds)
362#define IBackgroundCopyJob5_SetNoProgressTimeout(This,Seconds) (This)->lpVtbl->SetNoProgressTimeout(This,Seconds)
363#define IBackgroundCopyJob5_GetNoProgressTimeout(This,Seconds) (This)->lpVtbl->GetNoProgressTimeout(This,Seconds)
364#define IBackgroundCopyJob5_GetErrorCount(This,Errors) (This)->lpVtbl->GetErrorCount(This,Errors)
365#define IBackgroundCopyJob5_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList)
366#define IBackgroundCopyJob5_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList)
367#define IBackgroundCopyJob5_TakeOwnership(This) (This)->lpVtbl->TakeOwnership(This)
368/*** IBackgroundCopyJob2 methods ***/
369#define IBackgroundCopyJob5_SetNotifyCmdLine(This,prog,params) (This)->lpVtbl->SetNotifyCmdLine(This,prog,params)
370#define IBackgroundCopyJob5_GetNotifyCmdLine(This,prog,params) (This)->lpVtbl->GetNotifyCmdLine(This,prog,params)
371#define IBackgroundCopyJob5_GetReplyProgress(This,progress) (This)->lpVtbl->GetReplyProgress(This,progress)
372#define IBackgroundCopyJob5_GetReplyData(This,pBuffer,pLength) (This)->lpVtbl->GetReplyData(This,pBuffer,pLength)
373#define IBackgroundCopyJob5_SetReplyFileName(This,filename) (This)->lpVtbl->SetReplyFileName(This,filename)
374#define IBackgroundCopyJob5_GetReplyFileName(This,pFilename) (This)->lpVtbl->GetReplyFileName(This,pFilename)
375#define IBackgroundCopyJob5_SetCredentials(This,cred) (This)->lpVtbl->SetCredentials(This,cred)
376#define IBackgroundCopyJob5_RemoveCredentials(This,target,scheme) (This)->lpVtbl->RemoveCredentials(This,target,scheme)
377/*** IBackgroundCopyJob3 methods ***/
378#define IBackgroundCopyJob5_ReplaceRemotePrefix(This,OldPrefix,NewPrefix) (This)->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix)
379#define IBackgroundCopyJob5_AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) (This)->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges)
380#define IBackgroundCopyJob5_SetFileACLFlags(This,Flags) (This)->lpVtbl->SetFileACLFlags(This,Flags)
381#define IBackgroundCopyJob5_GetFileACLFlags(This,Flags) (This)->lpVtbl->GetFileACLFlags(This,Flags)
382/*** IBackgroundCopyJob4 methods ***/
383#define IBackgroundCopyJob5_SetPeerCachingFlags(This,flags) (This)->lpVtbl->SetPeerCachingFlags(This,flags)
384#define IBackgroundCopyJob5_GetPeerCachingFlags(This,flags) (This)->lpVtbl->GetPeerCachingFlags(This,flags)
385#define IBackgroundCopyJob5_GetOwnerIntegrityLevel(This,level) (This)->lpVtbl->GetOwnerIntegrityLevel(This,level)
386#define IBackgroundCopyJob5_GetOwnerElevationState(This,elevated) (This)->lpVtbl->GetOwnerElevationState(This,elevated)
387#define IBackgroundCopyJob5_SetMaximumDownloadTime(This,timeout) (This)->lpVtbl->SetMaximumDownloadTime(This,timeout)
388#define IBackgroundCopyJob5_GetMaximumDownloadTime(This,timeout) (This)->lpVtbl->GetMaximumDownloadTime(This,timeout)
389/*** IBackgroundCopyJob5 methods ***/
390#define IBackgroundCopyJob5_SetProperty(This,id,value) (This)->lpVtbl->SetProperty(This,id,value)
391#define IBackgroundCopyJob5_GetProperty(This,id,value) (This)->lpVtbl->GetProperty(This,id,value)
392#else
393/*** IUnknown methods ***/
394static inline HRESULT IBackgroundCopyJob5_QueryInterface(IBackgroundCopyJob5* This,REFIID riid,void **ppvObject) {
395 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
396}
397static inline ULONG IBackgroundCopyJob5_AddRef(IBackgroundCopyJob5* This) {
398 return This->lpVtbl->AddRef(This);
399}
400static inline ULONG IBackgroundCopyJob5_Release(IBackgroundCopyJob5* This) {
401 return This->lpVtbl->Release(This);
402}
403/*** IBackgroundCopyJob methods ***/
404static inline HRESULT IBackgroundCopyJob5_AddFileSet(IBackgroundCopyJob5* This,ULONG cFileCount,BG_FILE_INFO *pFileSet) {
405 return This->lpVtbl->AddFileSet(This,cFileCount,pFileSet);
406}
407static inline HRESULT IBackgroundCopyJob5_AddFile(IBackgroundCopyJob5* This,LPCWSTR RemoteUrl,LPCWSTR LocalName) {
408 return This->lpVtbl->AddFile(This,RemoteUrl,LocalName);
409}
410static inline HRESULT IBackgroundCopyJob5_EnumFiles(IBackgroundCopyJob5* This,IEnumBackgroundCopyFiles **pEnum) {
411 return This->lpVtbl->EnumFiles(This,pEnum);
412}
413static inline HRESULT IBackgroundCopyJob5_Suspend(IBackgroundCopyJob5* This) {
414 return This->lpVtbl->Suspend(This);
415}
416static inline HRESULT IBackgroundCopyJob5_Resume(IBackgroundCopyJob5* This) {
417 return This->lpVtbl->Resume(This);
418}
419static inline HRESULT IBackgroundCopyJob5_Cancel(IBackgroundCopyJob5* This) {
420 return This->lpVtbl->Cancel(This);
421}
422static inline HRESULT IBackgroundCopyJob5_Complete(IBackgroundCopyJob5* This) {
423 return This->lpVtbl->Complete(This);
424}
425static inline HRESULT IBackgroundCopyJob5_GetId(IBackgroundCopyJob5* This,GUID *pVal) {
426 return This->lpVtbl->GetId(This,pVal);
427}
428static inline HRESULT IBackgroundCopyJob5_GetType(IBackgroundCopyJob5* This,BG_JOB_TYPE *pVal) {
429 return This->lpVtbl->GetType(This,pVal);
430}
431static inline HRESULT IBackgroundCopyJob5_GetProgress(IBackgroundCopyJob5* This,BG_JOB_PROGRESS *pVal) {
432 return This->lpVtbl->GetProgress(This,pVal);
433}
434static inline HRESULT IBackgroundCopyJob5_GetTimes(IBackgroundCopyJob5* This,BG_JOB_TIMES *pVal) {
435 return This->lpVtbl->GetTimes(This,pVal);
436}
437static inline HRESULT IBackgroundCopyJob5_GetState(IBackgroundCopyJob5* This,BG_JOB_STATE *pVal) {
438 return This->lpVtbl->GetState(This,pVal);
439}
440static inline HRESULT IBackgroundCopyJob5_GetError(IBackgroundCopyJob5* This,IBackgroundCopyError **ppError) {
441 return This->lpVtbl->GetError(This,ppError);
442}
443static inline HRESULT IBackgroundCopyJob5_GetOwner(IBackgroundCopyJob5* This,LPWSTR *pVal) {
444 return This->lpVtbl->GetOwner(This,pVal);
445}
446static inline HRESULT IBackgroundCopyJob5_SetDisplayName(IBackgroundCopyJob5* This,LPCWSTR Val) {
447 return This->lpVtbl->SetDisplayName(This,Val);
448}
449static inline HRESULT IBackgroundCopyJob5_GetDisplayName(IBackgroundCopyJob5* This,LPWSTR *pVal) {
450 return This->lpVtbl->GetDisplayName(This,pVal);
451}
452static inline HRESULT IBackgroundCopyJob5_SetDescription(IBackgroundCopyJob5* This,LPCWSTR Val) {
453 return This->lpVtbl->SetDescription(This,Val);
454}
455static inline HRESULT IBackgroundCopyJob5_GetDescription(IBackgroundCopyJob5* This,LPWSTR *pVal) {
456 return This->lpVtbl->GetDescription(This,pVal);
457}
458static inline HRESULT IBackgroundCopyJob5_SetPriority(IBackgroundCopyJob5* This,BG_JOB_PRIORITY Val) {
459 return This->lpVtbl->SetPriority(This,Val);
460}
461static inline HRESULT IBackgroundCopyJob5_GetPriority(IBackgroundCopyJob5* This,BG_JOB_PRIORITY *pVal) {
462 return This->lpVtbl->GetPriority(This,pVal);
463}
464static inline HRESULT IBackgroundCopyJob5_SetNotifyFlags(IBackgroundCopyJob5* This,ULONG Val) {
465 return This->lpVtbl->SetNotifyFlags(This,Val);
466}
467static inline HRESULT IBackgroundCopyJob5_GetNotifyFlags(IBackgroundCopyJob5* This,ULONG *pVal) {
468 return This->lpVtbl->GetNotifyFlags(This,pVal);
469}
470static inline HRESULT IBackgroundCopyJob5_SetNotifyInterface(IBackgroundCopyJob5* This,IUnknown *Val) {
471 return This->lpVtbl->SetNotifyInterface(This,Val);
472}
473static inline HRESULT IBackgroundCopyJob5_GetNotifyInterface(IBackgroundCopyJob5* This,IUnknown **pVal) {
474 return This->lpVtbl->GetNotifyInterface(This,pVal);
475}
476static inline HRESULT IBackgroundCopyJob5_SetMinimumRetryDelay(IBackgroundCopyJob5* This,ULONG Seconds) {
477 return This->lpVtbl->SetMinimumRetryDelay(This,Seconds);
478}
479static inline HRESULT IBackgroundCopyJob5_GetMinimumRetryDelay(IBackgroundCopyJob5* This,ULONG *Seconds) {
480 return This->lpVtbl->GetMinimumRetryDelay(This,Seconds);
481}
482static inline HRESULT IBackgroundCopyJob5_SetNoProgressTimeout(IBackgroundCopyJob5* This,ULONG Seconds) {
483 return This->lpVtbl->SetNoProgressTimeout(This,Seconds);
484}
485static inline HRESULT IBackgroundCopyJob5_GetNoProgressTimeout(IBackgroundCopyJob5* This,ULONG *Seconds) {
486 return This->lpVtbl->GetNoProgressTimeout(This,Seconds);
487}
488static inline HRESULT IBackgroundCopyJob5_GetErrorCount(IBackgroundCopyJob5* This,ULONG *Errors) {
489 return This->lpVtbl->GetErrorCount(This,Errors);
490}
491static inline HRESULT IBackgroundCopyJob5_SetProxySettings(IBackgroundCopyJob5* This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList) {
492 return This->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList);
493}
494static inline HRESULT IBackgroundCopyJob5_GetProxySettings(IBackgroundCopyJob5* This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList) {
495 return This->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList);
496}
497static inline HRESULT IBackgroundCopyJob5_TakeOwnership(IBackgroundCopyJob5* This) {
498 return This->lpVtbl->TakeOwnership(This);
499}
500/*** IBackgroundCopyJob2 methods ***/
501static inline HRESULT IBackgroundCopyJob5_SetNotifyCmdLine(IBackgroundCopyJob5* This,LPCWSTR prog,LPCWSTR params) {
502 return This->lpVtbl->SetNotifyCmdLine(This,prog,params);
503}
504static inline HRESULT IBackgroundCopyJob5_GetNotifyCmdLine(IBackgroundCopyJob5* This,LPWSTR *prog,LPWSTR *params) {
505 return This->lpVtbl->GetNotifyCmdLine(This,prog,params);
506}
507static inline HRESULT IBackgroundCopyJob5_GetReplyProgress(IBackgroundCopyJob5* This,BG_JOB_REPLY_PROGRESS *progress) {
508 return This->lpVtbl->GetReplyProgress(This,progress);
509}
510static inline HRESULT IBackgroundCopyJob5_GetReplyData(IBackgroundCopyJob5* This,byte **pBuffer,UINT64 *pLength) {
511 return This->lpVtbl->GetReplyData(This,pBuffer,pLength);
512}
513static inline HRESULT IBackgroundCopyJob5_SetReplyFileName(IBackgroundCopyJob5* This,LPCWSTR filename) {
514 return This->lpVtbl->SetReplyFileName(This,filename);
515}
516static inline HRESULT IBackgroundCopyJob5_GetReplyFileName(IBackgroundCopyJob5* This,LPWSTR *pFilename) {
517 return This->lpVtbl->GetReplyFileName(This,pFilename);
518}
519static inline HRESULT IBackgroundCopyJob5_SetCredentials(IBackgroundCopyJob5* This,BG_AUTH_CREDENTIALS *cred) {
520 return This->lpVtbl->SetCredentials(This,cred);
521}
522static inline HRESULT IBackgroundCopyJob5_RemoveCredentials(IBackgroundCopyJob5* This,BG_AUTH_TARGET target,BG_AUTH_SCHEME scheme) {
523 return This->lpVtbl->RemoveCredentials(This,target,scheme);
524}
525/*** IBackgroundCopyJob3 methods ***/
526static inline HRESULT IBackgroundCopyJob5_ReplaceRemotePrefix(IBackgroundCopyJob5* This,LPCWSTR OldPrefix,LPCWSTR NewPrefix) {
527 return This->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix);
528}
529static inline HRESULT IBackgroundCopyJob5_AddFileWithRanges(IBackgroundCopyJob5* This,LPCWSTR RemoteUrl,LPCWSTR LocalName,DWORD RangeCount,BG_FILE_RANGE Ranges[]) {
530 return This->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges);
531}
532static inline HRESULT IBackgroundCopyJob5_SetFileACLFlags(IBackgroundCopyJob5* This,DWORD Flags) {
533 return This->lpVtbl->SetFileACLFlags(This,Flags);
534}
535static inline HRESULT IBackgroundCopyJob5_GetFileACLFlags(IBackgroundCopyJob5* This,DWORD *Flags) {
536 return This->lpVtbl->GetFileACLFlags(This,Flags);
537}
538/*** IBackgroundCopyJob4 methods ***/
539static inline HRESULT IBackgroundCopyJob5_SetPeerCachingFlags(IBackgroundCopyJob5* This,DWORD flags) {
540 return This->lpVtbl->SetPeerCachingFlags(This,flags);
541}
542static inline HRESULT IBackgroundCopyJob5_GetPeerCachingFlags(IBackgroundCopyJob5* This,DWORD *flags) {
543 return This->lpVtbl->GetPeerCachingFlags(This,flags);
544}
545static inline HRESULT IBackgroundCopyJob5_GetOwnerIntegrityLevel(IBackgroundCopyJob5* This,ULONG *level) {
546 return This->lpVtbl->GetOwnerIntegrityLevel(This,level);
547}
548static inline HRESULT IBackgroundCopyJob5_GetOwnerElevationState(IBackgroundCopyJob5* This,WINBOOL *elevated) {
549 return This->lpVtbl->GetOwnerElevationState(This,elevated);
550}
551static inline HRESULT IBackgroundCopyJob5_SetMaximumDownloadTime(IBackgroundCopyJob5* This,ULONG timeout) {
552 return This->lpVtbl->SetMaximumDownloadTime(This,timeout);
553}
554static inline HRESULT IBackgroundCopyJob5_GetMaximumDownloadTime(IBackgroundCopyJob5* This,ULONG *timeout) {
555 return This->lpVtbl->GetMaximumDownloadTime(This,timeout);
556}
557/*** IBackgroundCopyJob5 methods ***/
558static inline HRESULT IBackgroundCopyJob5_SetProperty(IBackgroundCopyJob5* This,BITS_JOB_PROPERTY_ID id,BITS_JOB_PROPERTY_VALUE value) {
559 return This->lpVtbl->SetProperty(This,id,value);
560}
561static inline HRESULT IBackgroundCopyJob5_GetProperty(IBackgroundCopyJob5* This,BITS_JOB_PROPERTY_ID id,BITS_JOB_PROPERTY_VALUE *value) {
562 return This->lpVtbl->GetProperty(This,id,value);
563}
564#endif
565#endif
566
567#endif
568
569
570#endif /* __IBackgroundCopyJob5_INTERFACE_DEFINED__ */
571
572/* Begin additional prototypes for all interfaces */
573
574
575/* End additional prototypes */
576
577#ifdef __cplusplus
578}
579#endif
580
581#endif /* __bits5_0_h__ */