bits2_0.h 27 KB

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