bits3_0.h (29298B) - Raw
1 /*** Autogenerated by WIDL 10.4 from include/bits3_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 __bits3_0_h__ 17 #define __bits3_0_h__ 18 19 /* Forward declarations */ 20 21 #ifndef __IBackgroundCopyCallback2_FWD_DEFINED__ 22 #define __IBackgroundCopyCallback2_FWD_DEFINED__ 23 typedef interface IBackgroundCopyCallback2 IBackgroundCopyCallback2; 24 #ifdef __cplusplus 25 interface IBackgroundCopyCallback2; 26 #endif /* __cplusplus */ 27 #endif 28 29 #ifndef __IBackgroundCopyJob4_FWD_DEFINED__ 30 #define __IBackgroundCopyJob4_FWD_DEFINED__ 31 typedef interface IBackgroundCopyJob4 IBackgroundCopyJob4; 32 #ifdef __cplusplus 33 interface IBackgroundCopyJob4; 34 #endif /* __cplusplus */ 35 #endif 36 37 #ifndef __BackgroundCopyManager3_0_FWD_DEFINED__ 38 #define __BackgroundCopyManager3_0_FWD_DEFINED__ 39 #ifdef __cplusplus 40 typedef class BackgroundCopyManager3_0 BackgroundCopyManager3_0; 41 #else 42 typedef struct BackgroundCopyManager3_0 BackgroundCopyManager3_0; 43 #endif /* defined __cplusplus */ 44 #endif /* defined __BackgroundCopyManager3_0_FWD_DEFINED__ */ 45 46 /* Headers for imported files */ 47 48 #include <bits.h> 49 #include <bits2_0.h> 50 51 #ifdef __cplusplus 52 extern "C" { 53 #endif 54 55 /***************************************************************************** 56 * IBackgroundCopyCallback2 interface 57 */ 58 #ifndef __IBackgroundCopyCallback2_INTERFACE_DEFINED__ 59 #define __IBackgroundCopyCallback2_INTERFACE_DEFINED__ 60 61 DEFINE_GUID(IID_IBackgroundCopyCallback2, 0x659cdeac, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51); 62 #if defined(__cplusplus) && !defined(CINTERFACE) 63 MIDL_INTERFACE("659cdeac-489e-11d9-a9cd-000d56965251") 64 IBackgroundCopyCallback2 : public IBackgroundCopyCallback 65 { 66 virtual HRESULT STDMETHODCALLTYPE FileTransferred( 67 IBackgroundCopyJob *job, 68 IBackgroundCopyFile *file) = 0; 69 70 }; 71 #ifdef __CRT_UUID_DECL 72 __CRT_UUID_DECL(IBackgroundCopyCallback2, 0x659cdeac, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51) 73 #endif 74 #else 75 typedef struct IBackgroundCopyCallback2Vtbl { 76 BEGIN_INTERFACE 77 78 /*** IUnknown methods ***/ 79 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 80 IBackgroundCopyCallback2 *This, 81 REFIID riid, 82 void **ppvObject); 83 84 ULONG (STDMETHODCALLTYPE *AddRef)( 85 IBackgroundCopyCallback2 *This); 86 87 ULONG (STDMETHODCALLTYPE *Release)( 88 IBackgroundCopyCallback2 *This); 89 90 /*** IBackgroundCopyCallback methods ***/ 91 HRESULT (STDMETHODCALLTYPE *JobTransferred)( 92 IBackgroundCopyCallback2 *This, 93 IBackgroundCopyJob *pJob); 94 95 HRESULT (STDMETHODCALLTYPE *JobError)( 96 IBackgroundCopyCallback2 *This, 97 IBackgroundCopyJob *pJob, 98 IBackgroundCopyError *pError); 99 100 HRESULT (STDMETHODCALLTYPE *JobModification)( 101 IBackgroundCopyCallback2 *This, 102 IBackgroundCopyJob *pJob, 103 DWORD dwReserved); 104 105 /*** IBackgroundCopyCallback2 methods ***/ 106 HRESULT (STDMETHODCALLTYPE *FileTransferred)( 107 IBackgroundCopyCallback2 *This, 108 IBackgroundCopyJob *job, 109 IBackgroundCopyFile *file); 110 111 END_INTERFACE 112 } IBackgroundCopyCallback2Vtbl; 113 114 interface IBackgroundCopyCallback2 { 115 CONST_VTBL IBackgroundCopyCallback2Vtbl* lpVtbl; 116 }; 117 118 #ifdef COBJMACROS 119 #ifndef WIDL_C_INLINE_WRAPPERS 120 /*** IUnknown methods ***/ 121 #define IBackgroundCopyCallback2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 122 #define IBackgroundCopyCallback2_AddRef(This) (This)->lpVtbl->AddRef(This) 123 #define IBackgroundCopyCallback2_Release(This) (This)->lpVtbl->Release(This) 124 /*** IBackgroundCopyCallback methods ***/ 125 #define IBackgroundCopyCallback2_JobTransferred(This,pJob) (This)->lpVtbl->JobTransferred(This,pJob) 126 #define IBackgroundCopyCallback2_JobError(This,pJob,pError) (This)->lpVtbl->JobError(This,pJob,pError) 127 #define IBackgroundCopyCallback2_JobModification(This,pJob,dwReserved) (This)->lpVtbl->JobModification(This,pJob,dwReserved) 128 /*** IBackgroundCopyCallback2 methods ***/ 129 #define IBackgroundCopyCallback2_FileTransferred(This,job,file) (This)->lpVtbl->FileTransferred(This,job,file) 130 #else 131 /*** IUnknown methods ***/ 132 static inline HRESULT IBackgroundCopyCallback2_QueryInterface(IBackgroundCopyCallback2* This,REFIID riid,void **ppvObject) { 133 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 134 } 135 static inline ULONG IBackgroundCopyCallback2_AddRef(IBackgroundCopyCallback2* This) { 136 return This->lpVtbl->AddRef(This); 137 } 138 static inline ULONG IBackgroundCopyCallback2_Release(IBackgroundCopyCallback2* This) { 139 return This->lpVtbl->Release(This); 140 } 141 /*** IBackgroundCopyCallback methods ***/ 142 static inline HRESULT IBackgroundCopyCallback2_JobTransferred(IBackgroundCopyCallback2* This,IBackgroundCopyJob *pJob) { 143 return This->lpVtbl->JobTransferred(This,pJob); 144 } 145 static inline HRESULT IBackgroundCopyCallback2_JobError(IBackgroundCopyCallback2* This,IBackgroundCopyJob *pJob,IBackgroundCopyError *pError) { 146 return This->lpVtbl->JobError(This,pJob,pError); 147 } 148 static inline HRESULT IBackgroundCopyCallback2_JobModification(IBackgroundCopyCallback2* This,IBackgroundCopyJob *pJob,DWORD dwReserved) { 149 return This->lpVtbl->JobModification(This,pJob,dwReserved); 150 } 151 /*** IBackgroundCopyCallback2 methods ***/ 152 static inline HRESULT IBackgroundCopyCallback2_FileTransferred(IBackgroundCopyCallback2* This,IBackgroundCopyJob *job,IBackgroundCopyFile *file) { 153 return This->lpVtbl->FileTransferred(This,job,file); 154 } 155 #endif 156 #endif 157 158 #endif 159 160 161 #endif /* __IBackgroundCopyCallback2_INTERFACE_DEFINED__ */ 162 163 /***************************************************************************** 164 * IBackgroundCopyJob4 interface 165 */ 166 #ifndef __IBackgroundCopyJob4_INTERFACE_DEFINED__ 167 #define __IBackgroundCopyJob4_INTERFACE_DEFINED__ 168 169 #define BG_JOB_ENABLE_PEERCACHING_CLIENT 0x0001 170 #define BG_JOB_ENABLE_PEERCACHING_SERVER 0x0002 171 #define BG_JOB_DISABLE_BRANCH_CACHE 0x0004 172 DEFINE_GUID(IID_IBackgroundCopyJob4, 0x659cdeae, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51); 173 #if defined(__cplusplus) && !defined(CINTERFACE) 174 MIDL_INTERFACE("659cdeae-489e-11d9-a9cd-000d56965251") 175 IBackgroundCopyJob4 : public IBackgroundCopyJob3 176 { 177 virtual HRESULT STDMETHODCALLTYPE SetPeerCachingFlags( 178 DWORD flags) = 0; 179 180 virtual HRESULT STDMETHODCALLTYPE GetPeerCachingFlags( 181 DWORD *flags) = 0; 182 183 virtual HRESULT STDMETHODCALLTYPE GetOwnerIntegrityLevel( 184 ULONG *level) = 0; 185 186 virtual HRESULT STDMETHODCALLTYPE GetOwnerElevationState( 187 WINBOOL *elevated) = 0; 188 189 virtual HRESULT STDMETHODCALLTYPE SetMaximumDownloadTime( 190 ULONG timeout) = 0; 191 192 virtual HRESULT STDMETHODCALLTYPE GetMaximumDownloadTime( 193 ULONG *timeout) = 0; 194 195 }; 196 #ifdef __CRT_UUID_DECL 197 __CRT_UUID_DECL(IBackgroundCopyJob4, 0x659cdeae, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51) 198 #endif 199 #else 200 typedef struct IBackgroundCopyJob4Vtbl { 201 BEGIN_INTERFACE 202 203 /*** IUnknown methods ***/ 204 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 205 IBackgroundCopyJob4 *This, 206 REFIID riid, 207 void **ppvObject); 208 209 ULONG (STDMETHODCALLTYPE *AddRef)( 210 IBackgroundCopyJob4 *This); 211 212 ULONG (STDMETHODCALLTYPE *Release)( 213 IBackgroundCopyJob4 *This); 214 215 /*** IBackgroundCopyJob methods ***/ 216 HRESULT (STDMETHODCALLTYPE *AddFileSet)( 217 IBackgroundCopyJob4 *This, 218 ULONG cFileCount, 219 BG_FILE_INFO *pFileSet); 220 221 HRESULT (STDMETHODCALLTYPE *AddFile)( 222 IBackgroundCopyJob4 *This, 223 LPCWSTR RemoteUrl, 224 LPCWSTR LocalName); 225 226 HRESULT (STDMETHODCALLTYPE *EnumFiles)( 227 IBackgroundCopyJob4 *This, 228 IEnumBackgroundCopyFiles **pEnum); 229 230 HRESULT (STDMETHODCALLTYPE *Suspend)( 231 IBackgroundCopyJob4 *This); 232 233 HRESULT (STDMETHODCALLTYPE *Resume)( 234 IBackgroundCopyJob4 *This); 235 236 HRESULT (STDMETHODCALLTYPE *Cancel)( 237 IBackgroundCopyJob4 *This); 238 239 HRESULT (STDMETHODCALLTYPE *Complete)( 240 IBackgroundCopyJob4 *This); 241 242 HRESULT (STDMETHODCALLTYPE *GetId)( 243 IBackgroundCopyJob4 *This, 244 GUID *pVal); 245 246 HRESULT (STDMETHODCALLTYPE *GetType)( 247 IBackgroundCopyJob4 *This, 248 BG_JOB_TYPE *pVal); 249 250 HRESULT (STDMETHODCALLTYPE *GetProgress)( 251 IBackgroundCopyJob4 *This, 252 BG_JOB_PROGRESS *pVal); 253 254 HRESULT (STDMETHODCALLTYPE *GetTimes)( 255 IBackgroundCopyJob4 *This, 256 BG_JOB_TIMES *pVal); 257 258 HRESULT (STDMETHODCALLTYPE *GetState)( 259 IBackgroundCopyJob4 *This, 260 BG_JOB_STATE *pVal); 261 262 HRESULT (STDMETHODCALLTYPE *GetError)( 263 IBackgroundCopyJob4 *This, 264 IBackgroundCopyError **ppError); 265 266 HRESULT (STDMETHODCALLTYPE *GetOwner)( 267 IBackgroundCopyJob4 *This, 268 LPWSTR *pVal); 269 270 HRESULT (STDMETHODCALLTYPE *SetDisplayName)( 271 IBackgroundCopyJob4 *This, 272 LPCWSTR Val); 273 274 HRESULT (STDMETHODCALLTYPE *GetDisplayName)( 275 IBackgroundCopyJob4 *This, 276 LPWSTR *pVal); 277 278 HRESULT (STDMETHODCALLTYPE *SetDescription)( 279 IBackgroundCopyJob4 *This, 280 LPCWSTR Val); 281 282 HRESULT (STDMETHODCALLTYPE *GetDescription)( 283 IBackgroundCopyJob4 *This, 284 LPWSTR *pVal); 285 286 HRESULT (STDMETHODCALLTYPE *SetPriority)( 287 IBackgroundCopyJob4 *This, 288 BG_JOB_PRIORITY Val); 289 290 HRESULT (STDMETHODCALLTYPE *GetPriority)( 291 IBackgroundCopyJob4 *This, 292 BG_JOB_PRIORITY *pVal); 293 294 HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)( 295 IBackgroundCopyJob4 *This, 296 ULONG Val); 297 298 HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)( 299 IBackgroundCopyJob4 *This, 300 ULONG *pVal); 301 302 HRESULT (STDMETHODCALLTYPE *SetNotifyInterface)( 303 IBackgroundCopyJob4 *This, 304 IUnknown *Val); 305 306 HRESULT (STDMETHODCALLTYPE *GetNotifyInterface)( 307 IBackgroundCopyJob4 *This, 308 IUnknown **pVal); 309 310 HRESULT (STDMETHODCALLTYPE *SetMinimumRetryDelay)( 311 IBackgroundCopyJob4 *This, 312 ULONG Seconds); 313 314 HRESULT (STDMETHODCALLTYPE *GetMinimumRetryDelay)( 315 IBackgroundCopyJob4 *This, 316 ULONG *Seconds); 317 318 HRESULT (STDMETHODCALLTYPE *SetNoProgressTimeout)( 319 IBackgroundCopyJob4 *This, 320 ULONG Seconds); 321 322 HRESULT (STDMETHODCALLTYPE *GetNoProgressTimeout)( 323 IBackgroundCopyJob4 *This, 324 ULONG *Seconds); 325 326 HRESULT (STDMETHODCALLTYPE *GetErrorCount)( 327 IBackgroundCopyJob4 *This, 328 ULONG *Errors); 329 330 HRESULT (STDMETHODCALLTYPE *SetProxySettings)( 331 IBackgroundCopyJob4 *This, 332 BG_JOB_PROXY_USAGE ProxyUsage, 333 const WCHAR *ProxyList, 334 const WCHAR *ProxyBypassList); 335 336 HRESULT (STDMETHODCALLTYPE *GetProxySettings)( 337 IBackgroundCopyJob4 *This, 338 BG_JOB_PROXY_USAGE *pProxyUsage, 339 LPWSTR *pProxyList, 340 LPWSTR *pProxyBypassList); 341 342 HRESULT (STDMETHODCALLTYPE *TakeOwnership)( 343 IBackgroundCopyJob4 *This); 344 345 /*** IBackgroundCopyJob2 methods ***/ 346 HRESULT (STDMETHODCALLTYPE *SetNotifyCmdLine)( 347 IBackgroundCopyJob4 *This, 348 LPCWSTR prog, 349 LPCWSTR params); 350 351 HRESULT (STDMETHODCALLTYPE *GetNotifyCmdLine)( 352 IBackgroundCopyJob4 *This, 353 LPWSTR *prog, 354 LPWSTR *params); 355 356 HRESULT (STDMETHODCALLTYPE *GetReplyProgress)( 357 IBackgroundCopyJob4 *This, 358 BG_JOB_REPLY_PROGRESS *progress); 359 360 HRESULT (STDMETHODCALLTYPE *GetReplyData)( 361 IBackgroundCopyJob4 *This, 362 byte **pBuffer, 363 UINT64 *pLength); 364 365 HRESULT (STDMETHODCALLTYPE *SetReplyFileName)( 366 IBackgroundCopyJob4 *This, 367 LPCWSTR filename); 368 369 HRESULT (STDMETHODCALLTYPE *GetReplyFileName)( 370 IBackgroundCopyJob4 *This, 371 LPWSTR *pFilename); 372 373 HRESULT (STDMETHODCALLTYPE *SetCredentials)( 374 IBackgroundCopyJob4 *This, 375 BG_AUTH_CREDENTIALS *cred); 376 377 HRESULT (STDMETHODCALLTYPE *RemoveCredentials)( 378 IBackgroundCopyJob4 *This, 379 BG_AUTH_TARGET target, 380 BG_AUTH_SCHEME scheme); 381 382 /*** IBackgroundCopyJob3 methods ***/ 383 HRESULT (STDMETHODCALLTYPE *ReplaceRemotePrefix)( 384 IBackgroundCopyJob4 *This, 385 LPCWSTR OldPrefix, 386 LPCWSTR NewPrefix); 387 388 HRESULT (STDMETHODCALLTYPE *AddFileWithRanges)( 389 IBackgroundCopyJob4 *This, 390 LPCWSTR RemoteUrl, 391 LPCWSTR LocalName, 392 DWORD RangeCount, 393 BG_FILE_RANGE Ranges[]); 394 395 HRESULT (STDMETHODCALLTYPE *SetFileACLFlags)( 396 IBackgroundCopyJob4 *This, 397 DWORD Flags); 398 399 HRESULT (STDMETHODCALLTYPE *GetFileACLFlags)( 400 IBackgroundCopyJob4 *This, 401 DWORD *Flags); 402 403 /*** IBackgroundCopyJob4 methods ***/ 404 HRESULT (STDMETHODCALLTYPE *SetPeerCachingFlags)( 405 IBackgroundCopyJob4 *This, 406 DWORD flags); 407 408 HRESULT (STDMETHODCALLTYPE *GetPeerCachingFlags)( 409 IBackgroundCopyJob4 *This, 410 DWORD *flags); 411 412 HRESULT (STDMETHODCALLTYPE *GetOwnerIntegrityLevel)( 413 IBackgroundCopyJob4 *This, 414 ULONG *level); 415 416 HRESULT (STDMETHODCALLTYPE *GetOwnerElevationState)( 417 IBackgroundCopyJob4 *This, 418 WINBOOL *elevated); 419 420 HRESULT (STDMETHODCALLTYPE *SetMaximumDownloadTime)( 421 IBackgroundCopyJob4 *This, 422 ULONG timeout); 423 424 HRESULT (STDMETHODCALLTYPE *GetMaximumDownloadTime)( 425 IBackgroundCopyJob4 *This, 426 ULONG *timeout); 427 428 END_INTERFACE 429 } IBackgroundCopyJob4Vtbl; 430 431 interface IBackgroundCopyJob4 { 432 CONST_VTBL IBackgroundCopyJob4Vtbl* lpVtbl; 433 }; 434 435 #ifdef COBJMACROS 436 #ifndef WIDL_C_INLINE_WRAPPERS 437 /*** IUnknown methods ***/ 438 #define IBackgroundCopyJob4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 439 #define IBackgroundCopyJob4_AddRef(This) (This)->lpVtbl->AddRef(This) 440 #define IBackgroundCopyJob4_Release(This) (This)->lpVtbl->Release(This) 441 /*** IBackgroundCopyJob methods ***/ 442 #define IBackgroundCopyJob4_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl->AddFileSet(This,cFileCount,pFileSet) 443 #define IBackgroundCopyJob4_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl->AddFile(This,RemoteUrl,LocalName) 444 #define IBackgroundCopyJob4_EnumFiles(This,pEnum) (This)->lpVtbl->EnumFiles(This,pEnum) 445 #define IBackgroundCopyJob4_Suspend(This) (This)->lpVtbl->Suspend(This) 446 #define IBackgroundCopyJob4_Resume(This) (This)->lpVtbl->Resume(This) 447 #define IBackgroundCopyJob4_Cancel(This) (This)->lpVtbl->Cancel(This) 448 #define IBackgroundCopyJob4_Complete(This) (This)->lpVtbl->Complete(This) 449 #define IBackgroundCopyJob4_GetId(This,pVal) (This)->lpVtbl->GetId(This,pVal) 450 #define IBackgroundCopyJob4_GetType(This,pVal) (This)->lpVtbl->GetType(This,pVal) 451 #define IBackgroundCopyJob4_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal) 452 #define IBackgroundCopyJob4_GetTimes(This,pVal) (This)->lpVtbl->GetTimes(This,pVal) 453 #define IBackgroundCopyJob4_GetState(This,pVal) (This)->lpVtbl->GetState(This,pVal) 454 #define IBackgroundCopyJob4_GetError(This,ppError) (This)->lpVtbl->GetError(This,ppError) 455 #define IBackgroundCopyJob4_GetOwner(This,pVal) (This)->lpVtbl->GetOwner(This,pVal) 456 #define IBackgroundCopyJob4_SetDisplayName(This,Val) (This)->lpVtbl->SetDisplayName(This,Val) 457 #define IBackgroundCopyJob4_GetDisplayName(This,pVal) (This)->lpVtbl->GetDisplayName(This,pVal) 458 #define IBackgroundCopyJob4_SetDescription(This,Val) (This)->lpVtbl->SetDescription(This,Val) 459 #define IBackgroundCopyJob4_GetDescription(This,pVal) (This)->lpVtbl->GetDescription(This,pVal) 460 #define IBackgroundCopyJob4_SetPriority(This,Val) (This)->lpVtbl->SetPriority(This,Val) 461 #define IBackgroundCopyJob4_GetPriority(This,pVal) (This)->lpVtbl->GetPriority(This,pVal) 462 #define IBackgroundCopyJob4_SetNotifyFlags(This,Val) (This)->lpVtbl->SetNotifyFlags(This,Val) 463 #define IBackgroundCopyJob4_GetNotifyFlags(This,pVal) (This)->lpVtbl->GetNotifyFlags(This,pVal) 464 #define IBackgroundCopyJob4_SetNotifyInterface(This,Val) (This)->lpVtbl->SetNotifyInterface(This,Val) 465 #define IBackgroundCopyJob4_GetNotifyInterface(This,pVal) (This)->lpVtbl->GetNotifyInterface(This,pVal) 466 #define IBackgroundCopyJob4_SetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->SetMinimumRetryDelay(This,Seconds) 467 #define IBackgroundCopyJob4_GetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->GetMinimumRetryDelay(This,Seconds) 468 #define IBackgroundCopyJob4_SetNoProgressTimeout(This,Seconds) (This)->lpVtbl->SetNoProgressTimeout(This,Seconds) 469 #define IBackgroundCopyJob4_GetNoProgressTimeout(This,Seconds) (This)->lpVtbl->GetNoProgressTimeout(This,Seconds) 470 #define IBackgroundCopyJob4_GetErrorCount(This,Errors) (This)->lpVtbl->GetErrorCount(This,Errors) 471 #define IBackgroundCopyJob4_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) 472 #define IBackgroundCopyJob4_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) 473 #define IBackgroundCopyJob4_TakeOwnership(This) (This)->lpVtbl->TakeOwnership(This) 474 /*** IBackgroundCopyJob2 methods ***/ 475 #define IBackgroundCopyJob4_SetNotifyCmdLine(This,prog,params) (This)->lpVtbl->SetNotifyCmdLine(This,prog,params) 476 #define IBackgroundCopyJob4_GetNotifyCmdLine(This,prog,params) (This)->lpVtbl->GetNotifyCmdLine(This,prog,params) 477 #define IBackgroundCopyJob4_GetReplyProgress(This,progress) (This)->lpVtbl->GetReplyProgress(This,progress) 478 #define IBackgroundCopyJob4_GetReplyData(This,pBuffer,pLength) (This)->lpVtbl->GetReplyData(This,pBuffer,pLength) 479 #define IBackgroundCopyJob4_SetReplyFileName(This,filename) (This)->lpVtbl->SetReplyFileName(This,filename) 480 #define IBackgroundCopyJob4_GetReplyFileName(This,pFilename) (This)->lpVtbl->GetReplyFileName(This,pFilename) 481 #define IBackgroundCopyJob4_SetCredentials(This,cred) (This)->lpVtbl->SetCredentials(This,cred) 482 #define IBackgroundCopyJob4_RemoveCredentials(This,target,scheme) (This)->lpVtbl->RemoveCredentials(This,target,scheme) 483 /*** IBackgroundCopyJob3 methods ***/ 484 #define IBackgroundCopyJob4_ReplaceRemotePrefix(This,OldPrefix,NewPrefix) (This)->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix) 485 #define IBackgroundCopyJob4_AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) (This)->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) 486 #define IBackgroundCopyJob4_SetFileACLFlags(This,Flags) (This)->lpVtbl->SetFileACLFlags(This,Flags) 487 #define IBackgroundCopyJob4_GetFileACLFlags(This,Flags) (This)->lpVtbl->GetFileACLFlags(This,Flags) 488 /*** IBackgroundCopyJob4 methods ***/ 489 #define IBackgroundCopyJob4_SetPeerCachingFlags(This,flags) (This)->lpVtbl->SetPeerCachingFlags(This,flags) 490 #define IBackgroundCopyJob4_GetPeerCachingFlags(This,flags) (This)->lpVtbl->GetPeerCachingFlags(This,flags) 491 #define IBackgroundCopyJob4_GetOwnerIntegrityLevel(This,level) (This)->lpVtbl->GetOwnerIntegrityLevel(This,level) 492 #define IBackgroundCopyJob4_GetOwnerElevationState(This,elevated) (This)->lpVtbl->GetOwnerElevationState(This,elevated) 493 #define IBackgroundCopyJob4_SetMaximumDownloadTime(This,timeout) (This)->lpVtbl->SetMaximumDownloadTime(This,timeout) 494 #define IBackgroundCopyJob4_GetMaximumDownloadTime(This,timeout) (This)->lpVtbl->GetMaximumDownloadTime(This,timeout) 495 #else 496 /*** IUnknown methods ***/ 497 static inline HRESULT IBackgroundCopyJob4_QueryInterface(IBackgroundCopyJob4* This,REFIID riid,void **ppvObject) { 498 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 499 } 500 static inline ULONG IBackgroundCopyJob4_AddRef(IBackgroundCopyJob4* This) { 501 return This->lpVtbl->AddRef(This); 502 } 503 static inline ULONG IBackgroundCopyJob4_Release(IBackgroundCopyJob4* This) { 504 return This->lpVtbl->Release(This); 505 } 506 /*** IBackgroundCopyJob methods ***/ 507 static inline HRESULT IBackgroundCopyJob4_AddFileSet(IBackgroundCopyJob4* This,ULONG cFileCount,BG_FILE_INFO *pFileSet) { 508 return This->lpVtbl->AddFileSet(This,cFileCount,pFileSet); 509 } 510 static inline HRESULT IBackgroundCopyJob4_AddFile(IBackgroundCopyJob4* This,LPCWSTR RemoteUrl,LPCWSTR LocalName) { 511 return This->lpVtbl->AddFile(This,RemoteUrl,LocalName); 512 } 513 static inline HRESULT IBackgroundCopyJob4_EnumFiles(IBackgroundCopyJob4* This,IEnumBackgroundCopyFiles **pEnum) { 514 return This->lpVtbl->EnumFiles(This,pEnum); 515 } 516 static inline HRESULT IBackgroundCopyJob4_Suspend(IBackgroundCopyJob4* This) { 517 return This->lpVtbl->Suspend(This); 518 } 519 static inline HRESULT IBackgroundCopyJob4_Resume(IBackgroundCopyJob4* This) { 520 return This->lpVtbl->Resume(This); 521 } 522 static inline HRESULT IBackgroundCopyJob4_Cancel(IBackgroundCopyJob4* This) { 523 return This->lpVtbl->Cancel(This); 524 } 525 static inline HRESULT IBackgroundCopyJob4_Complete(IBackgroundCopyJob4* This) { 526 return This->lpVtbl->Complete(This); 527 } 528 static inline HRESULT IBackgroundCopyJob4_GetId(IBackgroundCopyJob4* This,GUID *pVal) { 529 return This->lpVtbl->GetId(This,pVal); 530 } 531 static inline HRESULT IBackgroundCopyJob4_GetType(IBackgroundCopyJob4* This,BG_JOB_TYPE *pVal) { 532 return This->lpVtbl->GetType(This,pVal); 533 } 534 static inline HRESULT IBackgroundCopyJob4_GetProgress(IBackgroundCopyJob4* This,BG_JOB_PROGRESS *pVal) { 535 return This->lpVtbl->GetProgress(This,pVal); 536 } 537 static inline HRESULT IBackgroundCopyJob4_GetTimes(IBackgroundCopyJob4* This,BG_JOB_TIMES *pVal) { 538 return This->lpVtbl->GetTimes(This,pVal); 539 } 540 static inline HRESULT IBackgroundCopyJob4_GetState(IBackgroundCopyJob4* This,BG_JOB_STATE *pVal) { 541 return This->lpVtbl->GetState(This,pVal); 542 } 543 static inline HRESULT IBackgroundCopyJob4_GetError(IBackgroundCopyJob4* This,IBackgroundCopyError **ppError) { 544 return This->lpVtbl->GetError(This,ppError); 545 } 546 static inline HRESULT IBackgroundCopyJob4_GetOwner(IBackgroundCopyJob4* This,LPWSTR *pVal) { 547 return This->lpVtbl->GetOwner(This,pVal); 548 } 549 static inline HRESULT IBackgroundCopyJob4_SetDisplayName(IBackgroundCopyJob4* This,LPCWSTR Val) { 550 return This->lpVtbl->SetDisplayName(This,Val); 551 } 552 static inline HRESULT IBackgroundCopyJob4_GetDisplayName(IBackgroundCopyJob4* This,LPWSTR *pVal) { 553 return This->lpVtbl->GetDisplayName(This,pVal); 554 } 555 static inline HRESULT IBackgroundCopyJob4_SetDescription(IBackgroundCopyJob4* This,LPCWSTR Val) { 556 return This->lpVtbl->SetDescription(This,Val); 557 } 558 static inline HRESULT IBackgroundCopyJob4_GetDescription(IBackgroundCopyJob4* This,LPWSTR *pVal) { 559 return This->lpVtbl->GetDescription(This,pVal); 560 } 561 static inline HRESULT IBackgroundCopyJob4_SetPriority(IBackgroundCopyJob4* This,BG_JOB_PRIORITY Val) { 562 return This->lpVtbl->SetPriority(This,Val); 563 } 564 static inline HRESULT IBackgroundCopyJob4_GetPriority(IBackgroundCopyJob4* This,BG_JOB_PRIORITY *pVal) { 565 return This->lpVtbl->GetPriority(This,pVal); 566 } 567 static inline HRESULT IBackgroundCopyJob4_SetNotifyFlags(IBackgroundCopyJob4* This,ULONG Val) { 568 return This->lpVtbl->SetNotifyFlags(This,Val); 569 } 570 static inline HRESULT IBackgroundCopyJob4_GetNotifyFlags(IBackgroundCopyJob4* This,ULONG *pVal) { 571 return This->lpVtbl->GetNotifyFlags(This,pVal); 572 } 573 static inline HRESULT IBackgroundCopyJob4_SetNotifyInterface(IBackgroundCopyJob4* This,IUnknown *Val) { 574 return This->lpVtbl->SetNotifyInterface(This,Val); 575 } 576 static inline HRESULT IBackgroundCopyJob4_GetNotifyInterface(IBackgroundCopyJob4* This,IUnknown **pVal) { 577 return This->lpVtbl->GetNotifyInterface(This,pVal); 578 } 579 static inline HRESULT IBackgroundCopyJob4_SetMinimumRetryDelay(IBackgroundCopyJob4* This,ULONG Seconds) { 580 return This->lpVtbl->SetMinimumRetryDelay(This,Seconds); 581 } 582 static inline HRESULT IBackgroundCopyJob4_GetMinimumRetryDelay(IBackgroundCopyJob4* This,ULONG *Seconds) { 583 return This->lpVtbl->GetMinimumRetryDelay(This,Seconds); 584 } 585 static inline HRESULT IBackgroundCopyJob4_SetNoProgressTimeout(IBackgroundCopyJob4* This,ULONG Seconds) { 586 return This->lpVtbl->SetNoProgressTimeout(This,Seconds); 587 } 588 static inline HRESULT IBackgroundCopyJob4_GetNoProgressTimeout(IBackgroundCopyJob4* This,ULONG *Seconds) { 589 return This->lpVtbl->GetNoProgressTimeout(This,Seconds); 590 } 591 static inline HRESULT IBackgroundCopyJob4_GetErrorCount(IBackgroundCopyJob4* This,ULONG *Errors) { 592 return This->lpVtbl->GetErrorCount(This,Errors); 593 } 594 static inline HRESULT IBackgroundCopyJob4_SetProxySettings(IBackgroundCopyJob4* This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList) { 595 return This->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList); 596 } 597 static inline HRESULT IBackgroundCopyJob4_GetProxySettings(IBackgroundCopyJob4* This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList) { 598 return This->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList); 599 } 600 static inline HRESULT IBackgroundCopyJob4_TakeOwnership(IBackgroundCopyJob4* This) { 601 return This->lpVtbl->TakeOwnership(This); 602 } 603 /*** IBackgroundCopyJob2 methods ***/ 604 static inline HRESULT IBackgroundCopyJob4_SetNotifyCmdLine(IBackgroundCopyJob4* This,LPCWSTR prog,LPCWSTR params) { 605 return This->lpVtbl->SetNotifyCmdLine(This,prog,params); 606 } 607 static inline HRESULT IBackgroundCopyJob4_GetNotifyCmdLine(IBackgroundCopyJob4* This,LPWSTR *prog,LPWSTR *params) { 608 return This->lpVtbl->GetNotifyCmdLine(This,prog,params); 609 } 610 static inline HRESULT IBackgroundCopyJob4_GetReplyProgress(IBackgroundCopyJob4* This,BG_JOB_REPLY_PROGRESS *progress) { 611 return This->lpVtbl->GetReplyProgress(This,progress); 612 } 613 static inline HRESULT IBackgroundCopyJob4_GetReplyData(IBackgroundCopyJob4* This,byte **pBuffer,UINT64 *pLength) { 614 return This->lpVtbl->GetReplyData(This,pBuffer,pLength); 615 } 616 static inline HRESULT IBackgroundCopyJob4_SetReplyFileName(IBackgroundCopyJob4* This,LPCWSTR filename) { 617 return This->lpVtbl->SetReplyFileName(This,filename); 618 } 619 static inline HRESULT IBackgroundCopyJob4_GetReplyFileName(IBackgroundCopyJob4* This,LPWSTR *pFilename) { 620 return This->lpVtbl->GetReplyFileName(This,pFilename); 621 } 622 static inline HRESULT IBackgroundCopyJob4_SetCredentials(IBackgroundCopyJob4* This,BG_AUTH_CREDENTIALS *cred) { 623 return This->lpVtbl->SetCredentials(This,cred); 624 } 625 static inline HRESULT IBackgroundCopyJob4_RemoveCredentials(IBackgroundCopyJob4* This,BG_AUTH_TARGET target,BG_AUTH_SCHEME scheme) { 626 return This->lpVtbl->RemoveCredentials(This,target,scheme); 627 } 628 /*** IBackgroundCopyJob3 methods ***/ 629 static inline HRESULT IBackgroundCopyJob4_ReplaceRemotePrefix(IBackgroundCopyJob4* This,LPCWSTR OldPrefix,LPCWSTR NewPrefix) { 630 return This->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix); 631 } 632 static inline HRESULT IBackgroundCopyJob4_AddFileWithRanges(IBackgroundCopyJob4* This,LPCWSTR RemoteUrl,LPCWSTR LocalName,DWORD RangeCount,BG_FILE_RANGE Ranges[]) { 633 return This->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges); 634 } 635 static inline HRESULT IBackgroundCopyJob4_SetFileACLFlags(IBackgroundCopyJob4* This,DWORD Flags) { 636 return This->lpVtbl->SetFileACLFlags(This,Flags); 637 } 638 static inline HRESULT IBackgroundCopyJob4_GetFileACLFlags(IBackgroundCopyJob4* This,DWORD *Flags) { 639 return This->lpVtbl->GetFileACLFlags(This,Flags); 640 } 641 /*** IBackgroundCopyJob4 methods ***/ 642 static inline HRESULT IBackgroundCopyJob4_SetPeerCachingFlags(IBackgroundCopyJob4* This,DWORD flags) { 643 return This->lpVtbl->SetPeerCachingFlags(This,flags); 644 } 645 static inline HRESULT IBackgroundCopyJob4_GetPeerCachingFlags(IBackgroundCopyJob4* This,DWORD *flags) { 646 return This->lpVtbl->GetPeerCachingFlags(This,flags); 647 } 648 static inline HRESULT IBackgroundCopyJob4_GetOwnerIntegrityLevel(IBackgroundCopyJob4* This,ULONG *level) { 649 return This->lpVtbl->GetOwnerIntegrityLevel(This,level); 650 } 651 static inline HRESULT IBackgroundCopyJob4_GetOwnerElevationState(IBackgroundCopyJob4* This,WINBOOL *elevated) { 652 return This->lpVtbl->GetOwnerElevationState(This,elevated); 653 } 654 static inline HRESULT IBackgroundCopyJob4_SetMaximumDownloadTime(IBackgroundCopyJob4* This,ULONG timeout) { 655 return This->lpVtbl->SetMaximumDownloadTime(This,timeout); 656 } 657 static inline HRESULT IBackgroundCopyJob4_GetMaximumDownloadTime(IBackgroundCopyJob4* This,ULONG *timeout) { 658 return This->lpVtbl->GetMaximumDownloadTime(This,timeout); 659 } 660 #endif 661 #endif 662 663 #endif 664 665 666 #endif /* __IBackgroundCopyJob4_INTERFACE_DEFINED__ */ 667 668 #ifndef __BackgroundCopyManager3_0_LIBRARY_DEFINED__ 669 #define __BackgroundCopyManager3_0_LIBRARY_DEFINED__ 670 671 DEFINE_GUID(LIBID_BackgroundCopyManager3_0, 0x659cdea6, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51); 672 673 /***************************************************************************** 674 * BackgroundCopyManager3_0 coclass 675 */ 676 677 DEFINE_GUID(CLSID_BackgroundCopyManager3_0, 0x659cdea7, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51); 678 679 #ifdef __cplusplus 680 class DECLSPEC_UUID("659cdea7-489e-11d9-a9cd-000d56965251") BackgroundCopyManager3_0; 681 #ifdef __CRT_UUID_DECL 682 __CRT_UUID_DECL(BackgroundCopyManager3_0, 0x659cdea7, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51) 683 #endif 684 #endif 685 686 #ifndef __IBackgroundCopyJob4_FWD_DEFINED__ 687 #define __IBackgroundCopyJob4_FWD_DEFINED__ 688 typedef interface IBackgroundCopyJob4 IBackgroundCopyJob4; 689 #ifdef __cplusplus 690 interface IBackgroundCopyJob4; 691 #endif /* __cplusplus */ 692 #endif 693 694 #endif /* __BackgroundCopyManager3_0_LIBRARY_DEFINED__ */ 695 /* Begin additional prototypes for all interfaces */ 696 697 698 /* End additional prototypes */ 699 700 #ifdef __cplusplus 701 } 702 #endif 703 704 #endif /* __bits3_0_h__ */