bits1_5.h 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542
  1. /*** Autogenerated by WIDL 7.7 from include/bits1_5.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 __bits1_5_h__
  14. #define __bits1_5_h__
  15. /* Forward declarations */
  16. #ifndef __IBackgroundCopyJob2_FWD_DEFINED__
  17. #define __IBackgroundCopyJob2_FWD_DEFINED__
  18. typedef interface IBackgroundCopyJob2 IBackgroundCopyJob2;
  19. #ifdef __cplusplus
  20. interface IBackgroundCopyJob2;
  21. #endif /* __cplusplus */
  22. #endif
  23. #ifndef __BackgroundCopyManager1_5_FWD_DEFINED__
  24. #define __BackgroundCopyManager1_5_FWD_DEFINED__
  25. #ifdef __cplusplus
  26. typedef class BackgroundCopyManager1_5 BackgroundCopyManager1_5;
  27. #else
  28. typedef struct BackgroundCopyManager1_5 BackgroundCopyManager1_5;
  29. #endif /* defined __cplusplus */
  30. #endif /* defined __BackgroundCopyManager1_5_FWD_DEFINED__ */
  31. /* Headers for imported files */
  32. #include <bits.h>
  33. #ifdef __cplusplus
  34. extern "C" {
  35. #endif
  36. /*****************************************************************************
  37. * IBackgroundCopyJob2 interface
  38. */
  39. #ifndef __IBackgroundCopyJob2_INTERFACE_DEFINED__
  40. #define __IBackgroundCopyJob2_INTERFACE_DEFINED__
  41. typedef struct _BG_JOB_REPLY_PROGRESS {
  42. UINT64 BytesTotal;
  43. UINT64 BytesTransferred;
  44. } BG_JOB_REPLY_PROGRESS;
  45. typedef enum __WIDL_bits1_5_generated_name_00000011 {
  46. BG_AUTH_TARGET_SERVER = 1,
  47. BG_AUTH_TARGET_PROXY = 2
  48. } BG_AUTH_TARGET;
  49. typedef enum __WIDL_bits1_5_generated_name_00000012 {
  50. BG_AUTH_SCHEME_BASIC = 1,
  51. BG_AUTH_SCHEME_DIGEST = 2,
  52. BG_AUTH_SCHEME_NTLM = 3,
  53. BG_AUTH_SCHEME_NEGOTIATE = 4,
  54. BG_AUTH_SCHEME_PASSPORT = 5
  55. } BG_AUTH_SCHEME;
  56. typedef struct __WIDL_bits1_5_generated_name_00000013 {
  57. LPWSTR UserName;
  58. LPWSTR Password;
  59. } BG_BASIC_CREDENTIALS;
  60. typedef BG_BASIC_CREDENTIALS *PBG_BASIC_CREDENTIALS;
  61. typedef union __WIDL_bits1_5_generated_name_00000014 {
  62. BG_BASIC_CREDENTIALS Basic;
  63. } BG_AUTH_CREDENTIALS_UNION;
  64. typedef struct __WIDL_bits1_5_generated_name_00000015 {
  65. BG_AUTH_TARGET Target;
  66. BG_AUTH_SCHEME Scheme;
  67. BG_AUTH_CREDENTIALS_UNION Credentials;
  68. } BG_AUTH_CREDENTIALS;
  69. typedef BG_AUTH_CREDENTIALS *PBG_AUTH_CREDENTIALS;
  70. DEFINE_GUID(IID_IBackgroundCopyJob2, 0x54b50739, 0x686f, 0x45eb, 0x9d,0xff, 0xd6,0xa9,0xa0,0xfa,0xa9,0xaf);
  71. #if defined(__cplusplus) && !defined(CINTERFACE)
  72. MIDL_INTERFACE("54b50739-686f-45eb-9dff-d6a9a0faa9af")
  73. IBackgroundCopyJob2 : public IBackgroundCopyJob
  74. {
  75. virtual HRESULT STDMETHODCALLTYPE SetNotifyCmdLine(
  76. LPCWSTR prog,
  77. LPCWSTR params) = 0;
  78. virtual HRESULT STDMETHODCALLTYPE GetNotifyCmdLine(
  79. LPWSTR *prog,
  80. LPWSTR *params) = 0;
  81. virtual HRESULT STDMETHODCALLTYPE GetReplyProgress(
  82. BG_JOB_REPLY_PROGRESS *progress) = 0;
  83. virtual HRESULT STDMETHODCALLTYPE GetReplyData(
  84. byte **pBuffer,
  85. UINT64 *pLength) = 0;
  86. virtual HRESULT STDMETHODCALLTYPE SetReplyFileName(
  87. LPCWSTR filename) = 0;
  88. virtual HRESULT STDMETHODCALLTYPE GetReplyFileName(
  89. LPWSTR *pFilename) = 0;
  90. virtual HRESULT STDMETHODCALLTYPE SetCredentials(
  91. BG_AUTH_CREDENTIALS *cred) = 0;
  92. virtual HRESULT STDMETHODCALLTYPE RemoveCredentials(
  93. BG_AUTH_TARGET target,
  94. BG_AUTH_SCHEME scheme) = 0;
  95. };
  96. #ifdef __CRT_UUID_DECL
  97. __CRT_UUID_DECL(IBackgroundCopyJob2, 0x54b50739, 0x686f, 0x45eb, 0x9d,0xff, 0xd6,0xa9,0xa0,0xfa,0xa9,0xaf)
  98. #endif
  99. #else
  100. typedef struct IBackgroundCopyJob2Vtbl {
  101. BEGIN_INTERFACE
  102. /*** IUnknown methods ***/
  103. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  104. IBackgroundCopyJob2 *This,
  105. REFIID riid,
  106. void **ppvObject);
  107. ULONG (STDMETHODCALLTYPE *AddRef)(
  108. IBackgroundCopyJob2 *This);
  109. ULONG (STDMETHODCALLTYPE *Release)(
  110. IBackgroundCopyJob2 *This);
  111. /*** IBackgroundCopyJob methods ***/
  112. HRESULT (STDMETHODCALLTYPE *AddFileSet)(
  113. IBackgroundCopyJob2 *This,
  114. ULONG cFileCount,
  115. BG_FILE_INFO *pFileSet);
  116. HRESULT (STDMETHODCALLTYPE *AddFile)(
  117. IBackgroundCopyJob2 *This,
  118. LPCWSTR RemoteUrl,
  119. LPCWSTR LocalName);
  120. HRESULT (STDMETHODCALLTYPE *EnumFiles)(
  121. IBackgroundCopyJob2 *This,
  122. IEnumBackgroundCopyFiles **pEnum);
  123. HRESULT (STDMETHODCALLTYPE *Suspend)(
  124. IBackgroundCopyJob2 *This);
  125. HRESULT (STDMETHODCALLTYPE *Resume)(
  126. IBackgroundCopyJob2 *This);
  127. HRESULT (STDMETHODCALLTYPE *Cancel)(
  128. IBackgroundCopyJob2 *This);
  129. HRESULT (STDMETHODCALLTYPE *Complete)(
  130. IBackgroundCopyJob2 *This);
  131. HRESULT (STDMETHODCALLTYPE *GetId)(
  132. IBackgroundCopyJob2 *This,
  133. GUID *pVal);
  134. HRESULT (STDMETHODCALLTYPE *GetType)(
  135. IBackgroundCopyJob2 *This,
  136. BG_JOB_TYPE *pVal);
  137. HRESULT (STDMETHODCALLTYPE *GetProgress)(
  138. IBackgroundCopyJob2 *This,
  139. BG_JOB_PROGRESS *pVal);
  140. HRESULT (STDMETHODCALLTYPE *GetTimes)(
  141. IBackgroundCopyJob2 *This,
  142. BG_JOB_TIMES *pVal);
  143. HRESULT (STDMETHODCALLTYPE *GetState)(
  144. IBackgroundCopyJob2 *This,
  145. BG_JOB_STATE *pVal);
  146. HRESULT (STDMETHODCALLTYPE *GetError)(
  147. IBackgroundCopyJob2 *This,
  148. IBackgroundCopyError **ppError);
  149. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  150. IBackgroundCopyJob2 *This,
  151. LPWSTR *pVal);
  152. HRESULT (STDMETHODCALLTYPE *SetDisplayName)(
  153. IBackgroundCopyJob2 *This,
  154. LPCWSTR Val);
  155. HRESULT (STDMETHODCALLTYPE *GetDisplayName)(
  156. IBackgroundCopyJob2 *This,
  157. LPWSTR *pVal);
  158. HRESULT (STDMETHODCALLTYPE *SetDescription)(
  159. IBackgroundCopyJob2 *This,
  160. LPCWSTR Val);
  161. HRESULT (STDMETHODCALLTYPE *GetDescription)(
  162. IBackgroundCopyJob2 *This,
  163. LPWSTR *pVal);
  164. HRESULT (STDMETHODCALLTYPE *SetPriority)(
  165. IBackgroundCopyJob2 *This,
  166. BG_JOB_PRIORITY Val);
  167. HRESULT (STDMETHODCALLTYPE *GetPriority)(
  168. IBackgroundCopyJob2 *This,
  169. BG_JOB_PRIORITY *pVal);
  170. HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)(
  171. IBackgroundCopyJob2 *This,
  172. ULONG Val);
  173. HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)(
  174. IBackgroundCopyJob2 *This,
  175. ULONG *pVal);
  176. HRESULT (STDMETHODCALLTYPE *SetNotifyInterface)(
  177. IBackgroundCopyJob2 *This,
  178. IUnknown *Val);
  179. HRESULT (STDMETHODCALLTYPE *GetNotifyInterface)(
  180. IBackgroundCopyJob2 *This,
  181. IUnknown **pVal);
  182. HRESULT (STDMETHODCALLTYPE *SetMinimumRetryDelay)(
  183. IBackgroundCopyJob2 *This,
  184. ULONG Seconds);
  185. HRESULT (STDMETHODCALLTYPE *GetMinimumRetryDelay)(
  186. IBackgroundCopyJob2 *This,
  187. ULONG *Seconds);
  188. HRESULT (STDMETHODCALLTYPE *SetNoProgressTimeout)(
  189. IBackgroundCopyJob2 *This,
  190. ULONG Seconds);
  191. HRESULT (STDMETHODCALLTYPE *GetNoProgressTimeout)(
  192. IBackgroundCopyJob2 *This,
  193. ULONG *Seconds);
  194. HRESULT (STDMETHODCALLTYPE *GetErrorCount)(
  195. IBackgroundCopyJob2 *This,
  196. ULONG *Errors);
  197. HRESULT (STDMETHODCALLTYPE *SetProxySettings)(
  198. IBackgroundCopyJob2 *This,
  199. BG_JOB_PROXY_USAGE ProxyUsage,
  200. const WCHAR *ProxyList,
  201. const WCHAR *ProxyBypassList);
  202. HRESULT (STDMETHODCALLTYPE *GetProxySettings)(
  203. IBackgroundCopyJob2 *This,
  204. BG_JOB_PROXY_USAGE *pProxyUsage,
  205. LPWSTR *pProxyList,
  206. LPWSTR *pProxyBypassList);
  207. HRESULT (STDMETHODCALLTYPE *TakeOwnership)(
  208. IBackgroundCopyJob2 *This);
  209. /*** IBackgroundCopyJob2 methods ***/
  210. HRESULT (STDMETHODCALLTYPE *SetNotifyCmdLine)(
  211. IBackgroundCopyJob2 *This,
  212. LPCWSTR prog,
  213. LPCWSTR params);
  214. HRESULT (STDMETHODCALLTYPE *GetNotifyCmdLine)(
  215. IBackgroundCopyJob2 *This,
  216. LPWSTR *prog,
  217. LPWSTR *params);
  218. HRESULT (STDMETHODCALLTYPE *GetReplyProgress)(
  219. IBackgroundCopyJob2 *This,
  220. BG_JOB_REPLY_PROGRESS *progress);
  221. HRESULT (STDMETHODCALLTYPE *GetReplyData)(
  222. IBackgroundCopyJob2 *This,
  223. byte **pBuffer,
  224. UINT64 *pLength);
  225. HRESULT (STDMETHODCALLTYPE *SetReplyFileName)(
  226. IBackgroundCopyJob2 *This,
  227. LPCWSTR filename);
  228. HRESULT (STDMETHODCALLTYPE *GetReplyFileName)(
  229. IBackgroundCopyJob2 *This,
  230. LPWSTR *pFilename);
  231. HRESULT (STDMETHODCALLTYPE *SetCredentials)(
  232. IBackgroundCopyJob2 *This,
  233. BG_AUTH_CREDENTIALS *cred);
  234. HRESULT (STDMETHODCALLTYPE *RemoveCredentials)(
  235. IBackgroundCopyJob2 *This,
  236. BG_AUTH_TARGET target,
  237. BG_AUTH_SCHEME scheme);
  238. END_INTERFACE
  239. } IBackgroundCopyJob2Vtbl;
  240. interface IBackgroundCopyJob2 {
  241. CONST_VTBL IBackgroundCopyJob2Vtbl* lpVtbl;
  242. };
  243. #ifdef COBJMACROS
  244. #ifndef WIDL_C_INLINE_WRAPPERS
  245. /*** IUnknown methods ***/
  246. #define IBackgroundCopyJob2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  247. #define IBackgroundCopyJob2_AddRef(This) (This)->lpVtbl->AddRef(This)
  248. #define IBackgroundCopyJob2_Release(This) (This)->lpVtbl->Release(This)
  249. /*** IBackgroundCopyJob methods ***/
  250. #define IBackgroundCopyJob2_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl->AddFileSet(This,cFileCount,pFileSet)
  251. #define IBackgroundCopyJob2_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl->AddFile(This,RemoteUrl,LocalName)
  252. #define IBackgroundCopyJob2_EnumFiles(This,pEnum) (This)->lpVtbl->EnumFiles(This,pEnum)
  253. #define IBackgroundCopyJob2_Suspend(This) (This)->lpVtbl->Suspend(This)
  254. #define IBackgroundCopyJob2_Resume(This) (This)->lpVtbl->Resume(This)
  255. #define IBackgroundCopyJob2_Cancel(This) (This)->lpVtbl->Cancel(This)
  256. #define IBackgroundCopyJob2_Complete(This) (This)->lpVtbl->Complete(This)
  257. #define IBackgroundCopyJob2_GetId(This,pVal) (This)->lpVtbl->GetId(This,pVal)
  258. #define IBackgroundCopyJob2_GetType(This,pVal) (This)->lpVtbl->GetType(This,pVal)
  259. #define IBackgroundCopyJob2_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal)
  260. #define IBackgroundCopyJob2_GetTimes(This,pVal) (This)->lpVtbl->GetTimes(This,pVal)
  261. #define IBackgroundCopyJob2_GetState(This,pVal) (This)->lpVtbl->GetState(This,pVal)
  262. #define IBackgroundCopyJob2_GetError(This,ppError) (This)->lpVtbl->GetError(This,ppError)
  263. #define IBackgroundCopyJob2_GetOwner(This,pVal) (This)->lpVtbl->GetOwner(This,pVal)
  264. #define IBackgroundCopyJob2_SetDisplayName(This,Val) (This)->lpVtbl->SetDisplayName(This,Val)
  265. #define IBackgroundCopyJob2_GetDisplayName(This,pVal) (This)->lpVtbl->GetDisplayName(This,pVal)
  266. #define IBackgroundCopyJob2_SetDescription(This,Val) (This)->lpVtbl->SetDescription(This,Val)
  267. #define IBackgroundCopyJob2_GetDescription(This,pVal) (This)->lpVtbl->GetDescription(This,pVal)
  268. #define IBackgroundCopyJob2_SetPriority(This,Val) (This)->lpVtbl->SetPriority(This,Val)
  269. #define IBackgroundCopyJob2_GetPriority(This,pVal) (This)->lpVtbl->GetPriority(This,pVal)
  270. #define IBackgroundCopyJob2_SetNotifyFlags(This,Val) (This)->lpVtbl->SetNotifyFlags(This,Val)
  271. #define IBackgroundCopyJob2_GetNotifyFlags(This,pVal) (This)->lpVtbl->GetNotifyFlags(This,pVal)
  272. #define IBackgroundCopyJob2_SetNotifyInterface(This,Val) (This)->lpVtbl->SetNotifyInterface(This,Val)
  273. #define IBackgroundCopyJob2_GetNotifyInterface(This,pVal) (This)->lpVtbl->GetNotifyInterface(This,pVal)
  274. #define IBackgroundCopyJob2_SetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->SetMinimumRetryDelay(This,Seconds)
  275. #define IBackgroundCopyJob2_GetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->GetMinimumRetryDelay(This,Seconds)
  276. #define IBackgroundCopyJob2_SetNoProgressTimeout(This,Seconds) (This)->lpVtbl->SetNoProgressTimeout(This,Seconds)
  277. #define IBackgroundCopyJob2_GetNoProgressTimeout(This,Seconds) (This)->lpVtbl->GetNoProgressTimeout(This,Seconds)
  278. #define IBackgroundCopyJob2_GetErrorCount(This,Errors) (This)->lpVtbl->GetErrorCount(This,Errors)
  279. #define IBackgroundCopyJob2_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList)
  280. #define IBackgroundCopyJob2_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList)
  281. #define IBackgroundCopyJob2_TakeOwnership(This) (This)->lpVtbl->TakeOwnership(This)
  282. /*** IBackgroundCopyJob2 methods ***/
  283. #define IBackgroundCopyJob2_SetNotifyCmdLine(This,prog,params) (This)->lpVtbl->SetNotifyCmdLine(This,prog,params)
  284. #define IBackgroundCopyJob2_GetNotifyCmdLine(This,prog,params) (This)->lpVtbl->GetNotifyCmdLine(This,prog,params)
  285. #define IBackgroundCopyJob2_GetReplyProgress(This,progress) (This)->lpVtbl->GetReplyProgress(This,progress)
  286. #define IBackgroundCopyJob2_GetReplyData(This,pBuffer,pLength) (This)->lpVtbl->GetReplyData(This,pBuffer,pLength)
  287. #define IBackgroundCopyJob2_SetReplyFileName(This,filename) (This)->lpVtbl->SetReplyFileName(This,filename)
  288. #define IBackgroundCopyJob2_GetReplyFileName(This,pFilename) (This)->lpVtbl->GetReplyFileName(This,pFilename)
  289. #define IBackgroundCopyJob2_SetCredentials(This,cred) (This)->lpVtbl->SetCredentials(This,cred)
  290. #define IBackgroundCopyJob2_RemoveCredentials(This,target,scheme) (This)->lpVtbl->RemoveCredentials(This,target,scheme)
  291. #else
  292. /*** IUnknown methods ***/
  293. static FORCEINLINE HRESULT IBackgroundCopyJob2_QueryInterface(IBackgroundCopyJob2* This,REFIID riid,void **ppvObject) {
  294. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  295. }
  296. static FORCEINLINE ULONG IBackgroundCopyJob2_AddRef(IBackgroundCopyJob2* This) {
  297. return This->lpVtbl->AddRef(This);
  298. }
  299. static FORCEINLINE ULONG IBackgroundCopyJob2_Release(IBackgroundCopyJob2* This) {
  300. return This->lpVtbl->Release(This);
  301. }
  302. /*** IBackgroundCopyJob methods ***/
  303. static FORCEINLINE HRESULT IBackgroundCopyJob2_AddFileSet(IBackgroundCopyJob2* This,ULONG cFileCount,BG_FILE_INFO *pFileSet) {
  304. return This->lpVtbl->AddFileSet(This,cFileCount,pFileSet);
  305. }
  306. static FORCEINLINE HRESULT IBackgroundCopyJob2_AddFile(IBackgroundCopyJob2* This,LPCWSTR RemoteUrl,LPCWSTR LocalName) {
  307. return This->lpVtbl->AddFile(This,RemoteUrl,LocalName);
  308. }
  309. static FORCEINLINE HRESULT IBackgroundCopyJob2_EnumFiles(IBackgroundCopyJob2* This,IEnumBackgroundCopyFiles **pEnum) {
  310. return This->lpVtbl->EnumFiles(This,pEnum);
  311. }
  312. static FORCEINLINE HRESULT IBackgroundCopyJob2_Suspend(IBackgroundCopyJob2* This) {
  313. return This->lpVtbl->Suspend(This);
  314. }
  315. static FORCEINLINE HRESULT IBackgroundCopyJob2_Resume(IBackgroundCopyJob2* This) {
  316. return This->lpVtbl->Resume(This);
  317. }
  318. static FORCEINLINE HRESULT IBackgroundCopyJob2_Cancel(IBackgroundCopyJob2* This) {
  319. return This->lpVtbl->Cancel(This);
  320. }
  321. static FORCEINLINE HRESULT IBackgroundCopyJob2_Complete(IBackgroundCopyJob2* This) {
  322. return This->lpVtbl->Complete(This);
  323. }
  324. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetId(IBackgroundCopyJob2* This,GUID *pVal) {
  325. return This->lpVtbl->GetId(This,pVal);
  326. }
  327. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetType(IBackgroundCopyJob2* This,BG_JOB_TYPE *pVal) {
  328. return This->lpVtbl->GetType(This,pVal);
  329. }
  330. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetProgress(IBackgroundCopyJob2* This,BG_JOB_PROGRESS *pVal) {
  331. return This->lpVtbl->GetProgress(This,pVal);
  332. }
  333. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetTimes(IBackgroundCopyJob2* This,BG_JOB_TIMES *pVal) {
  334. return This->lpVtbl->GetTimes(This,pVal);
  335. }
  336. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetState(IBackgroundCopyJob2* This,BG_JOB_STATE *pVal) {
  337. return This->lpVtbl->GetState(This,pVal);
  338. }
  339. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetError(IBackgroundCopyJob2* This,IBackgroundCopyError **ppError) {
  340. return This->lpVtbl->GetError(This,ppError);
  341. }
  342. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetOwner(IBackgroundCopyJob2* This,LPWSTR *pVal) {
  343. return This->lpVtbl->GetOwner(This,pVal);
  344. }
  345. static FORCEINLINE HRESULT IBackgroundCopyJob2_SetDisplayName(IBackgroundCopyJob2* This,LPCWSTR Val) {
  346. return This->lpVtbl->SetDisplayName(This,Val);
  347. }
  348. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetDisplayName(IBackgroundCopyJob2* This,LPWSTR *pVal) {
  349. return This->lpVtbl->GetDisplayName(This,pVal);
  350. }
  351. static FORCEINLINE HRESULT IBackgroundCopyJob2_SetDescription(IBackgroundCopyJob2* This,LPCWSTR Val) {
  352. return This->lpVtbl->SetDescription(This,Val);
  353. }
  354. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetDescription(IBackgroundCopyJob2* This,LPWSTR *pVal) {
  355. return This->lpVtbl->GetDescription(This,pVal);
  356. }
  357. static FORCEINLINE HRESULT IBackgroundCopyJob2_SetPriority(IBackgroundCopyJob2* This,BG_JOB_PRIORITY Val) {
  358. return This->lpVtbl->SetPriority(This,Val);
  359. }
  360. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetPriority(IBackgroundCopyJob2* This,BG_JOB_PRIORITY *pVal) {
  361. return This->lpVtbl->GetPriority(This,pVal);
  362. }
  363. static FORCEINLINE HRESULT IBackgroundCopyJob2_SetNotifyFlags(IBackgroundCopyJob2* This,ULONG Val) {
  364. return This->lpVtbl->SetNotifyFlags(This,Val);
  365. }
  366. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetNotifyFlags(IBackgroundCopyJob2* This,ULONG *pVal) {
  367. return This->lpVtbl->GetNotifyFlags(This,pVal);
  368. }
  369. static FORCEINLINE HRESULT IBackgroundCopyJob2_SetNotifyInterface(IBackgroundCopyJob2* This,IUnknown *Val) {
  370. return This->lpVtbl->SetNotifyInterface(This,Val);
  371. }
  372. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetNotifyInterface(IBackgroundCopyJob2* This,IUnknown **pVal) {
  373. return This->lpVtbl->GetNotifyInterface(This,pVal);
  374. }
  375. static FORCEINLINE HRESULT IBackgroundCopyJob2_SetMinimumRetryDelay(IBackgroundCopyJob2* This,ULONG Seconds) {
  376. return This->lpVtbl->SetMinimumRetryDelay(This,Seconds);
  377. }
  378. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetMinimumRetryDelay(IBackgroundCopyJob2* This,ULONG *Seconds) {
  379. return This->lpVtbl->GetMinimumRetryDelay(This,Seconds);
  380. }
  381. static FORCEINLINE HRESULT IBackgroundCopyJob2_SetNoProgressTimeout(IBackgroundCopyJob2* This,ULONG Seconds) {
  382. return This->lpVtbl->SetNoProgressTimeout(This,Seconds);
  383. }
  384. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetNoProgressTimeout(IBackgroundCopyJob2* This,ULONG *Seconds) {
  385. return This->lpVtbl->GetNoProgressTimeout(This,Seconds);
  386. }
  387. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetErrorCount(IBackgroundCopyJob2* This,ULONG *Errors) {
  388. return This->lpVtbl->GetErrorCount(This,Errors);
  389. }
  390. static FORCEINLINE HRESULT IBackgroundCopyJob2_SetProxySettings(IBackgroundCopyJob2* This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList) {
  391. return This->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList);
  392. }
  393. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetProxySettings(IBackgroundCopyJob2* This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList) {
  394. return This->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList);
  395. }
  396. static FORCEINLINE HRESULT IBackgroundCopyJob2_TakeOwnership(IBackgroundCopyJob2* This) {
  397. return This->lpVtbl->TakeOwnership(This);
  398. }
  399. /*** IBackgroundCopyJob2 methods ***/
  400. static FORCEINLINE HRESULT IBackgroundCopyJob2_SetNotifyCmdLine(IBackgroundCopyJob2* This,LPCWSTR prog,LPCWSTR params) {
  401. return This->lpVtbl->SetNotifyCmdLine(This,prog,params);
  402. }
  403. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetNotifyCmdLine(IBackgroundCopyJob2* This,LPWSTR *prog,LPWSTR *params) {
  404. return This->lpVtbl->GetNotifyCmdLine(This,prog,params);
  405. }
  406. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetReplyProgress(IBackgroundCopyJob2* This,BG_JOB_REPLY_PROGRESS *progress) {
  407. return This->lpVtbl->GetReplyProgress(This,progress);
  408. }
  409. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetReplyData(IBackgroundCopyJob2* This,byte **pBuffer,UINT64 *pLength) {
  410. return This->lpVtbl->GetReplyData(This,pBuffer,pLength);
  411. }
  412. static FORCEINLINE HRESULT IBackgroundCopyJob2_SetReplyFileName(IBackgroundCopyJob2* This,LPCWSTR filename) {
  413. return This->lpVtbl->SetReplyFileName(This,filename);
  414. }
  415. static FORCEINLINE HRESULT IBackgroundCopyJob2_GetReplyFileName(IBackgroundCopyJob2* This,LPWSTR *pFilename) {
  416. return This->lpVtbl->GetReplyFileName(This,pFilename);
  417. }
  418. static FORCEINLINE HRESULT IBackgroundCopyJob2_SetCredentials(IBackgroundCopyJob2* This,BG_AUTH_CREDENTIALS *cred) {
  419. return This->lpVtbl->SetCredentials(This,cred);
  420. }
  421. static FORCEINLINE HRESULT IBackgroundCopyJob2_RemoveCredentials(IBackgroundCopyJob2* This,BG_AUTH_TARGET target,BG_AUTH_SCHEME scheme) {
  422. return This->lpVtbl->RemoveCredentials(This,target,scheme);
  423. }
  424. #endif
  425. #endif
  426. #endif
  427. #endif /* __IBackgroundCopyJob2_INTERFACE_DEFINED__ */
  428. #ifndef __BackgroundCopyManager1_5_LIBRARY_DEFINED__
  429. #define __BackgroundCopyManager1_5_LIBRARY_DEFINED__
  430. DEFINE_GUID(LIBID_BackgroundCopyManager1_5, 0xea9319ea, 0xc628, 0x480f, 0x83,0x31, 0x76,0x8f,0xac,0x39,0x7e,0x4e);
  431. /*****************************************************************************
  432. * BackgroundCopyManager1_5 coclass
  433. */
  434. DEFINE_GUID(CLSID_BackgroundCopyManager1_5, 0xf087771f, 0xd74f, 0x4c1a, 0xbb,0x8a, 0xe1,0x6a,0xca,0x91,0x24,0xea);
  435. #ifdef __cplusplus
  436. class DECLSPEC_UUID("f087771f-d74f-4c1a-bb8a-e16aca9124ea") BackgroundCopyManager1_5;
  437. #ifdef __CRT_UUID_DECL
  438. __CRT_UUID_DECL(BackgroundCopyManager1_5, 0xf087771f, 0xd74f, 0x4c1a, 0xbb,0x8a, 0xe1,0x6a,0xca,0x91,0x24,0xea)
  439. #endif
  440. #endif
  441. #ifndef __IBackgroundCopyCallback_FWD_DEFINED__
  442. #define __IBackgroundCopyCallback_FWD_DEFINED__
  443. typedef interface IBackgroundCopyCallback IBackgroundCopyCallback;
  444. #ifdef __cplusplus
  445. interface IBackgroundCopyCallback;
  446. #endif /* __cplusplus */
  447. #endif
  448. #ifndef __IBackgroundCopyJob2_FWD_DEFINED__
  449. #define __IBackgroundCopyJob2_FWD_DEFINED__
  450. typedef interface IBackgroundCopyJob2 IBackgroundCopyJob2;
  451. #ifdef __cplusplus
  452. interface IBackgroundCopyJob2;
  453. #endif /* __cplusplus */
  454. #endif
  455. #endif /* __BackgroundCopyManager1_5_LIBRARY_DEFINED__ */
  456. #include "bits2_0.h"
  457. /* Begin additional prototypes for all interfaces */
  458. /* End additional prototypes */
  459. #ifdef __cplusplus
  460. }
  461. #endif
  462. #endif /* __bits1_5_h__ */