Win32 API 日本語リファレンス
ホームNetworking.BackgroundIntelligentTransferService › IBackgroundCopyJob

IBackgroundCopyJob

COM
IID37668d37-507e-4160-9316-26306d150b12継承元IUnknown自前メソッド開始 vtbl3

メソッド 32

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtblメソッド
3HRESULT AddFileSet(DWORD cFileCount, BG_FILE_INFO* pFileSet)
4HRESULT AddFile(LPWSTR RemoteUrl, LPWSTR LocalName)
5HRESULT EnumFiles(IEnumBackgroundCopyFiles** pEnum)
6HRESULT Suspend()
7HRESULT Resume()
8HRESULT Cancel()
9HRESULT Complete()
10HRESULT GetId(GUID* pVal)
11HRESULT GetType(BG_JOB_TYPE* pVal)
12HRESULT GetProgress(BG_JOB_PROGRESS* pVal)
13HRESULT GetTimes(BG_JOB_TIMES* pVal)
14HRESULT GetState(BG_JOB_STATE* pVal)
15HRESULT GetError(IBackgroundCopyError** ppError)
16HRESULT GetOwner(LPWSTR* pVal)
17HRESULT SetDisplayName(LPWSTR Val)
18HRESULT GetDisplayName(LPWSTR* pVal)
19HRESULT SetDescription(LPWSTR Val)
20HRESULT GetDescription(LPWSTR* pVal)
21HRESULT SetPriority(BG_JOB_PRIORITY Val)
22HRESULT GetPriority(BG_JOB_PRIORITY* pVal)
23HRESULT SetNotifyFlags(DWORD Val)
24HRESULT GetNotifyFlags(DWORD* pVal)
25HRESULT SetNotifyInterface(IUnknown* Val)
26HRESULT GetNotifyInterface(IUnknown** pVal)
27HRESULT SetMinimumRetryDelay(DWORD Seconds)
28HRESULT GetMinimumRetryDelay(DWORD* Seconds)
29HRESULT SetNoProgressTimeout(DWORD Seconds)
30HRESULT GetNoProgressTimeout(DWORD* Seconds)
31HRESULT GetErrorCount(DWORD* Errors)
32HRESULT SetProxySettings(BG_JOB_PROXY_USAGE ProxyUsage, LPWSTR ProxyList, LPWSTR ProxyBypassList)
33HRESULT GetProxySettings(BG_JOB_PROXY_USAGE* pProxyUsage, LPWSTR* pProxyList, LPWSTR* pProxyBypassList)
34HRESULT TakeOwnership()