master
  1/*** Autogenerated by WIDL 10.4 from include/bits1_5.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 __bits1_5_h__
 17#define __bits1_5_h__
 18
 19/* Forward declarations */
 20
 21#ifndef __IBackgroundCopyJob2_FWD_DEFINED__
 22#define __IBackgroundCopyJob2_FWD_DEFINED__
 23typedef interface IBackgroundCopyJob2 IBackgroundCopyJob2;
 24#ifdef __cplusplus
 25interface IBackgroundCopyJob2;
 26#endif /* __cplusplus */
 27#endif
 28
 29#ifndef __BackgroundCopyManager1_5_FWD_DEFINED__
 30#define __BackgroundCopyManager1_5_FWD_DEFINED__
 31#ifdef __cplusplus
 32typedef class BackgroundCopyManager1_5 BackgroundCopyManager1_5;
 33#else
 34typedef struct BackgroundCopyManager1_5 BackgroundCopyManager1_5;
 35#endif /* defined __cplusplus */
 36#endif /* defined __BackgroundCopyManager1_5_FWD_DEFINED__ */
 37
 38/* Headers for imported files */
 39
 40#include <bits.h>
 41
 42#ifdef __cplusplus
 43extern "C" {
 44#endif
 45
 46/*****************************************************************************
 47 * IBackgroundCopyJob2 interface
 48 */
 49#ifndef __IBackgroundCopyJob2_INTERFACE_DEFINED__
 50#define __IBackgroundCopyJob2_INTERFACE_DEFINED__
 51
 52typedef struct _BG_JOB_REPLY_PROGRESS {
 53    UINT64 BytesTotal;
 54    UINT64 BytesTransferred;
 55} BG_JOB_REPLY_PROGRESS;
 56typedef enum __WIDL_bits1_5_generated_name_00000011 {
 57    BG_AUTH_TARGET_SERVER = 1,
 58    BG_AUTH_TARGET_PROXY = 2
 59} BG_AUTH_TARGET;
 60typedef enum __WIDL_bits1_5_generated_name_00000012 {
 61    BG_AUTH_SCHEME_BASIC = 1,
 62    BG_AUTH_SCHEME_DIGEST = 2,
 63    BG_AUTH_SCHEME_NTLM = 3,
 64    BG_AUTH_SCHEME_NEGOTIATE = 4,
 65    BG_AUTH_SCHEME_PASSPORT = 5
 66} BG_AUTH_SCHEME;
 67typedef struct __WIDL_bits1_5_generated_name_00000013 {
 68    LPWSTR UserName;
 69    LPWSTR Password;
 70} BG_BASIC_CREDENTIALS;
 71typedef BG_BASIC_CREDENTIALS *PBG_BASIC_CREDENTIALS;
 72typedef union __WIDL_bits1_5_generated_name_00000014 {
 73    BG_BASIC_CREDENTIALS Basic;
 74} BG_AUTH_CREDENTIALS_UNION;
 75typedef struct __WIDL_bits1_5_generated_name_00000015 {
 76    BG_AUTH_TARGET Target;
 77    BG_AUTH_SCHEME Scheme;
 78    BG_AUTH_CREDENTIALS_UNION Credentials;
 79} BG_AUTH_CREDENTIALS;
 80typedef BG_AUTH_CREDENTIALS *PBG_AUTH_CREDENTIALS;
 81DEFINE_GUID(IID_IBackgroundCopyJob2, 0x54b50739, 0x686f, 0x45eb, 0x9d,0xff, 0xd6,0xa9,0xa0,0xfa,0xa9,0xaf);
 82#if defined(__cplusplus) && !defined(CINTERFACE)
 83MIDL_INTERFACE("54b50739-686f-45eb-9dff-d6a9a0faa9af")
 84IBackgroundCopyJob2 : public IBackgroundCopyJob
 85{
 86    virtual HRESULT STDMETHODCALLTYPE SetNotifyCmdLine(
 87        LPCWSTR prog,
 88        LPCWSTR params) = 0;
 89
 90    virtual HRESULT STDMETHODCALLTYPE GetNotifyCmdLine(
 91        LPWSTR *prog,
 92        LPWSTR *params) = 0;
 93
 94    virtual HRESULT STDMETHODCALLTYPE GetReplyProgress(
 95        BG_JOB_REPLY_PROGRESS *progress) = 0;
 96
 97    virtual HRESULT STDMETHODCALLTYPE GetReplyData(
 98        byte **pBuffer,
 99        UINT64 *pLength) = 0;
100
101    virtual HRESULT STDMETHODCALLTYPE SetReplyFileName(
102        LPCWSTR filename) = 0;
103
104    virtual HRESULT STDMETHODCALLTYPE GetReplyFileName(
105        LPWSTR *pFilename) = 0;
106
107    virtual HRESULT STDMETHODCALLTYPE SetCredentials(
108        BG_AUTH_CREDENTIALS *cred) = 0;
109
110    virtual HRESULT STDMETHODCALLTYPE RemoveCredentials(
111        BG_AUTH_TARGET target,
112        BG_AUTH_SCHEME scheme) = 0;
113
114};
115#ifdef __CRT_UUID_DECL
116__CRT_UUID_DECL(IBackgroundCopyJob2, 0x54b50739, 0x686f, 0x45eb, 0x9d,0xff, 0xd6,0xa9,0xa0,0xfa,0xa9,0xaf)
117#endif
118#else
119typedef struct IBackgroundCopyJob2Vtbl {
120    BEGIN_INTERFACE
121
122    /*** IUnknown methods ***/
123    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
124        IBackgroundCopyJob2 *This,
125        REFIID riid,
126        void **ppvObject);
127
128    ULONG (STDMETHODCALLTYPE *AddRef)(
129        IBackgroundCopyJob2 *This);
130
131    ULONG (STDMETHODCALLTYPE *Release)(
132        IBackgroundCopyJob2 *This);
133
134    /*** IBackgroundCopyJob methods ***/
135    HRESULT (STDMETHODCALLTYPE *AddFileSet)(
136        IBackgroundCopyJob2 *This,
137        ULONG cFileCount,
138        BG_FILE_INFO *pFileSet);
139
140    HRESULT (STDMETHODCALLTYPE *AddFile)(
141        IBackgroundCopyJob2 *This,
142        LPCWSTR RemoteUrl,
143        LPCWSTR LocalName);
144
145    HRESULT (STDMETHODCALLTYPE *EnumFiles)(
146        IBackgroundCopyJob2 *This,
147        IEnumBackgroundCopyFiles **pEnum);
148
149    HRESULT (STDMETHODCALLTYPE *Suspend)(
150        IBackgroundCopyJob2 *This);
151
152    HRESULT (STDMETHODCALLTYPE *Resume)(
153        IBackgroundCopyJob2 *This);
154
155    HRESULT (STDMETHODCALLTYPE *Cancel)(
156        IBackgroundCopyJob2 *This);
157
158    HRESULT (STDMETHODCALLTYPE *Complete)(
159        IBackgroundCopyJob2 *This);
160
161    HRESULT (STDMETHODCALLTYPE *GetId)(
162        IBackgroundCopyJob2 *This,
163        GUID *pVal);
164
165    HRESULT (STDMETHODCALLTYPE *GetType)(
166        IBackgroundCopyJob2 *This,
167        BG_JOB_TYPE *pVal);
168
169    HRESULT (STDMETHODCALLTYPE *GetProgress)(
170        IBackgroundCopyJob2 *This,
171        BG_JOB_PROGRESS *pVal);
172
173    HRESULT (STDMETHODCALLTYPE *GetTimes)(
174        IBackgroundCopyJob2 *This,
175        BG_JOB_TIMES *pVal);
176
177    HRESULT (STDMETHODCALLTYPE *GetState)(
178        IBackgroundCopyJob2 *This,
179        BG_JOB_STATE *pVal);
180
181    HRESULT (STDMETHODCALLTYPE *GetError)(
182        IBackgroundCopyJob2 *This,
183        IBackgroundCopyError **ppError);
184
185    HRESULT (STDMETHODCALLTYPE *GetOwner)(
186        IBackgroundCopyJob2 *This,
187        LPWSTR *pVal);
188
189    HRESULT (STDMETHODCALLTYPE *SetDisplayName)(
190        IBackgroundCopyJob2 *This,
191        LPCWSTR Val);
192
193    HRESULT (STDMETHODCALLTYPE *GetDisplayName)(
194        IBackgroundCopyJob2 *This,
195        LPWSTR *pVal);
196
197    HRESULT (STDMETHODCALLTYPE *SetDescription)(
198        IBackgroundCopyJob2 *This,
199        LPCWSTR Val);
200
201    HRESULT (STDMETHODCALLTYPE *GetDescription)(
202        IBackgroundCopyJob2 *This,
203        LPWSTR *pVal);
204
205    HRESULT (STDMETHODCALLTYPE *SetPriority)(
206        IBackgroundCopyJob2 *This,
207        BG_JOB_PRIORITY Val);
208
209    HRESULT (STDMETHODCALLTYPE *GetPriority)(
210        IBackgroundCopyJob2 *This,
211        BG_JOB_PRIORITY *pVal);
212
213    HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)(
214        IBackgroundCopyJob2 *This,
215        ULONG Val);
216
217    HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)(
218        IBackgroundCopyJob2 *This,
219        ULONG *pVal);
220
221    HRESULT (STDMETHODCALLTYPE *SetNotifyInterface)(
222        IBackgroundCopyJob2 *This,
223        IUnknown *Val);
224
225    HRESULT (STDMETHODCALLTYPE *GetNotifyInterface)(
226        IBackgroundCopyJob2 *This,
227        IUnknown **pVal);
228
229    HRESULT (STDMETHODCALLTYPE *SetMinimumRetryDelay)(
230        IBackgroundCopyJob2 *This,
231        ULONG Seconds);
232
233    HRESULT (STDMETHODCALLTYPE *GetMinimumRetryDelay)(
234        IBackgroundCopyJob2 *This,
235        ULONG *Seconds);
236
237    HRESULT (STDMETHODCALLTYPE *SetNoProgressTimeout)(
238        IBackgroundCopyJob2 *This,
239        ULONG Seconds);
240
241    HRESULT (STDMETHODCALLTYPE *GetNoProgressTimeout)(
242        IBackgroundCopyJob2 *This,
243        ULONG *Seconds);
244
245    HRESULT (STDMETHODCALLTYPE *GetErrorCount)(
246        IBackgroundCopyJob2 *This,
247        ULONG *Errors);
248
249    HRESULT (STDMETHODCALLTYPE *SetProxySettings)(
250        IBackgroundCopyJob2 *This,
251        BG_JOB_PROXY_USAGE ProxyUsage,
252        const WCHAR *ProxyList,
253        const WCHAR *ProxyBypassList);
254
255    HRESULT (STDMETHODCALLTYPE *GetProxySettings)(
256        IBackgroundCopyJob2 *This,
257        BG_JOB_PROXY_USAGE *pProxyUsage,
258        LPWSTR *pProxyList,
259        LPWSTR *pProxyBypassList);
260
261    HRESULT (STDMETHODCALLTYPE *TakeOwnership)(
262        IBackgroundCopyJob2 *This);
263
264    /*** IBackgroundCopyJob2 methods ***/
265    HRESULT (STDMETHODCALLTYPE *SetNotifyCmdLine)(
266        IBackgroundCopyJob2 *This,
267        LPCWSTR prog,
268        LPCWSTR params);
269
270    HRESULT (STDMETHODCALLTYPE *GetNotifyCmdLine)(
271        IBackgroundCopyJob2 *This,
272        LPWSTR *prog,
273        LPWSTR *params);
274
275    HRESULT (STDMETHODCALLTYPE *GetReplyProgress)(
276        IBackgroundCopyJob2 *This,
277        BG_JOB_REPLY_PROGRESS *progress);
278
279    HRESULT (STDMETHODCALLTYPE *GetReplyData)(
280        IBackgroundCopyJob2 *This,
281        byte **pBuffer,
282        UINT64 *pLength);
283
284    HRESULT (STDMETHODCALLTYPE *SetReplyFileName)(
285        IBackgroundCopyJob2 *This,
286        LPCWSTR filename);
287
288    HRESULT (STDMETHODCALLTYPE *GetReplyFileName)(
289        IBackgroundCopyJob2 *This,
290        LPWSTR *pFilename);
291
292    HRESULT (STDMETHODCALLTYPE *SetCredentials)(
293        IBackgroundCopyJob2 *This,
294        BG_AUTH_CREDENTIALS *cred);
295
296    HRESULT (STDMETHODCALLTYPE *RemoveCredentials)(
297        IBackgroundCopyJob2 *This,
298        BG_AUTH_TARGET target,
299        BG_AUTH_SCHEME scheme);
300
301    END_INTERFACE
302} IBackgroundCopyJob2Vtbl;
303
304interface IBackgroundCopyJob2 {
305    CONST_VTBL IBackgroundCopyJob2Vtbl* lpVtbl;
306};
307
308#ifdef COBJMACROS
309#ifndef WIDL_C_INLINE_WRAPPERS
310/*** IUnknown methods ***/
311#define IBackgroundCopyJob2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
312#define IBackgroundCopyJob2_AddRef(This) (This)->lpVtbl->AddRef(This)
313#define IBackgroundCopyJob2_Release(This) (This)->lpVtbl->Release(This)
314/*** IBackgroundCopyJob methods ***/
315#define IBackgroundCopyJob2_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl->AddFileSet(This,cFileCount,pFileSet)
316#define IBackgroundCopyJob2_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl->AddFile(This,RemoteUrl,LocalName)
317#define IBackgroundCopyJob2_EnumFiles(This,pEnum) (This)->lpVtbl->EnumFiles(This,pEnum)
318#define IBackgroundCopyJob2_Suspend(This) (This)->lpVtbl->Suspend(This)
319#define IBackgroundCopyJob2_Resume(This) (This)->lpVtbl->Resume(This)
320#define IBackgroundCopyJob2_Cancel(This) (This)->lpVtbl->Cancel(This)
321#define IBackgroundCopyJob2_Complete(This) (This)->lpVtbl->Complete(This)
322#define IBackgroundCopyJob2_GetId(This,pVal) (This)->lpVtbl->GetId(This,pVal)
323#define IBackgroundCopyJob2_GetType(This,pVal) (This)->lpVtbl->GetType(This,pVal)
324#define IBackgroundCopyJob2_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal)
325#define IBackgroundCopyJob2_GetTimes(This,pVal) (This)->lpVtbl->GetTimes(This,pVal)
326#define IBackgroundCopyJob2_GetState(This,pVal) (This)->lpVtbl->GetState(This,pVal)
327#define IBackgroundCopyJob2_GetError(This,ppError) (This)->lpVtbl->GetError(This,ppError)
328#define IBackgroundCopyJob2_GetOwner(This,pVal) (This)->lpVtbl->GetOwner(This,pVal)
329#define IBackgroundCopyJob2_SetDisplayName(This,Val) (This)->lpVtbl->SetDisplayName(This,Val)
330#define IBackgroundCopyJob2_GetDisplayName(This,pVal) (This)->lpVtbl->GetDisplayName(This,pVal)
331#define IBackgroundCopyJob2_SetDescription(This,Val) (This)->lpVtbl->SetDescription(This,Val)
332#define IBackgroundCopyJob2_GetDescription(This,pVal) (This)->lpVtbl->GetDescription(This,pVal)
333#define IBackgroundCopyJob2_SetPriority(This,Val) (This)->lpVtbl->SetPriority(This,Val)
334#define IBackgroundCopyJob2_GetPriority(This,pVal) (This)->lpVtbl->GetPriority(This,pVal)
335#define IBackgroundCopyJob2_SetNotifyFlags(This,Val) (This)->lpVtbl->SetNotifyFlags(This,Val)
336#define IBackgroundCopyJob2_GetNotifyFlags(This,pVal) (This)->lpVtbl->GetNotifyFlags(This,pVal)
337#define IBackgroundCopyJob2_SetNotifyInterface(This,Val) (This)->lpVtbl->SetNotifyInterface(This,Val)
338#define IBackgroundCopyJob2_GetNotifyInterface(This,pVal) (This)->lpVtbl->GetNotifyInterface(This,pVal)
339#define IBackgroundCopyJob2_SetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->SetMinimumRetryDelay(This,Seconds)
340#define IBackgroundCopyJob2_GetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->GetMinimumRetryDelay(This,Seconds)
341#define IBackgroundCopyJob2_SetNoProgressTimeout(This,Seconds) (This)->lpVtbl->SetNoProgressTimeout(This,Seconds)
342#define IBackgroundCopyJob2_GetNoProgressTimeout(This,Seconds) (This)->lpVtbl->GetNoProgressTimeout(This,Seconds)
343#define IBackgroundCopyJob2_GetErrorCount(This,Errors) (This)->lpVtbl->GetErrorCount(This,Errors)
344#define IBackgroundCopyJob2_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList)
345#define IBackgroundCopyJob2_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList)
346#define IBackgroundCopyJob2_TakeOwnership(This) (This)->lpVtbl->TakeOwnership(This)
347/*** IBackgroundCopyJob2 methods ***/
348#define IBackgroundCopyJob2_SetNotifyCmdLine(This,prog,params) (This)->lpVtbl->SetNotifyCmdLine(This,prog,params)
349#define IBackgroundCopyJob2_GetNotifyCmdLine(This,prog,params) (This)->lpVtbl->GetNotifyCmdLine(This,prog,params)
350#define IBackgroundCopyJob2_GetReplyProgress(This,progress) (This)->lpVtbl->GetReplyProgress(This,progress)
351#define IBackgroundCopyJob2_GetReplyData(This,pBuffer,pLength) (This)->lpVtbl->GetReplyData(This,pBuffer,pLength)
352#define IBackgroundCopyJob2_SetReplyFileName(This,filename) (This)->lpVtbl->SetReplyFileName(This,filename)
353#define IBackgroundCopyJob2_GetReplyFileName(This,pFilename) (This)->lpVtbl->GetReplyFileName(This,pFilename)
354#define IBackgroundCopyJob2_SetCredentials(This,cred) (This)->lpVtbl->SetCredentials(This,cred)
355#define IBackgroundCopyJob2_RemoveCredentials(This,target,scheme) (This)->lpVtbl->RemoveCredentials(This,target,scheme)
356#else
357/*** IUnknown methods ***/
358static inline HRESULT IBackgroundCopyJob2_QueryInterface(IBackgroundCopyJob2* This,REFIID riid,void **ppvObject) {
359    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
360}
361static inline ULONG IBackgroundCopyJob2_AddRef(IBackgroundCopyJob2* This) {
362    return This->lpVtbl->AddRef(This);
363}
364static inline ULONG IBackgroundCopyJob2_Release(IBackgroundCopyJob2* This) {
365    return This->lpVtbl->Release(This);
366}
367/*** IBackgroundCopyJob methods ***/
368static inline HRESULT IBackgroundCopyJob2_AddFileSet(IBackgroundCopyJob2* This,ULONG cFileCount,BG_FILE_INFO *pFileSet) {
369    return This->lpVtbl->AddFileSet(This,cFileCount,pFileSet);
370}
371static inline HRESULT IBackgroundCopyJob2_AddFile(IBackgroundCopyJob2* This,LPCWSTR RemoteUrl,LPCWSTR LocalName) {
372    return This->lpVtbl->AddFile(This,RemoteUrl,LocalName);
373}
374static inline HRESULT IBackgroundCopyJob2_EnumFiles(IBackgroundCopyJob2* This,IEnumBackgroundCopyFiles **pEnum) {
375    return This->lpVtbl->EnumFiles(This,pEnum);
376}
377static inline HRESULT IBackgroundCopyJob2_Suspend(IBackgroundCopyJob2* This) {
378    return This->lpVtbl->Suspend(This);
379}
380static inline HRESULT IBackgroundCopyJob2_Resume(IBackgroundCopyJob2* This) {
381    return This->lpVtbl->Resume(This);
382}
383static inline HRESULT IBackgroundCopyJob2_Cancel(IBackgroundCopyJob2* This) {
384    return This->lpVtbl->Cancel(This);
385}
386static inline HRESULT IBackgroundCopyJob2_Complete(IBackgroundCopyJob2* This) {
387    return This->lpVtbl->Complete(This);
388}
389static inline HRESULT IBackgroundCopyJob2_GetId(IBackgroundCopyJob2* This,GUID *pVal) {
390    return This->lpVtbl->GetId(This,pVal);
391}
392static inline HRESULT IBackgroundCopyJob2_GetType(IBackgroundCopyJob2* This,BG_JOB_TYPE *pVal) {
393    return This->lpVtbl->GetType(This,pVal);
394}
395static inline HRESULT IBackgroundCopyJob2_GetProgress(IBackgroundCopyJob2* This,BG_JOB_PROGRESS *pVal) {
396    return This->lpVtbl->GetProgress(This,pVal);
397}
398static inline HRESULT IBackgroundCopyJob2_GetTimes(IBackgroundCopyJob2* This,BG_JOB_TIMES *pVal) {
399    return This->lpVtbl->GetTimes(This,pVal);
400}
401static inline HRESULT IBackgroundCopyJob2_GetState(IBackgroundCopyJob2* This,BG_JOB_STATE *pVal) {
402    return This->lpVtbl->GetState(This,pVal);
403}
404static inline HRESULT IBackgroundCopyJob2_GetError(IBackgroundCopyJob2* This,IBackgroundCopyError **ppError) {
405    return This->lpVtbl->GetError(This,ppError);
406}
407static inline HRESULT IBackgroundCopyJob2_GetOwner(IBackgroundCopyJob2* This,LPWSTR *pVal) {
408    return This->lpVtbl->GetOwner(This,pVal);
409}
410static inline HRESULT IBackgroundCopyJob2_SetDisplayName(IBackgroundCopyJob2* This,LPCWSTR Val) {
411    return This->lpVtbl->SetDisplayName(This,Val);
412}
413static inline HRESULT IBackgroundCopyJob2_GetDisplayName(IBackgroundCopyJob2* This,LPWSTR *pVal) {
414    return This->lpVtbl->GetDisplayName(This,pVal);
415}
416static inline HRESULT IBackgroundCopyJob2_SetDescription(IBackgroundCopyJob2* This,LPCWSTR Val) {
417    return This->lpVtbl->SetDescription(This,Val);
418}
419static inline HRESULT IBackgroundCopyJob2_GetDescription(IBackgroundCopyJob2* This,LPWSTR *pVal) {
420    return This->lpVtbl->GetDescription(This,pVal);
421}
422static inline HRESULT IBackgroundCopyJob2_SetPriority(IBackgroundCopyJob2* This,BG_JOB_PRIORITY Val) {
423    return This->lpVtbl->SetPriority(This,Val);
424}
425static inline HRESULT IBackgroundCopyJob2_GetPriority(IBackgroundCopyJob2* This,BG_JOB_PRIORITY *pVal) {
426    return This->lpVtbl->GetPriority(This,pVal);
427}
428static inline HRESULT IBackgroundCopyJob2_SetNotifyFlags(IBackgroundCopyJob2* This,ULONG Val) {
429    return This->lpVtbl->SetNotifyFlags(This,Val);
430}
431static inline HRESULT IBackgroundCopyJob2_GetNotifyFlags(IBackgroundCopyJob2* This,ULONG *pVal) {
432    return This->lpVtbl->GetNotifyFlags(This,pVal);
433}
434static inline HRESULT IBackgroundCopyJob2_SetNotifyInterface(IBackgroundCopyJob2* This,IUnknown *Val) {
435    return This->lpVtbl->SetNotifyInterface(This,Val);
436}
437static inline HRESULT IBackgroundCopyJob2_GetNotifyInterface(IBackgroundCopyJob2* This,IUnknown **pVal) {
438    return This->lpVtbl->GetNotifyInterface(This,pVal);
439}
440static inline HRESULT IBackgroundCopyJob2_SetMinimumRetryDelay(IBackgroundCopyJob2* This,ULONG Seconds) {
441    return This->lpVtbl->SetMinimumRetryDelay(This,Seconds);
442}
443static inline HRESULT IBackgroundCopyJob2_GetMinimumRetryDelay(IBackgroundCopyJob2* This,ULONG *Seconds) {
444    return This->lpVtbl->GetMinimumRetryDelay(This,Seconds);
445}
446static inline HRESULT IBackgroundCopyJob2_SetNoProgressTimeout(IBackgroundCopyJob2* This,ULONG Seconds) {
447    return This->lpVtbl->SetNoProgressTimeout(This,Seconds);
448}
449static inline HRESULT IBackgroundCopyJob2_GetNoProgressTimeout(IBackgroundCopyJob2* This,ULONG *Seconds) {
450    return This->lpVtbl->GetNoProgressTimeout(This,Seconds);
451}
452static inline HRESULT IBackgroundCopyJob2_GetErrorCount(IBackgroundCopyJob2* This,ULONG *Errors) {
453    return This->lpVtbl->GetErrorCount(This,Errors);
454}
455static inline HRESULT IBackgroundCopyJob2_SetProxySettings(IBackgroundCopyJob2* This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList) {
456    return This->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList);
457}
458static inline HRESULT IBackgroundCopyJob2_GetProxySettings(IBackgroundCopyJob2* This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList) {
459    return This->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList);
460}
461static inline HRESULT IBackgroundCopyJob2_TakeOwnership(IBackgroundCopyJob2* This) {
462    return This->lpVtbl->TakeOwnership(This);
463}
464/*** IBackgroundCopyJob2 methods ***/
465static inline HRESULT IBackgroundCopyJob2_SetNotifyCmdLine(IBackgroundCopyJob2* This,LPCWSTR prog,LPCWSTR params) {
466    return This->lpVtbl->SetNotifyCmdLine(This,prog,params);
467}
468static inline HRESULT IBackgroundCopyJob2_GetNotifyCmdLine(IBackgroundCopyJob2* This,LPWSTR *prog,LPWSTR *params) {
469    return This->lpVtbl->GetNotifyCmdLine(This,prog,params);
470}
471static inline HRESULT IBackgroundCopyJob2_GetReplyProgress(IBackgroundCopyJob2* This,BG_JOB_REPLY_PROGRESS *progress) {
472    return This->lpVtbl->GetReplyProgress(This,progress);
473}
474static inline HRESULT IBackgroundCopyJob2_GetReplyData(IBackgroundCopyJob2* This,byte **pBuffer,UINT64 *pLength) {
475    return This->lpVtbl->GetReplyData(This,pBuffer,pLength);
476}
477static inline HRESULT IBackgroundCopyJob2_SetReplyFileName(IBackgroundCopyJob2* This,LPCWSTR filename) {
478    return This->lpVtbl->SetReplyFileName(This,filename);
479}
480static inline HRESULT IBackgroundCopyJob2_GetReplyFileName(IBackgroundCopyJob2* This,LPWSTR *pFilename) {
481    return This->lpVtbl->GetReplyFileName(This,pFilename);
482}
483static inline HRESULT IBackgroundCopyJob2_SetCredentials(IBackgroundCopyJob2* This,BG_AUTH_CREDENTIALS *cred) {
484    return This->lpVtbl->SetCredentials(This,cred);
485}
486static inline HRESULT IBackgroundCopyJob2_RemoveCredentials(IBackgroundCopyJob2* This,BG_AUTH_TARGET target,BG_AUTH_SCHEME scheme) {
487    return This->lpVtbl->RemoveCredentials(This,target,scheme);
488}
489#endif
490#endif
491
492#endif
493
494
495#endif  /* __IBackgroundCopyJob2_INTERFACE_DEFINED__ */
496
497#ifndef __BackgroundCopyManager1_5_LIBRARY_DEFINED__
498#define __BackgroundCopyManager1_5_LIBRARY_DEFINED__
499
500DEFINE_GUID(LIBID_BackgroundCopyManager1_5, 0xea9319ea, 0xc628, 0x480f, 0x83,0x31, 0x76,0x8f,0xac,0x39,0x7e,0x4e);
501
502/*****************************************************************************
503 * BackgroundCopyManager1_5 coclass
504 */
505
506DEFINE_GUID(CLSID_BackgroundCopyManager1_5, 0xf087771f, 0xd74f, 0x4c1a, 0xbb,0x8a, 0xe1,0x6a,0xca,0x91,0x24,0xea);
507
508#ifdef __cplusplus
509class DECLSPEC_UUID("f087771f-d74f-4c1a-bb8a-e16aca9124ea") BackgroundCopyManager1_5;
510#ifdef __CRT_UUID_DECL
511__CRT_UUID_DECL(BackgroundCopyManager1_5, 0xf087771f, 0xd74f, 0x4c1a, 0xbb,0x8a, 0xe1,0x6a,0xca,0x91,0x24,0xea)
512#endif
513#endif
514
515#ifndef __IBackgroundCopyCallback_FWD_DEFINED__
516#define __IBackgroundCopyCallback_FWD_DEFINED__
517typedef interface IBackgroundCopyCallback IBackgroundCopyCallback;
518#ifdef __cplusplus
519interface IBackgroundCopyCallback;
520#endif /* __cplusplus */
521#endif
522
523#ifndef __IBackgroundCopyJob2_FWD_DEFINED__
524#define __IBackgroundCopyJob2_FWD_DEFINED__
525typedef interface IBackgroundCopyJob2 IBackgroundCopyJob2;
526#ifdef __cplusplus
527interface IBackgroundCopyJob2;
528#endif /* __cplusplus */
529#endif
530
531#endif /* __BackgroundCopyManager1_5_LIBRARY_DEFINED__ */
532#include "bits2_0.h"
533/* Begin additional prototypes for all interfaces */
534
535
536/* End additional prototypes */
537
538#ifdef __cplusplus
539}
540#endif
541
542#endif /* __bits1_5_h__ */