zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

bits2_0.h (27396B) - Raw


      1 /*** Autogenerated by WIDL 10.4 from include/bits2_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 __bits2_0_h__
     17 #define __bits2_0_h__
     18 
     19 /* Forward declarations */
     20 
     21 #ifndef __IBackgroundCopyJob3_FWD_DEFINED__
     22 #define __IBackgroundCopyJob3_FWD_DEFINED__
     23 typedef interface IBackgroundCopyJob3 IBackgroundCopyJob3;
     24 #ifdef __cplusplus
     25 interface IBackgroundCopyJob3;
     26 #endif /* __cplusplus */
     27 #endif
     28 
     29 #ifndef __IBackgroundCopyFile2_FWD_DEFINED__
     30 #define __IBackgroundCopyFile2_FWD_DEFINED__
     31 typedef interface IBackgroundCopyFile2 IBackgroundCopyFile2;
     32 #ifdef __cplusplus
     33 interface IBackgroundCopyFile2;
     34 #endif /* __cplusplus */
     35 #endif
     36 
     37 #ifndef __BackgroundCopyManager2_0_FWD_DEFINED__
     38 #define __BackgroundCopyManager2_0_FWD_DEFINED__
     39 #ifdef __cplusplus
     40 typedef class BackgroundCopyManager2_0 BackgroundCopyManager2_0;
     41 #else
     42 typedef struct BackgroundCopyManager2_0 BackgroundCopyManager2_0;
     43 #endif /* defined __cplusplus */
     44 #endif /* defined __BackgroundCopyManager2_0_FWD_DEFINED__ */
     45 
     46 /* Headers for imported files */
     47 
     48 #include <bits.h>
     49 #include <bits1_5.h>
     50 
     51 #ifdef __cplusplus
     52 extern "C" {
     53 #endif
     54 
     55 #define BG_COPY_FILE_OWNER 1
     56 #define BG_COPY_FILE_GROUP 2
     57 #define BG_COPY_FILE_DACL  4
     58 #define BG_COPY_FILE_SACL  8
     59 #define BG_COPY_FILE_ALL   15
     60 #define BG_LENGTH_TO_EOF (UINT64)(-1)
     61 #ifndef _BG_FILE_RANGE_DEFINED
     62 #define _BG_FILE_RANGE_DEFINED
     63 typedef struct _BG_FILE_RANGE {
     64     UINT64 InitialOffset;
     65     UINT64 Length;
     66 } BG_FILE_RANGE;
     67 #endif
     68 /*****************************************************************************
     69  * IBackgroundCopyJob3 interface
     70  */
     71 #ifndef __IBackgroundCopyJob3_INTERFACE_DEFINED__
     72 #define __IBackgroundCopyJob3_INTERFACE_DEFINED__
     73 
     74 DEFINE_GUID(IID_IBackgroundCopyJob3, 0x443c8934, 0x90ff, 0x48ed, 0xbc,0xde, 0x26,0xf5,0xc7,0x45,0x00,0x42);
     75 #if defined(__cplusplus) && !defined(CINTERFACE)
     76 MIDL_INTERFACE("443c8934-90ff-48ed-bcde-26f5c7450042")
     77 IBackgroundCopyJob3 : public IBackgroundCopyJob2
     78 {
     79     virtual HRESULT STDMETHODCALLTYPE ReplaceRemotePrefix(
     80         LPCWSTR OldPrefix,
     81         LPCWSTR NewPrefix) = 0;
     82 
     83     virtual HRESULT STDMETHODCALLTYPE AddFileWithRanges(
     84         LPCWSTR RemoteUrl,
     85         LPCWSTR LocalName,
     86         DWORD RangeCount,
     87         BG_FILE_RANGE Ranges[]) = 0;
     88 
     89     virtual HRESULT STDMETHODCALLTYPE SetFileACLFlags(
     90         DWORD Flags) = 0;
     91 
     92     virtual HRESULT STDMETHODCALLTYPE GetFileACLFlags(
     93         DWORD *Flags) = 0;
     94 
     95 };
     96 #ifdef __CRT_UUID_DECL
     97 __CRT_UUID_DECL(IBackgroundCopyJob3, 0x443c8934, 0x90ff, 0x48ed, 0xbc,0xde, 0x26,0xf5,0xc7,0x45,0x00,0x42)
     98 #endif
     99 #else
    100 typedef struct IBackgroundCopyJob3Vtbl {
    101     BEGIN_INTERFACE
    102 
    103     /*** IUnknown methods ***/
    104     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
    105         IBackgroundCopyJob3 *This,
    106         REFIID riid,
    107         void **ppvObject);
    108 
    109     ULONG (STDMETHODCALLTYPE *AddRef)(
    110         IBackgroundCopyJob3 *This);
    111 
    112     ULONG (STDMETHODCALLTYPE *Release)(
    113         IBackgroundCopyJob3 *This);
    114 
    115     /*** IBackgroundCopyJob methods ***/
    116     HRESULT (STDMETHODCALLTYPE *AddFileSet)(
    117         IBackgroundCopyJob3 *This,
    118         ULONG cFileCount,
    119         BG_FILE_INFO *pFileSet);
    120 
    121     HRESULT (STDMETHODCALLTYPE *AddFile)(
    122         IBackgroundCopyJob3 *This,
    123         LPCWSTR RemoteUrl,
    124         LPCWSTR LocalName);
    125 
    126     HRESULT (STDMETHODCALLTYPE *EnumFiles)(
    127         IBackgroundCopyJob3 *This,
    128         IEnumBackgroundCopyFiles **pEnum);
    129 
    130     HRESULT (STDMETHODCALLTYPE *Suspend)(
    131         IBackgroundCopyJob3 *This);
    132 
    133     HRESULT (STDMETHODCALLTYPE *Resume)(
    134         IBackgroundCopyJob3 *This);
    135 
    136     HRESULT (STDMETHODCALLTYPE *Cancel)(
    137         IBackgroundCopyJob3 *This);
    138 
    139     HRESULT (STDMETHODCALLTYPE *Complete)(
    140         IBackgroundCopyJob3 *This);
    141 
    142     HRESULT (STDMETHODCALLTYPE *GetId)(
    143         IBackgroundCopyJob3 *This,
    144         GUID *pVal);
    145 
    146     HRESULT (STDMETHODCALLTYPE *GetType)(
    147         IBackgroundCopyJob3 *This,
    148         BG_JOB_TYPE *pVal);
    149 
    150     HRESULT (STDMETHODCALLTYPE *GetProgress)(
    151         IBackgroundCopyJob3 *This,
    152         BG_JOB_PROGRESS *pVal);
    153 
    154     HRESULT (STDMETHODCALLTYPE *GetTimes)(
    155         IBackgroundCopyJob3 *This,
    156         BG_JOB_TIMES *pVal);
    157 
    158     HRESULT (STDMETHODCALLTYPE *GetState)(
    159         IBackgroundCopyJob3 *This,
    160         BG_JOB_STATE *pVal);
    161 
    162     HRESULT (STDMETHODCALLTYPE *GetError)(
    163         IBackgroundCopyJob3 *This,
    164         IBackgroundCopyError **ppError);
    165 
    166     HRESULT (STDMETHODCALLTYPE *GetOwner)(
    167         IBackgroundCopyJob3 *This,
    168         LPWSTR *pVal);
    169 
    170     HRESULT (STDMETHODCALLTYPE *SetDisplayName)(
    171         IBackgroundCopyJob3 *This,
    172         LPCWSTR Val);
    173 
    174     HRESULT (STDMETHODCALLTYPE *GetDisplayName)(
    175         IBackgroundCopyJob3 *This,
    176         LPWSTR *pVal);
    177 
    178     HRESULT (STDMETHODCALLTYPE *SetDescription)(
    179         IBackgroundCopyJob3 *This,
    180         LPCWSTR Val);
    181 
    182     HRESULT (STDMETHODCALLTYPE *GetDescription)(
    183         IBackgroundCopyJob3 *This,
    184         LPWSTR *pVal);
    185 
    186     HRESULT (STDMETHODCALLTYPE *SetPriority)(
    187         IBackgroundCopyJob3 *This,
    188         BG_JOB_PRIORITY Val);
    189 
    190     HRESULT (STDMETHODCALLTYPE *GetPriority)(
    191         IBackgroundCopyJob3 *This,
    192         BG_JOB_PRIORITY *pVal);
    193 
    194     HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)(
    195         IBackgroundCopyJob3 *This,
    196         ULONG Val);
    197 
    198     HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)(
    199         IBackgroundCopyJob3 *This,
    200         ULONG *pVal);
    201 
    202     HRESULT (STDMETHODCALLTYPE *SetNotifyInterface)(
    203         IBackgroundCopyJob3 *This,
    204         IUnknown *Val);
    205 
    206     HRESULT (STDMETHODCALLTYPE *GetNotifyInterface)(
    207         IBackgroundCopyJob3 *This,
    208         IUnknown **pVal);
    209 
    210     HRESULT (STDMETHODCALLTYPE *SetMinimumRetryDelay)(
    211         IBackgroundCopyJob3 *This,
    212         ULONG Seconds);
    213 
    214     HRESULT (STDMETHODCALLTYPE *GetMinimumRetryDelay)(
    215         IBackgroundCopyJob3 *This,
    216         ULONG *Seconds);
    217 
    218     HRESULT (STDMETHODCALLTYPE *SetNoProgressTimeout)(
    219         IBackgroundCopyJob3 *This,
    220         ULONG Seconds);
    221 
    222     HRESULT (STDMETHODCALLTYPE *GetNoProgressTimeout)(
    223         IBackgroundCopyJob3 *This,
    224         ULONG *Seconds);
    225 
    226     HRESULT (STDMETHODCALLTYPE *GetErrorCount)(
    227         IBackgroundCopyJob3 *This,
    228         ULONG *Errors);
    229 
    230     HRESULT (STDMETHODCALLTYPE *SetProxySettings)(
    231         IBackgroundCopyJob3 *This,
    232         BG_JOB_PROXY_USAGE ProxyUsage,
    233         const WCHAR *ProxyList,
    234         const WCHAR *ProxyBypassList);
    235 
    236     HRESULT (STDMETHODCALLTYPE *GetProxySettings)(
    237         IBackgroundCopyJob3 *This,
    238         BG_JOB_PROXY_USAGE *pProxyUsage,
    239         LPWSTR *pProxyList,
    240         LPWSTR *pProxyBypassList);
    241 
    242     HRESULT (STDMETHODCALLTYPE *TakeOwnership)(
    243         IBackgroundCopyJob3 *This);
    244 
    245     /*** IBackgroundCopyJob2 methods ***/
    246     HRESULT (STDMETHODCALLTYPE *SetNotifyCmdLine)(
    247         IBackgroundCopyJob3 *This,
    248         LPCWSTR prog,
    249         LPCWSTR params);
    250 
    251     HRESULT (STDMETHODCALLTYPE *GetNotifyCmdLine)(
    252         IBackgroundCopyJob3 *This,
    253         LPWSTR *prog,
    254         LPWSTR *params);
    255 
    256     HRESULT (STDMETHODCALLTYPE *GetReplyProgress)(
    257         IBackgroundCopyJob3 *This,
    258         BG_JOB_REPLY_PROGRESS *progress);
    259 
    260     HRESULT (STDMETHODCALLTYPE *GetReplyData)(
    261         IBackgroundCopyJob3 *This,
    262         byte **pBuffer,
    263         UINT64 *pLength);
    264 
    265     HRESULT (STDMETHODCALLTYPE *SetReplyFileName)(
    266         IBackgroundCopyJob3 *This,
    267         LPCWSTR filename);
    268 
    269     HRESULT (STDMETHODCALLTYPE *GetReplyFileName)(
    270         IBackgroundCopyJob3 *This,
    271         LPWSTR *pFilename);
    272 
    273     HRESULT (STDMETHODCALLTYPE *SetCredentials)(
    274         IBackgroundCopyJob3 *This,
    275         BG_AUTH_CREDENTIALS *cred);
    276 
    277     HRESULT (STDMETHODCALLTYPE *RemoveCredentials)(
    278         IBackgroundCopyJob3 *This,
    279         BG_AUTH_TARGET target,
    280         BG_AUTH_SCHEME scheme);
    281 
    282     /*** IBackgroundCopyJob3 methods ***/
    283     HRESULT (STDMETHODCALLTYPE *ReplaceRemotePrefix)(
    284         IBackgroundCopyJob3 *This,
    285         LPCWSTR OldPrefix,
    286         LPCWSTR NewPrefix);
    287 
    288     HRESULT (STDMETHODCALLTYPE *AddFileWithRanges)(
    289         IBackgroundCopyJob3 *This,
    290         LPCWSTR RemoteUrl,
    291         LPCWSTR LocalName,
    292         DWORD RangeCount,
    293         BG_FILE_RANGE Ranges[]);
    294 
    295     HRESULT (STDMETHODCALLTYPE *SetFileACLFlags)(
    296         IBackgroundCopyJob3 *This,
    297         DWORD Flags);
    298 
    299     HRESULT (STDMETHODCALLTYPE *GetFileACLFlags)(
    300         IBackgroundCopyJob3 *This,
    301         DWORD *Flags);
    302 
    303     END_INTERFACE
    304 } IBackgroundCopyJob3Vtbl;
    305 
    306 interface IBackgroundCopyJob3 {
    307     CONST_VTBL IBackgroundCopyJob3Vtbl* lpVtbl;
    308 };
    309 
    310 #ifdef COBJMACROS
    311 #ifndef WIDL_C_INLINE_WRAPPERS
    312 /*** IUnknown methods ***/
    313 #define IBackgroundCopyJob3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    314 #define IBackgroundCopyJob3_AddRef(This) (This)->lpVtbl->AddRef(This)
    315 #define IBackgroundCopyJob3_Release(This) (This)->lpVtbl->Release(This)
    316 /*** IBackgroundCopyJob methods ***/
    317 #define IBackgroundCopyJob3_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl->AddFileSet(This,cFileCount,pFileSet)
    318 #define IBackgroundCopyJob3_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl->AddFile(This,RemoteUrl,LocalName)
    319 #define IBackgroundCopyJob3_EnumFiles(This,pEnum) (This)->lpVtbl->EnumFiles(This,pEnum)
    320 #define IBackgroundCopyJob3_Suspend(This) (This)->lpVtbl->Suspend(This)
    321 #define IBackgroundCopyJob3_Resume(This) (This)->lpVtbl->Resume(This)
    322 #define IBackgroundCopyJob3_Cancel(This) (This)->lpVtbl->Cancel(This)
    323 #define IBackgroundCopyJob3_Complete(This) (This)->lpVtbl->Complete(This)
    324 #define IBackgroundCopyJob3_GetId(This,pVal) (This)->lpVtbl->GetId(This,pVal)
    325 #define IBackgroundCopyJob3_GetType(This,pVal) (This)->lpVtbl->GetType(This,pVal)
    326 #define IBackgroundCopyJob3_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal)
    327 #define IBackgroundCopyJob3_GetTimes(This,pVal) (This)->lpVtbl->GetTimes(This,pVal)
    328 #define IBackgroundCopyJob3_GetState(This,pVal) (This)->lpVtbl->GetState(This,pVal)
    329 #define IBackgroundCopyJob3_GetError(This,ppError) (This)->lpVtbl->GetError(This,ppError)
    330 #define IBackgroundCopyJob3_GetOwner(This,pVal) (This)->lpVtbl->GetOwner(This,pVal)
    331 #define IBackgroundCopyJob3_SetDisplayName(This,Val) (This)->lpVtbl->SetDisplayName(This,Val)
    332 #define IBackgroundCopyJob3_GetDisplayName(This,pVal) (This)->lpVtbl->GetDisplayName(This,pVal)
    333 #define IBackgroundCopyJob3_SetDescription(This,Val) (This)->lpVtbl->SetDescription(This,Val)
    334 #define IBackgroundCopyJob3_GetDescription(This,pVal) (This)->lpVtbl->GetDescription(This,pVal)
    335 #define IBackgroundCopyJob3_SetPriority(This,Val) (This)->lpVtbl->SetPriority(This,Val)
    336 #define IBackgroundCopyJob3_GetPriority(This,pVal) (This)->lpVtbl->GetPriority(This,pVal)
    337 #define IBackgroundCopyJob3_SetNotifyFlags(This,Val) (This)->lpVtbl->SetNotifyFlags(This,Val)
    338 #define IBackgroundCopyJob3_GetNotifyFlags(This,pVal) (This)->lpVtbl->GetNotifyFlags(This,pVal)
    339 #define IBackgroundCopyJob3_SetNotifyInterface(This,Val) (This)->lpVtbl->SetNotifyInterface(This,Val)
    340 #define IBackgroundCopyJob3_GetNotifyInterface(This,pVal) (This)->lpVtbl->GetNotifyInterface(This,pVal)
    341 #define IBackgroundCopyJob3_SetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->SetMinimumRetryDelay(This,Seconds)
    342 #define IBackgroundCopyJob3_GetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->GetMinimumRetryDelay(This,Seconds)
    343 #define IBackgroundCopyJob3_SetNoProgressTimeout(This,Seconds) (This)->lpVtbl->SetNoProgressTimeout(This,Seconds)
    344 #define IBackgroundCopyJob3_GetNoProgressTimeout(This,Seconds) (This)->lpVtbl->GetNoProgressTimeout(This,Seconds)
    345 #define IBackgroundCopyJob3_GetErrorCount(This,Errors) (This)->lpVtbl->GetErrorCount(This,Errors)
    346 #define IBackgroundCopyJob3_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList)
    347 #define IBackgroundCopyJob3_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList)
    348 #define IBackgroundCopyJob3_TakeOwnership(This) (This)->lpVtbl->TakeOwnership(This)
    349 /*** IBackgroundCopyJob2 methods ***/
    350 #define IBackgroundCopyJob3_SetNotifyCmdLine(This,prog,params) (This)->lpVtbl->SetNotifyCmdLine(This,prog,params)
    351 #define IBackgroundCopyJob3_GetNotifyCmdLine(This,prog,params) (This)->lpVtbl->GetNotifyCmdLine(This,prog,params)
    352 #define IBackgroundCopyJob3_GetReplyProgress(This,progress) (This)->lpVtbl->GetReplyProgress(This,progress)
    353 #define IBackgroundCopyJob3_GetReplyData(This,pBuffer,pLength) (This)->lpVtbl->GetReplyData(This,pBuffer,pLength)
    354 #define IBackgroundCopyJob3_SetReplyFileName(This,filename) (This)->lpVtbl->SetReplyFileName(This,filename)
    355 #define IBackgroundCopyJob3_GetReplyFileName(This,pFilename) (This)->lpVtbl->GetReplyFileName(This,pFilename)
    356 #define IBackgroundCopyJob3_SetCredentials(This,cred) (This)->lpVtbl->SetCredentials(This,cred)
    357 #define IBackgroundCopyJob3_RemoveCredentials(This,target,scheme) (This)->lpVtbl->RemoveCredentials(This,target,scheme)
    358 /*** IBackgroundCopyJob3 methods ***/
    359 #define IBackgroundCopyJob3_ReplaceRemotePrefix(This,OldPrefix,NewPrefix) (This)->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix)
    360 #define IBackgroundCopyJob3_AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) (This)->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges)
    361 #define IBackgroundCopyJob3_SetFileACLFlags(This,Flags) (This)->lpVtbl->SetFileACLFlags(This,Flags)
    362 #define IBackgroundCopyJob3_GetFileACLFlags(This,Flags) (This)->lpVtbl->GetFileACLFlags(This,Flags)
    363 #else
    364 /*** IUnknown methods ***/
    365 static inline HRESULT IBackgroundCopyJob3_QueryInterface(IBackgroundCopyJob3* This,REFIID riid,void **ppvObject) {
    366     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
    367 }
    368 static inline ULONG IBackgroundCopyJob3_AddRef(IBackgroundCopyJob3* This) {
    369     return This->lpVtbl->AddRef(This);
    370 }
    371 static inline ULONG IBackgroundCopyJob3_Release(IBackgroundCopyJob3* This) {
    372     return This->lpVtbl->Release(This);
    373 }
    374 /*** IBackgroundCopyJob methods ***/
    375 static inline HRESULT IBackgroundCopyJob3_AddFileSet(IBackgroundCopyJob3* This,ULONG cFileCount,BG_FILE_INFO *pFileSet) {
    376     return This->lpVtbl->AddFileSet(This,cFileCount,pFileSet);
    377 }
    378 static inline HRESULT IBackgroundCopyJob3_AddFile(IBackgroundCopyJob3* This,LPCWSTR RemoteUrl,LPCWSTR LocalName) {
    379     return This->lpVtbl->AddFile(This,RemoteUrl,LocalName);
    380 }
    381 static inline HRESULT IBackgroundCopyJob3_EnumFiles(IBackgroundCopyJob3* This,IEnumBackgroundCopyFiles **pEnum) {
    382     return This->lpVtbl->EnumFiles(This,pEnum);
    383 }
    384 static inline HRESULT IBackgroundCopyJob3_Suspend(IBackgroundCopyJob3* This) {
    385     return This->lpVtbl->Suspend(This);
    386 }
    387 static inline HRESULT IBackgroundCopyJob3_Resume(IBackgroundCopyJob3* This) {
    388     return This->lpVtbl->Resume(This);
    389 }
    390 static inline HRESULT IBackgroundCopyJob3_Cancel(IBackgroundCopyJob3* This) {
    391     return This->lpVtbl->Cancel(This);
    392 }
    393 static inline HRESULT IBackgroundCopyJob3_Complete(IBackgroundCopyJob3* This) {
    394     return This->lpVtbl->Complete(This);
    395 }
    396 static inline HRESULT IBackgroundCopyJob3_GetId(IBackgroundCopyJob3* This,GUID *pVal) {
    397     return This->lpVtbl->GetId(This,pVal);
    398 }
    399 static inline HRESULT IBackgroundCopyJob3_GetType(IBackgroundCopyJob3* This,BG_JOB_TYPE *pVal) {
    400     return This->lpVtbl->GetType(This,pVal);
    401 }
    402 static inline HRESULT IBackgroundCopyJob3_GetProgress(IBackgroundCopyJob3* This,BG_JOB_PROGRESS *pVal) {
    403     return This->lpVtbl->GetProgress(This,pVal);
    404 }
    405 static inline HRESULT IBackgroundCopyJob3_GetTimes(IBackgroundCopyJob3* This,BG_JOB_TIMES *pVal) {
    406     return This->lpVtbl->GetTimes(This,pVal);
    407 }
    408 static inline HRESULT IBackgroundCopyJob3_GetState(IBackgroundCopyJob3* This,BG_JOB_STATE *pVal) {
    409     return This->lpVtbl->GetState(This,pVal);
    410 }
    411 static inline HRESULT IBackgroundCopyJob3_GetError(IBackgroundCopyJob3* This,IBackgroundCopyError **ppError) {
    412     return This->lpVtbl->GetError(This,ppError);
    413 }
    414 static inline HRESULT IBackgroundCopyJob3_GetOwner(IBackgroundCopyJob3* This,LPWSTR *pVal) {
    415     return This->lpVtbl->GetOwner(This,pVal);
    416 }
    417 static inline HRESULT IBackgroundCopyJob3_SetDisplayName(IBackgroundCopyJob3* This,LPCWSTR Val) {
    418     return This->lpVtbl->SetDisplayName(This,Val);
    419 }
    420 static inline HRESULT IBackgroundCopyJob3_GetDisplayName(IBackgroundCopyJob3* This,LPWSTR *pVal) {
    421     return This->lpVtbl->GetDisplayName(This,pVal);
    422 }
    423 static inline HRESULT IBackgroundCopyJob3_SetDescription(IBackgroundCopyJob3* This,LPCWSTR Val) {
    424     return This->lpVtbl->SetDescription(This,Val);
    425 }
    426 static inline HRESULT IBackgroundCopyJob3_GetDescription(IBackgroundCopyJob3* This,LPWSTR *pVal) {
    427     return This->lpVtbl->GetDescription(This,pVal);
    428 }
    429 static inline HRESULT IBackgroundCopyJob3_SetPriority(IBackgroundCopyJob3* This,BG_JOB_PRIORITY Val) {
    430     return This->lpVtbl->SetPriority(This,Val);
    431 }
    432 static inline HRESULT IBackgroundCopyJob3_GetPriority(IBackgroundCopyJob3* This,BG_JOB_PRIORITY *pVal) {
    433     return This->lpVtbl->GetPriority(This,pVal);
    434 }
    435 static inline HRESULT IBackgroundCopyJob3_SetNotifyFlags(IBackgroundCopyJob3* This,ULONG Val) {
    436     return This->lpVtbl->SetNotifyFlags(This,Val);
    437 }
    438 static inline HRESULT IBackgroundCopyJob3_GetNotifyFlags(IBackgroundCopyJob3* This,ULONG *pVal) {
    439     return This->lpVtbl->GetNotifyFlags(This,pVal);
    440 }
    441 static inline HRESULT IBackgroundCopyJob3_SetNotifyInterface(IBackgroundCopyJob3* This,IUnknown *Val) {
    442     return This->lpVtbl->SetNotifyInterface(This,Val);
    443 }
    444 static inline HRESULT IBackgroundCopyJob3_GetNotifyInterface(IBackgroundCopyJob3* This,IUnknown **pVal) {
    445     return This->lpVtbl->GetNotifyInterface(This,pVal);
    446 }
    447 static inline HRESULT IBackgroundCopyJob3_SetMinimumRetryDelay(IBackgroundCopyJob3* This,ULONG Seconds) {
    448     return This->lpVtbl->SetMinimumRetryDelay(This,Seconds);
    449 }
    450 static inline HRESULT IBackgroundCopyJob3_GetMinimumRetryDelay(IBackgroundCopyJob3* This,ULONG *Seconds) {
    451     return This->lpVtbl->GetMinimumRetryDelay(This,Seconds);
    452 }
    453 static inline HRESULT IBackgroundCopyJob3_SetNoProgressTimeout(IBackgroundCopyJob3* This,ULONG Seconds) {
    454     return This->lpVtbl->SetNoProgressTimeout(This,Seconds);
    455 }
    456 static inline HRESULT IBackgroundCopyJob3_GetNoProgressTimeout(IBackgroundCopyJob3* This,ULONG *Seconds) {
    457     return This->lpVtbl->GetNoProgressTimeout(This,Seconds);
    458 }
    459 static inline HRESULT IBackgroundCopyJob3_GetErrorCount(IBackgroundCopyJob3* This,ULONG *Errors) {
    460     return This->lpVtbl->GetErrorCount(This,Errors);
    461 }
    462 static inline HRESULT IBackgroundCopyJob3_SetProxySettings(IBackgroundCopyJob3* This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList) {
    463     return This->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList);
    464 }
    465 static inline HRESULT IBackgroundCopyJob3_GetProxySettings(IBackgroundCopyJob3* This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList) {
    466     return This->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList);
    467 }
    468 static inline HRESULT IBackgroundCopyJob3_TakeOwnership(IBackgroundCopyJob3* This) {
    469     return This->lpVtbl->TakeOwnership(This);
    470 }
    471 /*** IBackgroundCopyJob2 methods ***/
    472 static inline HRESULT IBackgroundCopyJob3_SetNotifyCmdLine(IBackgroundCopyJob3* This,LPCWSTR prog,LPCWSTR params) {
    473     return This->lpVtbl->SetNotifyCmdLine(This,prog,params);
    474 }
    475 static inline HRESULT IBackgroundCopyJob3_GetNotifyCmdLine(IBackgroundCopyJob3* This,LPWSTR *prog,LPWSTR *params) {
    476     return This->lpVtbl->GetNotifyCmdLine(This,prog,params);
    477 }
    478 static inline HRESULT IBackgroundCopyJob3_GetReplyProgress(IBackgroundCopyJob3* This,BG_JOB_REPLY_PROGRESS *progress) {
    479     return This->lpVtbl->GetReplyProgress(This,progress);
    480 }
    481 static inline HRESULT IBackgroundCopyJob3_GetReplyData(IBackgroundCopyJob3* This,byte **pBuffer,UINT64 *pLength) {
    482     return This->lpVtbl->GetReplyData(This,pBuffer,pLength);
    483 }
    484 static inline HRESULT IBackgroundCopyJob3_SetReplyFileName(IBackgroundCopyJob3* This,LPCWSTR filename) {
    485     return This->lpVtbl->SetReplyFileName(This,filename);
    486 }
    487 static inline HRESULT IBackgroundCopyJob3_GetReplyFileName(IBackgroundCopyJob3* This,LPWSTR *pFilename) {
    488     return This->lpVtbl->GetReplyFileName(This,pFilename);
    489 }
    490 static inline HRESULT IBackgroundCopyJob3_SetCredentials(IBackgroundCopyJob3* This,BG_AUTH_CREDENTIALS *cred) {
    491     return This->lpVtbl->SetCredentials(This,cred);
    492 }
    493 static inline HRESULT IBackgroundCopyJob3_RemoveCredentials(IBackgroundCopyJob3* This,BG_AUTH_TARGET target,BG_AUTH_SCHEME scheme) {
    494     return This->lpVtbl->RemoveCredentials(This,target,scheme);
    495 }
    496 /*** IBackgroundCopyJob3 methods ***/
    497 static inline HRESULT IBackgroundCopyJob3_ReplaceRemotePrefix(IBackgroundCopyJob3* This,LPCWSTR OldPrefix,LPCWSTR NewPrefix) {
    498     return This->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix);
    499 }
    500 static inline HRESULT IBackgroundCopyJob3_AddFileWithRanges(IBackgroundCopyJob3* This,LPCWSTR RemoteUrl,LPCWSTR LocalName,DWORD RangeCount,BG_FILE_RANGE Ranges[]) {
    501     return This->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges);
    502 }
    503 static inline HRESULT IBackgroundCopyJob3_SetFileACLFlags(IBackgroundCopyJob3* This,DWORD Flags) {
    504     return This->lpVtbl->SetFileACLFlags(This,Flags);
    505 }
    506 static inline HRESULT IBackgroundCopyJob3_GetFileACLFlags(IBackgroundCopyJob3* This,DWORD *Flags) {
    507     return This->lpVtbl->GetFileACLFlags(This,Flags);
    508 }
    509 #endif
    510 #endif
    511 
    512 #endif
    513 
    514 
    515 #endif  /* __IBackgroundCopyJob3_INTERFACE_DEFINED__ */
    516 
    517 /*****************************************************************************
    518  * IBackgroundCopyFile2 interface
    519  */
    520 #ifndef __IBackgroundCopyFile2_INTERFACE_DEFINED__
    521 #define __IBackgroundCopyFile2_INTERFACE_DEFINED__
    522 
    523 DEFINE_GUID(IID_IBackgroundCopyFile2, 0x83e81b93, 0x0873, 0x474d, 0x8a,0x8c, 0xf2,0x01,0x8b,0x1a,0x93,0x9c);
    524 #if defined(__cplusplus) && !defined(CINTERFACE)
    525 MIDL_INTERFACE("83e81b93-0873-474d-8a8c-f2018b1a939c")
    526 IBackgroundCopyFile2 : public IBackgroundCopyFile
    527 {
    528     virtual HRESULT STDMETHODCALLTYPE GetFileRanges(
    529         DWORD *RangeCount,
    530         BG_FILE_RANGE **Ranges) = 0;
    531 
    532     virtual HRESULT STDMETHODCALLTYPE SetRemoteName(
    533         LPCWSTR Val) = 0;
    534 
    535 };
    536 #ifdef __CRT_UUID_DECL
    537 __CRT_UUID_DECL(IBackgroundCopyFile2, 0x83e81b93, 0x0873, 0x474d, 0x8a,0x8c, 0xf2,0x01,0x8b,0x1a,0x93,0x9c)
    538 #endif
    539 #else
    540 typedef struct IBackgroundCopyFile2Vtbl {
    541     BEGIN_INTERFACE
    542 
    543     /*** IUnknown methods ***/
    544     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
    545         IBackgroundCopyFile2 *This,
    546         REFIID riid,
    547         void **ppvObject);
    548 
    549     ULONG (STDMETHODCALLTYPE *AddRef)(
    550         IBackgroundCopyFile2 *This);
    551 
    552     ULONG (STDMETHODCALLTYPE *Release)(
    553         IBackgroundCopyFile2 *This);
    554 
    555     /*** IBackgroundCopyFile methods ***/
    556     HRESULT (STDMETHODCALLTYPE *GetRemoteName)(
    557         IBackgroundCopyFile2 *This,
    558         LPWSTR *pVal);
    559 
    560     HRESULT (STDMETHODCALLTYPE *GetLocalName)(
    561         IBackgroundCopyFile2 *This,
    562         LPWSTR *pVal);
    563 
    564     HRESULT (STDMETHODCALLTYPE *GetProgress)(
    565         IBackgroundCopyFile2 *This,
    566         BG_FILE_PROGRESS *pVal);
    567 
    568     /*** IBackgroundCopyFile2 methods ***/
    569     HRESULT (STDMETHODCALLTYPE *GetFileRanges)(
    570         IBackgroundCopyFile2 *This,
    571         DWORD *RangeCount,
    572         BG_FILE_RANGE **Ranges);
    573 
    574     HRESULT (STDMETHODCALLTYPE *SetRemoteName)(
    575         IBackgroundCopyFile2 *This,
    576         LPCWSTR Val);
    577 
    578     END_INTERFACE
    579 } IBackgroundCopyFile2Vtbl;
    580 
    581 interface IBackgroundCopyFile2 {
    582     CONST_VTBL IBackgroundCopyFile2Vtbl* lpVtbl;
    583 };
    584 
    585 #ifdef COBJMACROS
    586 #ifndef WIDL_C_INLINE_WRAPPERS
    587 /*** IUnknown methods ***/
    588 #define IBackgroundCopyFile2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    589 #define IBackgroundCopyFile2_AddRef(This) (This)->lpVtbl->AddRef(This)
    590 #define IBackgroundCopyFile2_Release(This) (This)->lpVtbl->Release(This)
    591 /*** IBackgroundCopyFile methods ***/
    592 #define IBackgroundCopyFile2_GetRemoteName(This,pVal) (This)->lpVtbl->GetRemoteName(This,pVal)
    593 #define IBackgroundCopyFile2_GetLocalName(This,pVal) (This)->lpVtbl->GetLocalName(This,pVal)
    594 #define IBackgroundCopyFile2_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal)
    595 /*** IBackgroundCopyFile2 methods ***/
    596 #define IBackgroundCopyFile2_GetFileRanges(This,RangeCount,Ranges) (This)->lpVtbl->GetFileRanges(This,RangeCount,Ranges)
    597 #define IBackgroundCopyFile2_SetRemoteName(This,Val) (This)->lpVtbl->SetRemoteName(This,Val)
    598 #else
    599 /*** IUnknown methods ***/
    600 static inline HRESULT IBackgroundCopyFile2_QueryInterface(IBackgroundCopyFile2* This,REFIID riid,void **ppvObject) {
    601     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
    602 }
    603 static inline ULONG IBackgroundCopyFile2_AddRef(IBackgroundCopyFile2* This) {
    604     return This->lpVtbl->AddRef(This);
    605 }
    606 static inline ULONG IBackgroundCopyFile2_Release(IBackgroundCopyFile2* This) {
    607     return This->lpVtbl->Release(This);
    608 }
    609 /*** IBackgroundCopyFile methods ***/
    610 static inline HRESULT IBackgroundCopyFile2_GetRemoteName(IBackgroundCopyFile2* This,LPWSTR *pVal) {
    611     return This->lpVtbl->GetRemoteName(This,pVal);
    612 }
    613 static inline HRESULT IBackgroundCopyFile2_GetLocalName(IBackgroundCopyFile2* This,LPWSTR *pVal) {
    614     return This->lpVtbl->GetLocalName(This,pVal);
    615 }
    616 static inline HRESULT IBackgroundCopyFile2_GetProgress(IBackgroundCopyFile2* This,BG_FILE_PROGRESS *pVal) {
    617     return This->lpVtbl->GetProgress(This,pVal);
    618 }
    619 /*** IBackgroundCopyFile2 methods ***/
    620 static inline HRESULT IBackgroundCopyFile2_GetFileRanges(IBackgroundCopyFile2* This,DWORD *RangeCount,BG_FILE_RANGE **Ranges) {
    621     return This->lpVtbl->GetFileRanges(This,RangeCount,Ranges);
    622 }
    623 static inline HRESULT IBackgroundCopyFile2_SetRemoteName(IBackgroundCopyFile2* This,LPCWSTR Val) {
    624     return This->lpVtbl->SetRemoteName(This,Val);
    625 }
    626 #endif
    627 #endif
    628 
    629 #endif
    630 
    631 
    632 #endif  /* __IBackgroundCopyFile2_INTERFACE_DEFINED__ */
    633 
    634 #ifndef __BackgroundCopyManager2_0_LIBRARY_DEFINED__
    635 #define __BackgroundCopyManager2_0_LIBRARY_DEFINED__
    636 
    637 DEFINE_GUID(LIBID_BackgroundCopyManager2_0, 0x2289a9af, 0xdc96, 0x486e, 0xb2,0x68, 0x89,0xc9,0xe3,0x39,0x7c,0x3d);
    638 
    639 /*****************************************************************************
    640  * BackgroundCopyManager2_0 coclass
    641  */
    642 
    643 DEFINE_GUID(CLSID_BackgroundCopyManager2_0, 0x6d18ad12, 0xbde3, 0x4393, 0xb3,0x11, 0x09,0x9c,0x34,0x6e,0x6d,0xf9);
    644 
    645 #ifdef __cplusplus
    646 class DECLSPEC_UUID("6d18ad12-bde3-4393-b311-099c346e6df9") BackgroundCopyManager2_0;
    647 #ifdef __CRT_UUID_DECL
    648 __CRT_UUID_DECL(BackgroundCopyManager2_0, 0x6d18ad12, 0xbde3, 0x4393, 0xb3,0x11, 0x09,0x9c,0x34,0x6e,0x6d,0xf9)
    649 #endif
    650 #endif
    651 
    652 #ifndef __IBackgroundCopyCallback_FWD_DEFINED__
    653 #define __IBackgroundCopyCallback_FWD_DEFINED__
    654 typedef interface IBackgroundCopyCallback IBackgroundCopyCallback;
    655 #ifdef __cplusplus
    656 interface IBackgroundCopyCallback;
    657 #endif /* __cplusplus */
    658 #endif
    659 
    660 #ifndef __IBackgroundCopyJob3_FWD_DEFINED__
    661 #define __IBackgroundCopyJob3_FWD_DEFINED__
    662 typedef interface IBackgroundCopyJob3 IBackgroundCopyJob3;
    663 #ifdef __cplusplus
    664 interface IBackgroundCopyJob3;
    665 #endif /* __cplusplus */
    666 #endif
    667 
    668 #ifndef __IBackgroundCopyFile2_FWD_DEFINED__
    669 #define __IBackgroundCopyFile2_FWD_DEFINED__
    670 typedef interface IBackgroundCopyFile2 IBackgroundCopyFile2;
    671 #ifdef __cplusplus
    672 interface IBackgroundCopyFile2;
    673 #endif /* __cplusplus */
    674 #endif
    675 
    676 #endif /* __BackgroundCopyManager2_0_LIBRARY_DEFINED__ */
    677 #include "bits2_5.h"
    678 /* Begin additional prototypes for all interfaces */
    679 
    680 
    681 /* End additional prototypes */
    682 
    683 #ifdef __cplusplus
    684 }
    685 #endif
    686 
    687 #endif /* __bits2_0_h__ */