/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 8.01.0628 */ /* @@MIDL_FILE_HEADING( ) */ #pragma warning( disable: 4049 ) /* more than 64k source lines */ /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 #endif /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCSAL_H_VERSION__ #define __REQUIRED_RPCSAL_H_VERSION__ 100 #endif #include "rpc.h" #include "rpcndr.h" #ifndef __RPCNDR_H_VERSION__ #error this stub requires an updated version of #endif /* __RPCNDR_H_VERSION__ */ #ifndef COM_NO_WINDOWS_H #include "windows.h" #include "ole2.h" #endif /*COM_NO_WINDOWS_H*/ #ifndef __bits5_0_h__ #define __bits5_0_h__ #if defined(_MSC_VER) && (_MSC_VER >= 1020) #pragma once #endif #ifndef DECLSPEC_XFGVIRT #if defined(_CONTROL_FLOW_GUARD_XFG) #define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) #else #define DECLSPEC_XFGVIRT(base, func) #endif #endif /* Forward Declarations */ #ifndef __IBackgroundCopyJob5_FWD_DEFINED__ #define __IBackgroundCopyJob5_FWD_DEFINED__ typedef interface IBackgroundCopyJob5 IBackgroundCopyJob5; #endif /* __IBackgroundCopyJob5_FWD_DEFINED__ */ #ifndef __IBackgroundCopyFile5_FWD_DEFINED__ #define __IBackgroundCopyFile5_FWD_DEFINED__ typedef interface IBackgroundCopyFile5 IBackgroundCopyFile5; #endif /* __IBackgroundCopyFile5_FWD_DEFINED__ */ #ifndef __BackgroundCopyManager5_0_FWD_DEFINED__ #define __BackgroundCopyManager5_0_FWD_DEFINED__ #ifdef __cplusplus typedef class BackgroundCopyManager5_0 BackgroundCopyManager5_0; #else typedef struct BackgroundCopyManager5_0 BackgroundCopyManager5_0; #endif /* __cplusplus */ #endif /* __BackgroundCopyManager5_0_FWD_DEFINED__ */ #ifndef __IBackgroundCopyFile5_FWD_DEFINED__ #define __IBackgroundCopyFile5_FWD_DEFINED__ typedef interface IBackgroundCopyFile5 IBackgroundCopyFile5; #endif /* __IBackgroundCopyFile5_FWD_DEFINED__ */ #ifndef __IBackgroundCopyJob5_FWD_DEFINED__ #define __IBackgroundCopyJob5_FWD_DEFINED__ typedef interface IBackgroundCopyJob5 IBackgroundCopyJob5; #endif /* __IBackgroundCopyJob5_FWD_DEFINED__ */ /* header files for imported files */ #include "bits.h" #include "bits1_5.h" #include "bits2_0.h" #include "bits2_5.h" #include "bits3_0.h" #include "bits4_0.h" #ifdef __cplusplus extern "C"{ #endif /* interface __MIDL_itf_bits5_0_0000_0000 */ /* [local] */ #include #pragma region Desktop Family #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) #define BITS_COST_STATE_UNRESTRICTED 0x1 #define BITS_COST_STATE_CAPPED_USAGE_UNKNOWN 0x2 #define BITS_COST_STATE_BELOW_CAP 0x4 #define BITS_COST_STATE_NEAR_CAP 0x8 #define BITS_COST_STATE_OVERCAP_CHARGED 0x10 #define BITS_COST_STATE_OVERCAP_THROTTLED 0x20 #define BITS_COST_STATE_USAGE_BASED 0x40 #define BITS_COST_STATE_ROAMING 0x80 #define BITS_COST_OPTION_IGNORE_CONGESTION 0x80000000 #define BITS_COST_STATE_RESERVED 0x40000000 #define BITS_COST_STATE_TRANSFER_NOT_ROAMING (BITS_COST_OPTION_IGNORE_CONGESTION|BITS_COST_STATE_USAGE_BASED|BITS_COST_STATE_OVERCAP_THROTTLED|BITS_COST_STATE_OVERCAP_CHARGED|BITS_COST_STATE_NEAR_CAP|BITS_COST_STATE_BELOW_CAP|BITS_COST_STATE_CAPPED_USAGE_UNKNOWN|BITS_COST_STATE_UNRESTRICTED) #define BITS_COST_STATE_TRANSFER_NO_SURCHARGE (BITS_COST_OPTION_IGNORE_CONGESTION|BITS_COST_STATE_USAGE_BASED|BITS_COST_STATE_OVERCAP_THROTTLED|BITS_COST_STATE_NEAR_CAP|BITS_COST_STATE_BELOW_CAP|BITS_COST_STATE_CAPPED_USAGE_UNKNOWN|BITS_COST_STATE_UNRESTRICTED) #define BITS_COST_STATE_TRANSFER_STANDARD (BITS_COST_OPTION_IGNORE_CONGESTION|BITS_COST_STATE_USAGE_BASED|BITS_COST_STATE_OVERCAP_THROTTLED|BITS_COST_STATE_BELOW_CAP|BITS_COST_STATE_CAPPED_USAGE_UNKNOWN|BITS_COST_STATE_UNRESTRICTED) #define BITS_COST_STATE_TRANSFER_UNRESTRICTED (BITS_COST_OPTION_IGNORE_CONGESTION|BITS_COST_STATE_OVERCAP_THROTTLED|BITS_COST_STATE_UNRESTRICTED) #define BITS_COST_STATE_TRANSFER_ALWAYS (BITS_COST_OPTION_IGNORE_CONGESTION|BITS_COST_STATE_ROAMING|BITS_COST_STATE_USAGE_BASED|BITS_COST_STATE_OVERCAP_THROTTLED|BITS_COST_STATE_OVERCAP_CHARGED|BITS_COST_STATE_NEAR_CAP|BITS_COST_STATE_BELOW_CAP|BITS_COST_STATE_CAPPED_USAGE_UNKNOWN|BITS_COST_STATE_UNRESTRICTED) typedef enum BITS_JOB_TRANSFER_POLICY { BITS_JOB_TRANSFER_POLICY_ALWAYS = 0x800000ff, BITS_JOB_TRANSFER_POLICY_NOT_ROAMING = 0x8000007f, BITS_JOB_TRANSFER_POLICY_NO_SURCHARGE = 0x8000006f, BITS_JOB_TRANSFER_POLICY_STANDARD = 0x80000067, BITS_JOB_TRANSFER_POLICY_UNRESTRICTED = 0x80000021 } BITS_JOB_TRANSFER_POLICY; typedef enum BITS_JOB_PROPERTY_ID { BITS_JOB_PROPERTY_ID_COST_FLAGS = 1, BITS_JOB_PROPERTY_NOTIFICATION_CLSID = 2, BITS_JOB_PROPERTY_DYNAMIC_CONTENT = 3, BITS_JOB_PROPERTY_HIGH_PERFORMANCE = 4, BITS_JOB_PROPERTY_MAX_DOWNLOAD_SIZE = 5, BITS_JOB_PROPERTY_USE_STORED_CREDENTIALS = 7, BITS_JOB_PROPERTY_MINIMUM_NOTIFICATION_INTERVAL_MS = 9, BITS_JOB_PROPERTY_ON_DEMAND_MODE = 10 } BITS_JOB_PROPERTY_ID; typedef /* [public][public][public][switch_type] */ union __MIDL___MIDL_itf_bits5_0_0000_0000_0001 { /* [case()] */ DWORD Dword; /* [case()] */ GUID ClsID; /* [case()] */ BOOL Enable; /* [case()] */ UINT64 Uint64; /* [case()] */ BG_AUTH_TARGET Target; } BITS_JOB_PROPERTY_VALUE; typedef enum BITS_FILE_PROPERTY_ID { BITS_FILE_PROPERTY_ID_HTTP_RESPONSE_HEADERS = 1 } BITS_FILE_PROPERTY_ID; typedef /* [public][public][public][switch_type] */ union __MIDL___MIDL_itf_bits5_0_0000_0000_0002 { /* [case()] */ LPWSTR String; } BITS_FILE_PROPERTY_VALUE; extern RPC_IF_HANDLE __MIDL_itf_bits5_0_0000_0000_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_bits5_0_0000_0000_v0_0_s_ifspec; #ifndef __IBackgroundCopyJob5_INTERFACE_DEFINED__ #define __IBackgroundCopyJob5_INTERFACE_DEFINED__ /* interface IBackgroundCopyJob5 */ /* [object][helpstring][uuid] */ EXTERN_C const IID IID_IBackgroundCopyJob5; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("E847030C-BBBA-4657-AF6D-484AA42BF1FE") IBackgroundCopyJob5 : public IBackgroundCopyJob4 { public: virtual HRESULT STDMETHODCALLTYPE SetProperty( /* [in] */ BITS_JOB_PROPERTY_ID PropertyId, /* [switch_is][in] */ BITS_JOB_PROPERTY_VALUE PropertyValue) = 0; virtual HRESULT STDMETHODCALLTYPE GetProperty( /* [in] */ BITS_JOB_PROPERTY_ID PropertyId, /* [switch_is][out] */ __RPC__out BITS_JOB_PROPERTY_VALUE *PropertyValue) = 0; }; #else /* C style interface */ typedef struct IBackgroundCopyJob5Vtbl { BEGIN_INTERFACE DECLSPEC_XFGVIRT(IUnknown, QueryInterface) HRESULT ( STDMETHODCALLTYPE *QueryInterface )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ __RPC__in REFIID riid, /* [annotation][iid_is][out] */ _COM_Outptr_ void **ppvObject); DECLSPEC_XFGVIRT(IUnknown, AddRef) ULONG ( STDMETHODCALLTYPE *AddRef )( __RPC__in IBackgroundCopyJob5 * This); DECLSPEC_XFGVIRT(IUnknown, Release) ULONG ( STDMETHODCALLTYPE *Release )( __RPC__in IBackgroundCopyJob5 * This); DECLSPEC_XFGVIRT(IBackgroundCopyJob, AddFileSet) HRESULT ( STDMETHODCALLTYPE *AddFileSet )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ ULONG cFileCount, /* [size_is][in] */ __RPC__in_ecount_full(cFileCount) BG_FILE_INFO *pFileSet); DECLSPEC_XFGVIRT(IBackgroundCopyJob, AddFile) HRESULT ( STDMETHODCALLTYPE *AddFile )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ __RPC__in LPCWSTR RemoteUrl, /* [in] */ __RPC__in LPCWSTR LocalName); DECLSPEC_XFGVIRT(IBackgroundCopyJob, EnumFiles) HRESULT ( STDMETHODCALLTYPE *EnumFiles )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__deref_out_opt IEnumBackgroundCopyFiles **pEnum); DECLSPEC_XFGVIRT(IBackgroundCopyJob, Suspend) HRESULT ( STDMETHODCALLTYPE *Suspend )( __RPC__in IBackgroundCopyJob5 * This); DECLSPEC_XFGVIRT(IBackgroundCopyJob, Resume) HRESULT ( STDMETHODCALLTYPE *Resume )( __RPC__in IBackgroundCopyJob5 * This); DECLSPEC_XFGVIRT(IBackgroundCopyJob, Cancel) HRESULT ( STDMETHODCALLTYPE *Cancel )( __RPC__in IBackgroundCopyJob5 * This); DECLSPEC_XFGVIRT(IBackgroundCopyJob, Complete) HRESULT ( STDMETHODCALLTYPE *Complete )( __RPC__in IBackgroundCopyJob5 * This); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetId) HRESULT ( STDMETHODCALLTYPE *GetId )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__out GUID *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetType) HRESULT ( STDMETHODCALLTYPE *GetType )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__out BG_JOB_TYPE *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetProgress) HRESULT ( STDMETHODCALLTYPE *GetProgress )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__out BG_JOB_PROGRESS *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetTimes) HRESULT ( STDMETHODCALLTYPE *GetTimes )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__out BG_JOB_TIMES *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetState) HRESULT ( STDMETHODCALLTYPE *GetState )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__out BG_JOB_STATE *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetError) HRESULT ( STDMETHODCALLTYPE *GetError )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__deref_out_opt IBackgroundCopyError **ppError); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetOwner) HRESULT ( STDMETHODCALLTYPE *GetOwner )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__deref_out_opt LPWSTR *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyJob, SetDisplayName) HRESULT ( STDMETHODCALLTYPE *SetDisplayName )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ __RPC__in LPCWSTR Val); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetDisplayName) HRESULT ( STDMETHODCALLTYPE *GetDisplayName )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__deref_out_opt LPWSTR *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyJob, SetDescription) HRESULT ( STDMETHODCALLTYPE *SetDescription )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ __RPC__in LPCWSTR Val); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetDescription) HRESULT ( STDMETHODCALLTYPE *GetDescription )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__deref_out_opt LPWSTR *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyJob, SetPriority) HRESULT ( STDMETHODCALLTYPE *SetPriority )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ BG_JOB_PRIORITY Val); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetPriority) HRESULT ( STDMETHODCALLTYPE *GetPriority )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__out BG_JOB_PRIORITY *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyJob, SetNotifyFlags) HRESULT ( STDMETHODCALLTYPE *SetNotifyFlags )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ ULONG Val); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetNotifyFlags) HRESULT ( STDMETHODCALLTYPE *GetNotifyFlags )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__out ULONG *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyJob, SetNotifyInterface) HRESULT ( STDMETHODCALLTYPE *SetNotifyInterface )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ __RPC__in_opt IUnknown *Val); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetNotifyInterface) HRESULT ( STDMETHODCALLTYPE *GetNotifyInterface )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__deref_out_opt IUnknown **pVal); DECLSPEC_XFGVIRT(IBackgroundCopyJob, SetMinimumRetryDelay) HRESULT ( STDMETHODCALLTYPE *SetMinimumRetryDelay )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ ULONG Seconds); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetMinimumRetryDelay) HRESULT ( STDMETHODCALLTYPE *GetMinimumRetryDelay )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__out ULONG *Seconds); DECLSPEC_XFGVIRT(IBackgroundCopyJob, SetNoProgressTimeout) HRESULT ( STDMETHODCALLTYPE *SetNoProgressTimeout )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ ULONG Seconds); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetNoProgressTimeout) HRESULT ( STDMETHODCALLTYPE *GetNoProgressTimeout )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__out ULONG *Seconds); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetErrorCount) HRESULT ( STDMETHODCALLTYPE *GetErrorCount )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__out ULONG *Errors); DECLSPEC_XFGVIRT(IBackgroundCopyJob, SetProxySettings) HRESULT ( STDMETHODCALLTYPE *SetProxySettings )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ BG_JOB_PROXY_USAGE ProxyUsage, /* [unique][string][in] */ __RPC__in_opt_string const WCHAR *ProxyList, /* [unique][string][in] */ __RPC__in_opt_string const WCHAR *ProxyBypassList); DECLSPEC_XFGVIRT(IBackgroundCopyJob, GetProxySettings) HRESULT ( STDMETHODCALLTYPE *GetProxySettings )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__out BG_JOB_PROXY_USAGE *pProxyUsage, /* [out] */ __RPC__deref_out_opt LPWSTR *pProxyList, /* [out] */ __RPC__deref_out_opt LPWSTR *pProxyBypassList); DECLSPEC_XFGVIRT(IBackgroundCopyJob, TakeOwnership) HRESULT ( STDMETHODCALLTYPE *TakeOwnership )( __RPC__in IBackgroundCopyJob5 * This); DECLSPEC_XFGVIRT(IBackgroundCopyJob2, SetNotifyCmdLine) HRESULT ( STDMETHODCALLTYPE *SetNotifyCmdLine )( __RPC__in IBackgroundCopyJob5 * This, /* [unique][in] */ __RPC__in_opt LPCWSTR Program, /* [unique][in] */ __RPC__in_opt LPCWSTR Parameters); DECLSPEC_XFGVIRT(IBackgroundCopyJob2, GetNotifyCmdLine) HRESULT ( STDMETHODCALLTYPE *GetNotifyCmdLine )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__deref_out_opt LPWSTR *pProgram, /* [out] */ __RPC__deref_out_opt LPWSTR *pParameters); DECLSPEC_XFGVIRT(IBackgroundCopyJob2, GetReplyProgress) HRESULT ( STDMETHODCALLTYPE *GetReplyProgress )( __RPC__in IBackgroundCopyJob5 * This, /* [out][in] */ __RPC__inout BG_JOB_REPLY_PROGRESS *pProgress); DECLSPEC_XFGVIRT(IBackgroundCopyJob2, GetReplyData) HRESULT ( STDMETHODCALLTYPE *GetReplyData )( __RPC__in IBackgroundCopyJob5 * This, /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(( unsigned long )*pLength) byte **ppBuffer, /* [unique][out][in] */ __RPC__inout_opt UINT64 *pLength); DECLSPEC_XFGVIRT(IBackgroundCopyJob2, SetReplyFileName) HRESULT ( STDMETHODCALLTYPE *SetReplyFileName )( __RPC__in IBackgroundCopyJob5 * This, /* [unique][in] */ __RPC__in_opt LPCWSTR ReplyFileName); DECLSPEC_XFGVIRT(IBackgroundCopyJob2, GetReplyFileName) HRESULT ( STDMETHODCALLTYPE *GetReplyFileName )( __RPC__in IBackgroundCopyJob5 * This, /* [out] */ __RPC__deref_out_opt LPWSTR *pReplyFileName); DECLSPEC_XFGVIRT(IBackgroundCopyJob2, SetCredentials) HRESULT ( STDMETHODCALLTYPE *SetCredentials )( __RPC__in IBackgroundCopyJob5 * This, __RPC__in BG_AUTH_CREDENTIALS *credentials); DECLSPEC_XFGVIRT(IBackgroundCopyJob2, RemoveCredentials) HRESULT ( STDMETHODCALLTYPE *RemoveCredentials )( __RPC__in IBackgroundCopyJob5 * This, BG_AUTH_TARGET Target, BG_AUTH_SCHEME Scheme); DECLSPEC_XFGVIRT(IBackgroundCopyJob3, ReplaceRemotePrefix) HRESULT ( STDMETHODCALLTYPE *ReplaceRemotePrefix )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ __RPC__in LPCWSTR OldPrefix, /* [in] */ __RPC__in LPCWSTR NewPrefix); DECLSPEC_XFGVIRT(IBackgroundCopyJob3, AddFileWithRanges) HRESULT ( STDMETHODCALLTYPE *AddFileWithRanges )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ __RPC__in LPCWSTR RemoteUrl, /* [in] */ __RPC__in LPCWSTR LocalName, /* [in] */ DWORD RangeCount, /* [size_is][in] */ __RPC__in_ecount_full(RangeCount) BG_FILE_RANGE Ranges[ ]); DECLSPEC_XFGVIRT(IBackgroundCopyJob3, SetFileACLFlags) HRESULT ( STDMETHODCALLTYPE *SetFileACLFlags )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ DWORD Flags); DECLSPEC_XFGVIRT(IBackgroundCopyJob3, GetFileACLFlags) HRESULT ( STDMETHODCALLTYPE *GetFileACLFlags )( __RPC__in IBackgroundCopyJob5 * This, /* [ref][out] */ __RPC__out DWORD *Flags); DECLSPEC_XFGVIRT(IBackgroundCopyJob4, SetPeerCachingFlags) HRESULT ( STDMETHODCALLTYPE *SetPeerCachingFlags )( __RPC__in IBackgroundCopyJob5 * This, DWORD Flags); DECLSPEC_XFGVIRT(IBackgroundCopyJob4, GetPeerCachingFlags) HRESULT ( STDMETHODCALLTYPE *GetPeerCachingFlags )( __RPC__in IBackgroundCopyJob5 * This, /* [ref][out] */ __RPC__out DWORD *pFlags); DECLSPEC_XFGVIRT(IBackgroundCopyJob4, GetOwnerIntegrityLevel) HRESULT ( STDMETHODCALLTYPE *GetOwnerIntegrityLevel )( __RPC__in IBackgroundCopyJob5 * This, /* [ref][out] */ __RPC__out ULONG *pLevel); DECLSPEC_XFGVIRT(IBackgroundCopyJob4, GetOwnerElevationState) HRESULT ( STDMETHODCALLTYPE *GetOwnerElevationState )( __RPC__in IBackgroundCopyJob5 * This, /* [ref][out] */ __RPC__out BOOL *pElevated); DECLSPEC_XFGVIRT(IBackgroundCopyJob4, SetMaximumDownloadTime) HRESULT ( STDMETHODCALLTYPE *SetMaximumDownloadTime )( __RPC__in IBackgroundCopyJob5 * This, ULONG Timeout); DECLSPEC_XFGVIRT(IBackgroundCopyJob4, GetMaximumDownloadTime) HRESULT ( STDMETHODCALLTYPE *GetMaximumDownloadTime )( __RPC__in IBackgroundCopyJob5 * This, /* [ref][out] */ __RPC__out ULONG *pTimeout); DECLSPEC_XFGVIRT(IBackgroundCopyJob5, SetProperty) HRESULT ( STDMETHODCALLTYPE *SetProperty )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ BITS_JOB_PROPERTY_ID PropertyId, /* [switch_is][in] */ BITS_JOB_PROPERTY_VALUE PropertyValue); DECLSPEC_XFGVIRT(IBackgroundCopyJob5, GetProperty) HRESULT ( STDMETHODCALLTYPE *GetProperty )( __RPC__in IBackgroundCopyJob5 * This, /* [in] */ BITS_JOB_PROPERTY_ID PropertyId, /* [switch_is][out] */ __RPC__out BITS_JOB_PROPERTY_VALUE *PropertyValue); END_INTERFACE } IBackgroundCopyJob5Vtbl; interface IBackgroundCopyJob5 { CONST_VTBL struct IBackgroundCopyJob5Vtbl *lpVtbl; }; #ifdef COBJMACROS #define IBackgroundCopyJob5_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define IBackgroundCopyJob5_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define IBackgroundCopyJob5_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define IBackgroundCopyJob5_AddFileSet(This,cFileCount,pFileSet) \ ( (This)->lpVtbl -> AddFileSet(This,cFileCount,pFileSet) ) #define IBackgroundCopyJob5_AddFile(This,RemoteUrl,LocalName) \ ( (This)->lpVtbl -> AddFile(This,RemoteUrl,LocalName) ) #define IBackgroundCopyJob5_EnumFiles(This,pEnum) \ ( (This)->lpVtbl -> EnumFiles(This,pEnum) ) #define IBackgroundCopyJob5_Suspend(This) \ ( (This)->lpVtbl -> Suspend(This) ) #define IBackgroundCopyJob5_Resume(This) \ ( (This)->lpVtbl -> Resume(This) ) #define IBackgroundCopyJob5_Cancel(This) \ ( (This)->lpVtbl -> Cancel(This) ) #define IBackgroundCopyJob5_Complete(This) \ ( (This)->lpVtbl -> Complete(This) ) #define IBackgroundCopyJob5_GetId(This,pVal) \ ( (This)->lpVtbl -> GetId(This,pVal) ) #define IBackgroundCopyJob5_GetType(This,pVal) \ ( (This)->lpVtbl -> GetType(This,pVal) ) #define IBackgroundCopyJob5_GetProgress(This,pVal) \ ( (This)->lpVtbl -> GetProgress(This,pVal) ) #define IBackgroundCopyJob5_GetTimes(This,pVal) \ ( (This)->lpVtbl -> GetTimes(This,pVal) ) #define IBackgroundCopyJob5_GetState(This,pVal) \ ( (This)->lpVtbl -> GetState(This,pVal) ) #define IBackgroundCopyJob5_GetError(This,ppError) \ ( (This)->lpVtbl -> GetError(This,ppError) ) #define IBackgroundCopyJob5_GetOwner(This,pVal) \ ( (This)->lpVtbl -> GetOwner(This,pVal) ) #define IBackgroundCopyJob5_SetDisplayName(This,Val) \ ( (This)->lpVtbl -> SetDisplayName(This,Val) ) #define IBackgroundCopyJob5_GetDisplayName(This,pVal) \ ( (This)->lpVtbl -> GetDisplayName(This,pVal) ) #define IBackgroundCopyJob5_SetDescription(This,Val) \ ( (This)->lpVtbl -> SetDescription(This,Val) ) #define IBackgroundCopyJob5_GetDescription(This,pVal) \ ( (This)->lpVtbl -> GetDescription(This,pVal) ) #define IBackgroundCopyJob5_SetPriority(This,Val) \ ( (This)->lpVtbl -> SetPriority(This,Val) ) #define IBackgroundCopyJob5_GetPriority(This,pVal) \ ( (This)->lpVtbl -> GetPriority(This,pVal) ) #define IBackgroundCopyJob5_SetNotifyFlags(This,Val) \ ( (This)->lpVtbl -> SetNotifyFlags(This,Val) ) #define IBackgroundCopyJob5_GetNotifyFlags(This,pVal) \ ( (This)->lpVtbl -> GetNotifyFlags(This,pVal) ) #define IBackgroundCopyJob5_SetNotifyInterface(This,Val) \ ( (This)->lpVtbl -> SetNotifyInterface(This,Val) ) #define IBackgroundCopyJob5_GetNotifyInterface(This,pVal) \ ( (This)->lpVtbl -> GetNotifyInterface(This,pVal) ) #define IBackgroundCopyJob5_SetMinimumRetryDelay(This,Seconds) \ ( (This)->lpVtbl -> SetMinimumRetryDelay(This,Seconds) ) #define IBackgroundCopyJob5_GetMinimumRetryDelay(This,Seconds) \ ( (This)->lpVtbl -> GetMinimumRetryDelay(This,Seconds) ) #define IBackgroundCopyJob5_SetNoProgressTimeout(This,Seconds) \ ( (This)->lpVtbl -> SetNoProgressTimeout(This,Seconds) ) #define IBackgroundCopyJob5_GetNoProgressTimeout(This,Seconds) \ ( (This)->lpVtbl -> GetNoProgressTimeout(This,Seconds) ) #define IBackgroundCopyJob5_GetErrorCount(This,Errors) \ ( (This)->lpVtbl -> GetErrorCount(This,Errors) ) #define IBackgroundCopyJob5_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) \ ( (This)->lpVtbl -> SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) ) #define IBackgroundCopyJob5_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) \ ( (This)->lpVtbl -> GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) ) #define IBackgroundCopyJob5_TakeOwnership(This) \ ( (This)->lpVtbl -> TakeOwnership(This) ) #define IBackgroundCopyJob5_SetNotifyCmdLine(This,Program,Parameters) \ ( (This)->lpVtbl -> SetNotifyCmdLine(This,Program,Parameters) ) #define IBackgroundCopyJob5_GetNotifyCmdLine(This,pProgram,pParameters) \ ( (This)->lpVtbl -> GetNotifyCmdLine(This,pProgram,pParameters) ) #define IBackgroundCopyJob5_GetReplyProgress(This,pProgress) \ ( (This)->lpVtbl -> GetReplyProgress(This,pProgress) ) #define IBackgroundCopyJob5_GetReplyData(This,ppBuffer,pLength) \ ( (This)->lpVtbl -> GetReplyData(This,ppBuffer,pLength) ) #define IBackgroundCopyJob5_SetReplyFileName(This,ReplyFileName) \ ( (This)->lpVtbl -> SetReplyFileName(This,ReplyFileName) ) #define IBackgroundCopyJob5_GetReplyFileName(This,pReplyFileName) \ ( (This)->lpVtbl -> GetReplyFileName(This,pReplyFileName) ) #define IBackgroundCopyJob5_SetCredentials(This,credentials) \ ( (This)->lpVtbl -> SetCredentials(This,credentials) ) #define IBackgroundCopyJob5_RemoveCredentials(This,Target,Scheme) \ ( (This)->lpVtbl -> RemoveCredentials(This,Target,Scheme) ) #define IBackgroundCopyJob5_ReplaceRemotePrefix(This,OldPrefix,NewPrefix) \ ( (This)->lpVtbl -> ReplaceRemotePrefix(This,OldPrefix,NewPrefix) ) #define IBackgroundCopyJob5_AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) \ ( (This)->lpVtbl -> AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) ) #define IBackgroundCopyJob5_SetFileACLFlags(This,Flags) \ ( (This)->lpVtbl -> SetFileACLFlags(This,Flags) ) #define IBackgroundCopyJob5_GetFileACLFlags(This,Flags) \ ( (This)->lpVtbl -> GetFileACLFlags(This,Flags) ) #define IBackgroundCopyJob5_SetPeerCachingFlags(This,Flags) \ ( (This)->lpVtbl -> SetPeerCachingFlags(This,Flags) ) #define IBackgroundCopyJob5_GetPeerCachingFlags(This,pFlags) \ ( (This)->lpVtbl -> GetPeerCachingFlags(This,pFlags) ) #define IBackgroundCopyJob5_GetOwnerIntegrityLevel(This,pLevel) \ ( (This)->lpVtbl -> GetOwnerIntegrityLevel(This,pLevel) ) #define IBackgroundCopyJob5_GetOwnerElevationState(This,pElevated) \ ( (This)->lpVtbl -> GetOwnerElevationState(This,pElevated) ) #define IBackgroundCopyJob5_SetMaximumDownloadTime(This,Timeout) \ ( (This)->lpVtbl -> SetMaximumDownloadTime(This,Timeout) ) #define IBackgroundCopyJob5_GetMaximumDownloadTime(This,pTimeout) \ ( (This)->lpVtbl -> GetMaximumDownloadTime(This,pTimeout) ) #define IBackgroundCopyJob5_SetProperty(This,PropertyId,PropertyValue) \ ( (This)->lpVtbl -> SetProperty(This,PropertyId,PropertyValue) ) #define IBackgroundCopyJob5_GetProperty(This,PropertyId,PropertyValue) \ ( (This)->lpVtbl -> GetProperty(This,PropertyId,PropertyValue) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IBackgroundCopyJob5_INTERFACE_DEFINED__ */ #ifndef __IBackgroundCopyFile5_INTERFACE_DEFINED__ #define __IBackgroundCopyFile5_INTERFACE_DEFINED__ /* interface IBackgroundCopyFile5 */ /* [object][helpstring][uuid] */ EXTERN_C const IID IID_IBackgroundCopyFile5; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("85C1657F-DAFC-40E8-8834-DF18EA25717E") IBackgroundCopyFile5 : public IBackgroundCopyFile4 { public: virtual HRESULT STDMETHODCALLTYPE SetProperty( /* [in] */ BITS_FILE_PROPERTY_ID PropertyId, /* [switch_is][in] */ BITS_FILE_PROPERTY_VALUE PropertyValue) = 0; virtual HRESULT STDMETHODCALLTYPE GetProperty( /* [in] */ BITS_FILE_PROPERTY_ID PropertyId, /* [switch_is][out] */ __RPC__out BITS_FILE_PROPERTY_VALUE *PropertyValue) = 0; }; #else /* C style interface */ typedef struct IBackgroundCopyFile5Vtbl { BEGIN_INTERFACE DECLSPEC_XFGVIRT(IUnknown, QueryInterface) HRESULT ( STDMETHODCALLTYPE *QueryInterface )( __RPC__in IBackgroundCopyFile5 * This, /* [in] */ __RPC__in REFIID riid, /* [annotation][iid_is][out] */ _COM_Outptr_ void **ppvObject); DECLSPEC_XFGVIRT(IUnknown, AddRef) ULONG ( STDMETHODCALLTYPE *AddRef )( __RPC__in IBackgroundCopyFile5 * This); DECLSPEC_XFGVIRT(IUnknown, Release) ULONG ( STDMETHODCALLTYPE *Release )( __RPC__in IBackgroundCopyFile5 * This); DECLSPEC_XFGVIRT(IBackgroundCopyFile, GetRemoteName) HRESULT ( STDMETHODCALLTYPE *GetRemoteName )( __RPC__in IBackgroundCopyFile5 * This, /* [out] */ __RPC__deref_out_opt LPWSTR *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyFile, GetLocalName) HRESULT ( STDMETHODCALLTYPE *GetLocalName )( __RPC__in IBackgroundCopyFile5 * This, /* [out] */ __RPC__deref_out_opt LPWSTR *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyFile, GetProgress) HRESULT ( STDMETHODCALLTYPE *GetProgress )( __RPC__in IBackgroundCopyFile5 * This, /* [out] */ __RPC__out BG_FILE_PROGRESS *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyFile2, GetFileRanges) HRESULT ( STDMETHODCALLTYPE *GetFileRanges )( __RPC__in IBackgroundCopyFile5 * This, /* [unique][out][in] */ __RPC__inout_opt DWORD *RangeCount, /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*RangeCount) BG_FILE_RANGE **Ranges); DECLSPEC_XFGVIRT(IBackgroundCopyFile2, SetRemoteName) HRESULT ( STDMETHODCALLTYPE *SetRemoteName )( __RPC__in IBackgroundCopyFile5 * This, __RPC__in LPCWSTR Val); DECLSPEC_XFGVIRT(IBackgroundCopyFile3, GetTemporaryName) HRESULT ( STDMETHODCALLTYPE *GetTemporaryName )( __RPC__in IBackgroundCopyFile5 * This, /* [out] */ __RPC__deref_out_opt LPWSTR *pFilename); DECLSPEC_XFGVIRT(IBackgroundCopyFile3, SetValidationState) HRESULT ( STDMETHODCALLTYPE *SetValidationState )( __RPC__in IBackgroundCopyFile5 * This, /* [in] */ BOOL state); DECLSPEC_XFGVIRT(IBackgroundCopyFile3, GetValidationState) HRESULT ( STDMETHODCALLTYPE *GetValidationState )( __RPC__in IBackgroundCopyFile5 * This, /* [out] */ __RPC__out BOOL *pState); DECLSPEC_XFGVIRT(IBackgroundCopyFile3, IsDownloadedFromPeer) HRESULT ( STDMETHODCALLTYPE *IsDownloadedFromPeer )( __RPC__in IBackgroundCopyFile5 * This, /* [out] */ __RPC__out BOOL *pVal); DECLSPEC_XFGVIRT(IBackgroundCopyFile4, GetPeerDownloadStats) HRESULT ( STDMETHODCALLTYPE *GetPeerDownloadStats )( __RPC__in IBackgroundCopyFile5 * This, /* [out] */ __RPC__out PUINT64 pFromOrigin, /* [out] */ __RPC__out PUINT64 pFromPeers); DECLSPEC_XFGVIRT(IBackgroundCopyFile5, SetProperty) HRESULT ( STDMETHODCALLTYPE *SetProperty )( __RPC__in IBackgroundCopyFile5 * This, /* [in] */ BITS_FILE_PROPERTY_ID PropertyId, /* [switch_is][in] */ BITS_FILE_PROPERTY_VALUE PropertyValue); DECLSPEC_XFGVIRT(IBackgroundCopyFile5, GetProperty) HRESULT ( STDMETHODCALLTYPE *GetProperty )( __RPC__in IBackgroundCopyFile5 * This, /* [in] */ BITS_FILE_PROPERTY_ID PropertyId, /* [switch_is][out] */ __RPC__out BITS_FILE_PROPERTY_VALUE *PropertyValue); END_INTERFACE } IBackgroundCopyFile5Vtbl; interface IBackgroundCopyFile5 { CONST_VTBL struct IBackgroundCopyFile5Vtbl *lpVtbl; }; #ifdef COBJMACROS #define IBackgroundCopyFile5_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define IBackgroundCopyFile5_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define IBackgroundCopyFile5_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define IBackgroundCopyFile5_GetRemoteName(This,pVal) \ ( (This)->lpVtbl -> GetRemoteName(This,pVal) ) #define IBackgroundCopyFile5_GetLocalName(This,pVal) \ ( (This)->lpVtbl -> GetLocalName(This,pVal) ) #define IBackgroundCopyFile5_GetProgress(This,pVal) \ ( (This)->lpVtbl -> GetProgress(This,pVal) ) #define IBackgroundCopyFile5_GetFileRanges(This,RangeCount,Ranges) \ ( (This)->lpVtbl -> GetFileRanges(This,RangeCount,Ranges) ) #define IBackgroundCopyFile5_SetRemoteName(This,Val) \ ( (This)->lpVtbl -> SetRemoteName(This,Val) ) #define IBackgroundCopyFile5_GetTemporaryName(This,pFilename) \ ( (This)->lpVtbl -> GetTemporaryName(This,pFilename) ) #define IBackgroundCopyFile5_SetValidationState(This,state) \ ( (This)->lpVtbl -> SetValidationState(This,state) ) #define IBackgroundCopyFile5_GetValidationState(This,pState) \ ( (This)->lpVtbl -> GetValidationState(This,pState) ) #define IBackgroundCopyFile5_IsDownloadedFromPeer(This,pVal) \ ( (This)->lpVtbl -> IsDownloadedFromPeer(This,pVal) ) #define IBackgroundCopyFile5_GetPeerDownloadStats(This,pFromOrigin,pFromPeers) \ ( (This)->lpVtbl -> GetPeerDownloadStats(This,pFromOrigin,pFromPeers) ) #define IBackgroundCopyFile5_SetProperty(This,PropertyId,PropertyValue) \ ( (This)->lpVtbl -> SetProperty(This,PropertyId,PropertyValue) ) #define IBackgroundCopyFile5_GetProperty(This,PropertyId,PropertyValue) \ ( (This)->lpVtbl -> GetProperty(This,PropertyId,PropertyValue) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IBackgroundCopyFile5_INTERFACE_DEFINED__ */ #ifndef __BackgroundCopyManager5_0_LIBRARY_DEFINED__ #define __BackgroundCopyManager5_0_LIBRARY_DEFINED__ /* library BackgroundCopyManager5_0 */ /* [version][lcid][helpstring][uuid] */ EXTERN_C const IID LIBID_BackgroundCopyManager5_0; EXTERN_C const CLSID CLSID_BackgroundCopyManager5_0; #ifdef __cplusplus class DECLSPEC_UUID("1ECCA34C-E88A-44E3-8D6A-8921BDE9E452") BackgroundCopyManager5_0; #endif #endif /* __BackgroundCopyManager5_0_LIBRARY_DEFINED__ */ /* interface __MIDL_itf_bits5_0_0000_0003 */ /* [local] */ #include "bits10_1.h" #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ #pragma endregion extern RPC_IF_HANDLE __MIDL_itf_bits5_0_0000_0003_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_bits5_0_0000_0003_v0_0_s_ifspec; /* Additional Prototypes for ALL interfaces */ /* end of Additional Prototypes */ #ifdef __cplusplus } #endif #endif