Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2211 lines
64 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0345 */
  4. /* Compiler settings for bits.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __bits_h__
  27. #define __bits_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IBackgroundCopyFile_FWD_DEFINED__
  33. #define __IBackgroundCopyFile_FWD_DEFINED__
  34. typedef interface IBackgroundCopyFile IBackgroundCopyFile;
  35. #endif /* __IBackgroundCopyFile_FWD_DEFINED__ */
  36. #ifndef __IEnumBackgroundCopyFiles_FWD_DEFINED__
  37. #define __IEnumBackgroundCopyFiles_FWD_DEFINED__
  38. typedef interface IEnumBackgroundCopyFiles IEnumBackgroundCopyFiles;
  39. #endif /* __IEnumBackgroundCopyFiles_FWD_DEFINED__ */
  40. #ifndef __IBackgroundCopyError_FWD_DEFINED__
  41. #define __IBackgroundCopyError_FWD_DEFINED__
  42. typedef interface IBackgroundCopyError IBackgroundCopyError;
  43. #endif /* __IBackgroundCopyError_FWD_DEFINED__ */
  44. #ifndef __IBackgroundCopyJob_FWD_DEFINED__
  45. #define __IBackgroundCopyJob_FWD_DEFINED__
  46. typedef interface IBackgroundCopyJob IBackgroundCopyJob;
  47. #endif /* __IBackgroundCopyJob_FWD_DEFINED__ */
  48. #ifndef __IEnumBackgroundCopyJobs_FWD_DEFINED__
  49. #define __IEnumBackgroundCopyJobs_FWD_DEFINED__
  50. typedef interface IEnumBackgroundCopyJobs IEnumBackgroundCopyJobs;
  51. #endif /* __IEnumBackgroundCopyJobs_FWD_DEFINED__ */
  52. #ifndef __IBackgroundCopyCallback_FWD_DEFINED__
  53. #define __IBackgroundCopyCallback_FWD_DEFINED__
  54. typedef interface IBackgroundCopyCallback IBackgroundCopyCallback;
  55. #endif /* __IBackgroundCopyCallback_FWD_DEFINED__ */
  56. #ifndef __AsyncIBackgroundCopyCallback_FWD_DEFINED__
  57. #define __AsyncIBackgroundCopyCallback_FWD_DEFINED__
  58. typedef interface AsyncIBackgroundCopyCallback AsyncIBackgroundCopyCallback;
  59. #endif /* __AsyncIBackgroundCopyCallback_FWD_DEFINED__ */
  60. #ifndef __IBackgroundCopyManager_FWD_DEFINED__
  61. #define __IBackgroundCopyManager_FWD_DEFINED__
  62. typedef interface IBackgroundCopyManager IBackgroundCopyManager;
  63. #endif /* __IBackgroundCopyManager_FWD_DEFINED__ */
  64. #ifndef __BackgroundCopyManager_FWD_DEFINED__
  65. #define __BackgroundCopyManager_FWD_DEFINED__
  66. #ifdef __cplusplus
  67. typedef class BackgroundCopyManager BackgroundCopyManager;
  68. #else
  69. typedef struct BackgroundCopyManager BackgroundCopyManager;
  70. #endif /* __cplusplus */
  71. #endif /* __BackgroundCopyManager_FWD_DEFINED__ */
  72. /* header files for imported files */
  73. #include "unknwn.h"
  74. #ifdef __cplusplus
  75. extern "C"{
  76. #endif
  77. void * __RPC_USER MIDL_user_allocate(size_t);
  78. void __RPC_USER MIDL_user_free( void * );
  79. /* interface __MIDL_itf_bits_0000 */
  80. /* [local] */
  81. #include "bitsmsg.h"
  82. #define BG_SIZE_UNKNOWN (UINT64)(-1)
  83. extern RPC_IF_HANDLE __MIDL_itf_bits_0000_v0_0_c_ifspec;
  84. extern RPC_IF_HANDLE __MIDL_itf_bits_0000_v0_0_s_ifspec;
  85. #ifndef __IBackgroundCopyFile_INTERFACE_DEFINED__
  86. #define __IBackgroundCopyFile_INTERFACE_DEFINED__
  87. /* interface IBackgroundCopyFile */
  88. /* [object][uuid] */
  89. typedef struct _BG_FILE_PROGRESS
  90. {
  91. UINT64 BytesTotal;
  92. UINT64 BytesTransferred;
  93. BOOL Transferred;
  94. } BG_FILE_PROGRESS;
  95. EXTERN_C const IID IID_IBackgroundCopyFile;
  96. #if defined(__cplusplus) && !defined(CINTERFACE)
  97. MIDL_INTERFACE("01b7bd23-fb88-4a77-8490-5891d3e4653a")
  98. IBackgroundCopyFile : public IUnknown
  99. {
  100. public:
  101. virtual HRESULT STDMETHODCALLTYPE GetRemoteName(
  102. /* [out] */ LPWSTR *pVal) = 0;
  103. virtual HRESULT STDMETHODCALLTYPE GetLocalName(
  104. /* [out] */ LPWSTR *pVal) = 0;
  105. virtual HRESULT STDMETHODCALLTYPE GetProgress(
  106. /* [out] */ BG_FILE_PROGRESS *pVal) = 0;
  107. };
  108. #else /* C style interface */
  109. typedef struct IBackgroundCopyFileVtbl
  110. {
  111. BEGIN_INTERFACE
  112. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  113. IBackgroundCopyFile * This,
  114. /* [in] */ REFIID riid,
  115. /* [iid_is][out] */ void **ppvObject);
  116. ULONG ( STDMETHODCALLTYPE *AddRef )(
  117. IBackgroundCopyFile * This);
  118. ULONG ( STDMETHODCALLTYPE *Release )(
  119. IBackgroundCopyFile * This);
  120. HRESULT ( STDMETHODCALLTYPE *GetRemoteName )(
  121. IBackgroundCopyFile * This,
  122. /* [out] */ LPWSTR *pVal);
  123. HRESULT ( STDMETHODCALLTYPE *GetLocalName )(
  124. IBackgroundCopyFile * This,
  125. /* [out] */ LPWSTR *pVal);
  126. HRESULT ( STDMETHODCALLTYPE *GetProgress )(
  127. IBackgroundCopyFile * This,
  128. /* [out] */ BG_FILE_PROGRESS *pVal);
  129. END_INTERFACE
  130. } IBackgroundCopyFileVtbl;
  131. interface IBackgroundCopyFile
  132. {
  133. CONST_VTBL struct IBackgroundCopyFileVtbl *lpVtbl;
  134. };
  135. #ifdef COBJMACROS
  136. #define IBackgroundCopyFile_QueryInterface(This,riid,ppvObject) \
  137. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  138. #define IBackgroundCopyFile_AddRef(This) \
  139. (This)->lpVtbl -> AddRef(This)
  140. #define IBackgroundCopyFile_Release(This) \
  141. (This)->lpVtbl -> Release(This)
  142. #define IBackgroundCopyFile_GetRemoteName(This,pVal) \
  143. (This)->lpVtbl -> GetRemoteName(This,pVal)
  144. #define IBackgroundCopyFile_GetLocalName(This,pVal) \
  145. (This)->lpVtbl -> GetLocalName(This,pVal)
  146. #define IBackgroundCopyFile_GetProgress(This,pVal) \
  147. (This)->lpVtbl -> GetProgress(This,pVal)
  148. #endif /* COBJMACROS */
  149. #endif /* C style interface */
  150. HRESULT STDMETHODCALLTYPE IBackgroundCopyFile_GetRemoteName_Proxy(
  151. IBackgroundCopyFile * This,
  152. /* [out] */ LPWSTR *pVal);
  153. void __RPC_STUB IBackgroundCopyFile_GetRemoteName_Stub(
  154. IRpcStubBuffer *This,
  155. IRpcChannelBuffer *_pRpcChannelBuffer,
  156. PRPC_MESSAGE _pRpcMessage,
  157. DWORD *_pdwStubPhase);
  158. HRESULT STDMETHODCALLTYPE IBackgroundCopyFile_GetLocalName_Proxy(
  159. IBackgroundCopyFile * This,
  160. /* [out] */ LPWSTR *pVal);
  161. void __RPC_STUB IBackgroundCopyFile_GetLocalName_Stub(
  162. IRpcStubBuffer *This,
  163. IRpcChannelBuffer *_pRpcChannelBuffer,
  164. PRPC_MESSAGE _pRpcMessage,
  165. DWORD *_pdwStubPhase);
  166. HRESULT STDMETHODCALLTYPE IBackgroundCopyFile_GetProgress_Proxy(
  167. IBackgroundCopyFile * This,
  168. /* [out] */ BG_FILE_PROGRESS *pVal);
  169. void __RPC_STUB IBackgroundCopyFile_GetProgress_Stub(
  170. IRpcStubBuffer *This,
  171. IRpcChannelBuffer *_pRpcChannelBuffer,
  172. PRPC_MESSAGE _pRpcMessage,
  173. DWORD *_pdwStubPhase);
  174. #endif /* __IBackgroundCopyFile_INTERFACE_DEFINED__ */
  175. #ifndef __IEnumBackgroundCopyFiles_INTERFACE_DEFINED__
  176. #define __IEnumBackgroundCopyFiles_INTERFACE_DEFINED__
  177. /* interface IEnumBackgroundCopyFiles */
  178. /* [object][helpstring][uuid] */
  179. EXTERN_C const IID IID_IEnumBackgroundCopyFiles;
  180. #if defined(__cplusplus) && !defined(CINTERFACE)
  181. MIDL_INTERFACE("ca51e165-c365-424c-8d41-24aaa4ff3c40")
  182. IEnumBackgroundCopyFiles : public IUnknown
  183. {
  184. public:
  185. virtual HRESULT STDMETHODCALLTYPE Next(
  186. /* [in] */ ULONG celt,
  187. /* [length_is][size_is][out] */ IBackgroundCopyFile **rgelt,
  188. /* [unique][out][in] */ ULONG *pceltFetched) = 0;
  189. virtual HRESULT STDMETHODCALLTYPE Skip(
  190. /* [in] */ ULONG celt) = 0;
  191. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  192. virtual HRESULT STDMETHODCALLTYPE Clone(
  193. /* [out] */ IEnumBackgroundCopyFiles **ppenum) = 0;
  194. virtual HRESULT STDMETHODCALLTYPE GetCount(
  195. /* [out] */ ULONG *puCount) = 0;
  196. };
  197. #else /* C style interface */
  198. typedef struct IEnumBackgroundCopyFilesVtbl
  199. {
  200. BEGIN_INTERFACE
  201. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  202. IEnumBackgroundCopyFiles * This,
  203. /* [in] */ REFIID riid,
  204. /* [iid_is][out] */ void **ppvObject);
  205. ULONG ( STDMETHODCALLTYPE *AddRef )(
  206. IEnumBackgroundCopyFiles * This);
  207. ULONG ( STDMETHODCALLTYPE *Release )(
  208. IEnumBackgroundCopyFiles * This);
  209. HRESULT ( STDMETHODCALLTYPE *Next )(
  210. IEnumBackgroundCopyFiles * This,
  211. /* [in] */ ULONG celt,
  212. /* [length_is][size_is][out] */ IBackgroundCopyFile **rgelt,
  213. /* [unique][out][in] */ ULONG *pceltFetched);
  214. HRESULT ( STDMETHODCALLTYPE *Skip )(
  215. IEnumBackgroundCopyFiles * This,
  216. /* [in] */ ULONG celt);
  217. HRESULT ( STDMETHODCALLTYPE *Reset )(
  218. IEnumBackgroundCopyFiles * This);
  219. HRESULT ( STDMETHODCALLTYPE *Clone )(
  220. IEnumBackgroundCopyFiles * This,
  221. /* [out] */ IEnumBackgroundCopyFiles **ppenum);
  222. HRESULT ( STDMETHODCALLTYPE *GetCount )(
  223. IEnumBackgroundCopyFiles * This,
  224. /* [out] */ ULONG *puCount);
  225. END_INTERFACE
  226. } IEnumBackgroundCopyFilesVtbl;
  227. interface IEnumBackgroundCopyFiles
  228. {
  229. CONST_VTBL struct IEnumBackgroundCopyFilesVtbl *lpVtbl;
  230. };
  231. #ifdef COBJMACROS
  232. #define IEnumBackgroundCopyFiles_QueryInterface(This,riid,ppvObject) \
  233. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  234. #define IEnumBackgroundCopyFiles_AddRef(This) \
  235. (This)->lpVtbl -> AddRef(This)
  236. #define IEnumBackgroundCopyFiles_Release(This) \
  237. (This)->lpVtbl -> Release(This)
  238. #define IEnumBackgroundCopyFiles_Next(This,celt,rgelt,pceltFetched) \
  239. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  240. #define IEnumBackgroundCopyFiles_Skip(This,celt) \
  241. (This)->lpVtbl -> Skip(This,celt)
  242. #define IEnumBackgroundCopyFiles_Reset(This) \
  243. (This)->lpVtbl -> Reset(This)
  244. #define IEnumBackgroundCopyFiles_Clone(This,ppenum) \
  245. (This)->lpVtbl -> Clone(This,ppenum)
  246. #define IEnumBackgroundCopyFiles_GetCount(This,puCount) \
  247. (This)->lpVtbl -> GetCount(This,puCount)
  248. #endif /* COBJMACROS */
  249. #endif /* C style interface */
  250. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyFiles_Next_Proxy(
  251. IEnumBackgroundCopyFiles * This,
  252. /* [in] */ ULONG celt,
  253. /* [length_is][size_is][out] */ IBackgroundCopyFile **rgelt,
  254. /* [unique][out][in] */ ULONG *pceltFetched);
  255. void __RPC_STUB IEnumBackgroundCopyFiles_Next_Stub(
  256. IRpcStubBuffer *This,
  257. IRpcChannelBuffer *_pRpcChannelBuffer,
  258. PRPC_MESSAGE _pRpcMessage,
  259. DWORD *_pdwStubPhase);
  260. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyFiles_Skip_Proxy(
  261. IEnumBackgroundCopyFiles * This,
  262. /* [in] */ ULONG celt);
  263. void __RPC_STUB IEnumBackgroundCopyFiles_Skip_Stub(
  264. IRpcStubBuffer *This,
  265. IRpcChannelBuffer *_pRpcChannelBuffer,
  266. PRPC_MESSAGE _pRpcMessage,
  267. DWORD *_pdwStubPhase);
  268. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyFiles_Reset_Proxy(
  269. IEnumBackgroundCopyFiles * This);
  270. void __RPC_STUB IEnumBackgroundCopyFiles_Reset_Stub(
  271. IRpcStubBuffer *This,
  272. IRpcChannelBuffer *_pRpcChannelBuffer,
  273. PRPC_MESSAGE _pRpcMessage,
  274. DWORD *_pdwStubPhase);
  275. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyFiles_Clone_Proxy(
  276. IEnumBackgroundCopyFiles * This,
  277. /* [out] */ IEnumBackgroundCopyFiles **ppenum);
  278. void __RPC_STUB IEnumBackgroundCopyFiles_Clone_Stub(
  279. IRpcStubBuffer *This,
  280. IRpcChannelBuffer *_pRpcChannelBuffer,
  281. PRPC_MESSAGE _pRpcMessage,
  282. DWORD *_pdwStubPhase);
  283. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyFiles_GetCount_Proxy(
  284. IEnumBackgroundCopyFiles * This,
  285. /* [out] */ ULONG *puCount);
  286. void __RPC_STUB IEnumBackgroundCopyFiles_GetCount_Stub(
  287. IRpcStubBuffer *This,
  288. IRpcChannelBuffer *_pRpcChannelBuffer,
  289. PRPC_MESSAGE _pRpcMessage,
  290. DWORD *_pdwStubPhase);
  291. #endif /* __IEnumBackgroundCopyFiles_INTERFACE_DEFINED__ */
  292. #ifndef __IBackgroundCopyError_INTERFACE_DEFINED__
  293. #define __IBackgroundCopyError_INTERFACE_DEFINED__
  294. /* interface IBackgroundCopyError */
  295. /* [object][helpstring][uuid] */
  296. typedef /* [public][public] */
  297. enum __MIDL_IBackgroundCopyError_0001
  298. { BG_ERROR_CONTEXT_NONE = 0,
  299. BG_ERROR_CONTEXT_UNKNOWN = 1,
  300. BG_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER = 2,
  301. BG_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION = 3,
  302. BG_ERROR_CONTEXT_LOCAL_FILE = 4,
  303. BG_ERROR_CONTEXT_REMOTE_FILE = 5,
  304. BG_ERROR_CONTEXT_GENERAL_TRANSPORT = 6
  305. } BG_ERROR_CONTEXT;
  306. EXTERN_C const IID IID_IBackgroundCopyError;
  307. #if defined(__cplusplus) && !defined(CINTERFACE)
  308. MIDL_INTERFACE("19c613a0-fcb8-4f28-81ae-897c3d078f81")
  309. IBackgroundCopyError : public IUnknown
  310. {
  311. public:
  312. virtual HRESULT STDMETHODCALLTYPE GetError(
  313. /* [ref][out] */ BG_ERROR_CONTEXT *pContext,
  314. /* [ref][out] */ HRESULT *pCode) = 0;
  315. virtual HRESULT STDMETHODCALLTYPE GetFile(
  316. /* [out] */ IBackgroundCopyFile **pVal) = 0;
  317. virtual HRESULT STDMETHODCALLTYPE GetErrorDescription(
  318. /* [in] */ DWORD LanguageId,
  319. /* [ref][out] */ LPWSTR *pErrorDescription) = 0;
  320. virtual HRESULT STDMETHODCALLTYPE GetErrorContextDescription(
  321. /* [in] */ DWORD LanguageId,
  322. /* [ref][out] */ LPWSTR *pContextDescription) = 0;
  323. virtual HRESULT STDMETHODCALLTYPE GetProtocol(
  324. /* [ref][out] */ LPWSTR *pProtocol) = 0;
  325. };
  326. #else /* C style interface */
  327. typedef struct IBackgroundCopyErrorVtbl
  328. {
  329. BEGIN_INTERFACE
  330. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  331. IBackgroundCopyError * This,
  332. /* [in] */ REFIID riid,
  333. /* [iid_is][out] */ void **ppvObject);
  334. ULONG ( STDMETHODCALLTYPE *AddRef )(
  335. IBackgroundCopyError * This);
  336. ULONG ( STDMETHODCALLTYPE *Release )(
  337. IBackgroundCopyError * This);
  338. HRESULT ( STDMETHODCALLTYPE *GetError )(
  339. IBackgroundCopyError * This,
  340. /* [ref][out] */ BG_ERROR_CONTEXT *pContext,
  341. /* [ref][out] */ HRESULT *pCode);
  342. HRESULT ( STDMETHODCALLTYPE *GetFile )(
  343. IBackgroundCopyError * This,
  344. /* [out] */ IBackgroundCopyFile **pVal);
  345. HRESULT ( STDMETHODCALLTYPE *GetErrorDescription )(
  346. IBackgroundCopyError * This,
  347. /* [in] */ DWORD LanguageId,
  348. /* [ref][out] */ LPWSTR *pErrorDescription);
  349. HRESULT ( STDMETHODCALLTYPE *GetErrorContextDescription )(
  350. IBackgroundCopyError * This,
  351. /* [in] */ DWORD LanguageId,
  352. /* [ref][out] */ LPWSTR *pContextDescription);
  353. HRESULT ( STDMETHODCALLTYPE *GetProtocol )(
  354. IBackgroundCopyError * This,
  355. /* [ref][out] */ LPWSTR *pProtocol);
  356. END_INTERFACE
  357. } IBackgroundCopyErrorVtbl;
  358. interface IBackgroundCopyError
  359. {
  360. CONST_VTBL struct IBackgroundCopyErrorVtbl *lpVtbl;
  361. };
  362. #ifdef COBJMACROS
  363. #define IBackgroundCopyError_QueryInterface(This,riid,ppvObject) \
  364. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  365. #define IBackgroundCopyError_AddRef(This) \
  366. (This)->lpVtbl -> AddRef(This)
  367. #define IBackgroundCopyError_Release(This) \
  368. (This)->lpVtbl -> Release(This)
  369. #define IBackgroundCopyError_GetError(This,pContext,pCode) \
  370. (This)->lpVtbl -> GetError(This,pContext,pCode)
  371. #define IBackgroundCopyError_GetFile(This,pVal) \
  372. (This)->lpVtbl -> GetFile(This,pVal)
  373. #define IBackgroundCopyError_GetErrorDescription(This,LanguageId,pErrorDescription) \
  374. (This)->lpVtbl -> GetErrorDescription(This,LanguageId,pErrorDescription)
  375. #define IBackgroundCopyError_GetErrorContextDescription(This,LanguageId,pContextDescription) \
  376. (This)->lpVtbl -> GetErrorContextDescription(This,LanguageId,pContextDescription)
  377. #define IBackgroundCopyError_GetProtocol(This,pProtocol) \
  378. (This)->lpVtbl -> GetProtocol(This,pProtocol)
  379. #endif /* COBJMACROS */
  380. #endif /* C style interface */
  381. HRESULT STDMETHODCALLTYPE IBackgroundCopyError_GetError_Proxy(
  382. IBackgroundCopyError * This,
  383. /* [ref][out] */ BG_ERROR_CONTEXT *pContext,
  384. /* [ref][out] */ HRESULT *pCode);
  385. void __RPC_STUB IBackgroundCopyError_GetError_Stub(
  386. IRpcStubBuffer *This,
  387. IRpcChannelBuffer *_pRpcChannelBuffer,
  388. PRPC_MESSAGE _pRpcMessage,
  389. DWORD *_pdwStubPhase);
  390. HRESULT STDMETHODCALLTYPE IBackgroundCopyError_GetFile_Proxy(
  391. IBackgroundCopyError * This,
  392. /* [out] */ IBackgroundCopyFile **pVal);
  393. void __RPC_STUB IBackgroundCopyError_GetFile_Stub(
  394. IRpcStubBuffer *This,
  395. IRpcChannelBuffer *_pRpcChannelBuffer,
  396. PRPC_MESSAGE _pRpcMessage,
  397. DWORD *_pdwStubPhase);
  398. HRESULT STDMETHODCALLTYPE IBackgroundCopyError_GetErrorDescription_Proxy(
  399. IBackgroundCopyError * This,
  400. /* [in] */ DWORD LanguageId,
  401. /* [ref][out] */ LPWSTR *pErrorDescription);
  402. void __RPC_STUB IBackgroundCopyError_GetErrorDescription_Stub(
  403. IRpcStubBuffer *This,
  404. IRpcChannelBuffer *_pRpcChannelBuffer,
  405. PRPC_MESSAGE _pRpcMessage,
  406. DWORD *_pdwStubPhase);
  407. HRESULT STDMETHODCALLTYPE IBackgroundCopyError_GetErrorContextDescription_Proxy(
  408. IBackgroundCopyError * This,
  409. /* [in] */ DWORD LanguageId,
  410. /* [ref][out] */ LPWSTR *pContextDescription);
  411. void __RPC_STUB IBackgroundCopyError_GetErrorContextDescription_Stub(
  412. IRpcStubBuffer *This,
  413. IRpcChannelBuffer *_pRpcChannelBuffer,
  414. PRPC_MESSAGE _pRpcMessage,
  415. DWORD *_pdwStubPhase);
  416. HRESULT STDMETHODCALLTYPE IBackgroundCopyError_GetProtocol_Proxy(
  417. IBackgroundCopyError * This,
  418. /* [ref][out] */ LPWSTR *pProtocol);
  419. void __RPC_STUB IBackgroundCopyError_GetProtocol_Stub(
  420. IRpcStubBuffer *This,
  421. IRpcChannelBuffer *_pRpcChannelBuffer,
  422. PRPC_MESSAGE _pRpcMessage,
  423. DWORD *_pdwStubPhase);
  424. #endif /* __IBackgroundCopyError_INTERFACE_DEFINED__ */
  425. #ifndef __IBackgroundCopyJob_INTERFACE_DEFINED__
  426. #define __IBackgroundCopyJob_INTERFACE_DEFINED__
  427. /* interface IBackgroundCopyJob */
  428. /* [object][helpstring][uuid] */
  429. typedef struct _BG_FILE_INFO
  430. {
  431. LPWSTR RemoteName;
  432. LPWSTR LocalName;
  433. } BG_FILE_INFO;
  434. typedef struct _BG_JOB_PROGRESS
  435. {
  436. UINT64 BytesTotal;
  437. UINT64 BytesTransferred;
  438. ULONG FilesTotal;
  439. ULONG FilesTransferred;
  440. } BG_JOB_PROGRESS;
  441. typedef struct _BG_JOB_TIMES
  442. {
  443. FILETIME CreationTime;
  444. FILETIME ModificationTime;
  445. FILETIME TransferCompletionTime;
  446. } BG_JOB_TIMES;
  447. typedef /* [public][public][public] */
  448. enum __MIDL_IBackgroundCopyJob_0001
  449. { BG_JOB_PRIORITY_FOREGROUND = 0,
  450. BG_JOB_PRIORITY_HIGH = BG_JOB_PRIORITY_FOREGROUND + 1,
  451. BG_JOB_PRIORITY_NORMAL = BG_JOB_PRIORITY_HIGH + 1,
  452. BG_JOB_PRIORITY_LOW = BG_JOB_PRIORITY_NORMAL + 1
  453. } BG_JOB_PRIORITY;
  454. typedef /* [public][public] */
  455. enum __MIDL_IBackgroundCopyJob_0002
  456. { BG_JOB_STATE_QUEUED = 0,
  457. BG_JOB_STATE_CONNECTING = BG_JOB_STATE_QUEUED + 1,
  458. BG_JOB_STATE_TRANSFERRING = BG_JOB_STATE_CONNECTING + 1,
  459. BG_JOB_STATE_SUSPENDED = BG_JOB_STATE_TRANSFERRING + 1,
  460. BG_JOB_STATE_ERROR = BG_JOB_STATE_SUSPENDED + 1,
  461. BG_JOB_STATE_TRANSIENT_ERROR = BG_JOB_STATE_ERROR + 1,
  462. BG_JOB_STATE_TRANSFERRED = BG_JOB_STATE_TRANSIENT_ERROR + 1,
  463. BG_JOB_STATE_ACKNOWLEDGED = BG_JOB_STATE_TRANSFERRED + 1,
  464. BG_JOB_STATE_CANCELLED = BG_JOB_STATE_ACKNOWLEDGED + 1
  465. } BG_JOB_STATE;
  466. typedef /* [public][public][public] */
  467. enum __MIDL_IBackgroundCopyJob_0003
  468. { BG_JOB_TYPE_DOWNLOAD = 0
  469. } BG_JOB_TYPE;
  470. typedef /* [public][public][public] */
  471. enum __MIDL_IBackgroundCopyJob_0004
  472. { BG_JOB_PROXY_USAGE_PRECONFIG = 0,
  473. BG_JOB_PROXY_USAGE_NO_PROXY = BG_JOB_PROXY_USAGE_PRECONFIG + 1,
  474. BG_JOB_PROXY_USAGE_OVERRIDE = BG_JOB_PROXY_USAGE_NO_PROXY + 1
  475. } BG_JOB_PROXY_USAGE;
  476. EXTERN_C const IID IID_IBackgroundCopyJob;
  477. #if defined(__cplusplus) && !defined(CINTERFACE)
  478. MIDL_INTERFACE("37668d37-507e-4160-9316-26306d150b12")
  479. IBackgroundCopyJob : public IUnknown
  480. {
  481. public:
  482. virtual HRESULT STDMETHODCALLTYPE AddFileSet(
  483. /* [in] */ ULONG cFileCount,
  484. /* [size_is][in] */ BG_FILE_INFO *pFileSet) = 0;
  485. virtual HRESULT STDMETHODCALLTYPE AddFile(
  486. /* [in] */ LPCWSTR RemoteUrl,
  487. /* [in] */ LPCWSTR LocalName) = 0;
  488. virtual HRESULT STDMETHODCALLTYPE EnumFiles(
  489. /* [out] */ IEnumBackgroundCopyFiles **pEnum) = 0;
  490. virtual HRESULT STDMETHODCALLTYPE Suspend( void) = 0;
  491. virtual HRESULT STDMETHODCALLTYPE Resume( void) = 0;
  492. virtual HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  493. virtual HRESULT STDMETHODCALLTYPE Complete( void) = 0;
  494. virtual HRESULT STDMETHODCALLTYPE GetId(
  495. /* [out] */ GUID *pVal) = 0;
  496. virtual HRESULT STDMETHODCALLTYPE GetType(
  497. /* [out] */ BG_JOB_TYPE *pVal) = 0;
  498. virtual HRESULT STDMETHODCALLTYPE GetProgress(
  499. /* [out] */ BG_JOB_PROGRESS *pVal) = 0;
  500. virtual HRESULT STDMETHODCALLTYPE GetTimes(
  501. /* [out] */ BG_JOB_TIMES *pVal) = 0;
  502. virtual HRESULT STDMETHODCALLTYPE GetState(
  503. /* [out] */ BG_JOB_STATE *pVal) = 0;
  504. virtual HRESULT STDMETHODCALLTYPE GetError(
  505. /* [out] */ IBackgroundCopyError **ppError) = 0;
  506. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  507. /* [out] */ LPWSTR *pVal) = 0;
  508. virtual HRESULT STDMETHODCALLTYPE SetDisplayName(
  509. /* [in] */ LPCWSTR Val) = 0;
  510. virtual HRESULT STDMETHODCALLTYPE GetDisplayName(
  511. /* [out] */ LPWSTR *pVal) = 0;
  512. virtual HRESULT STDMETHODCALLTYPE SetDescription(
  513. /* [in] */ LPCWSTR Val) = 0;
  514. virtual HRESULT STDMETHODCALLTYPE GetDescription(
  515. /* [out] */ LPWSTR *pVal) = 0;
  516. virtual HRESULT STDMETHODCALLTYPE SetPriority(
  517. /* [in] */ BG_JOB_PRIORITY Val) = 0;
  518. virtual HRESULT STDMETHODCALLTYPE GetPriority(
  519. /* [out] */ BG_JOB_PRIORITY *pVal) = 0;
  520. virtual HRESULT STDMETHODCALLTYPE SetNotifyFlags(
  521. /* [in] */ ULONG Val) = 0;
  522. virtual HRESULT STDMETHODCALLTYPE GetNotifyFlags(
  523. /* [out] */ ULONG *pVal) = 0;
  524. virtual HRESULT STDMETHODCALLTYPE SetNotifyInterface(
  525. /* [in] */ IUnknown *Val) = 0;
  526. virtual HRESULT STDMETHODCALLTYPE GetNotifyInterface(
  527. /* [out] */ IUnknown **pVal) = 0;
  528. virtual HRESULT STDMETHODCALLTYPE SetMinimumRetryDelay(
  529. /* [in] */ ULONG Seconds) = 0;
  530. virtual HRESULT STDMETHODCALLTYPE GetMinimumRetryDelay(
  531. /* [out] */ ULONG *Seconds) = 0;
  532. virtual HRESULT STDMETHODCALLTYPE SetNoProgressTimeout(
  533. /* [in] */ ULONG Seconds) = 0;
  534. virtual HRESULT STDMETHODCALLTYPE GetNoProgressTimeout(
  535. /* [out] */ ULONG *Seconds) = 0;
  536. virtual HRESULT STDMETHODCALLTYPE GetErrorCount(
  537. /* [out] */ ULONG *Errors) = 0;
  538. virtual HRESULT STDMETHODCALLTYPE SetProxySettings(
  539. /* [in] */ BG_JOB_PROXY_USAGE ProxyUsage,
  540. /* [unique][string][in] */ const WCHAR *ProxyList,
  541. /* [unique][string][in] */ const WCHAR *ProxyBypassList) = 0;
  542. virtual HRESULT STDMETHODCALLTYPE GetProxySettings(
  543. /* [out] */ BG_JOB_PROXY_USAGE *pProxyUsage,
  544. /* [out] */ LPWSTR *pProxyList,
  545. /* [out] */ LPWSTR *pProxyBypassList) = 0;
  546. virtual HRESULT STDMETHODCALLTYPE TakeOwnership( void) = 0;
  547. };
  548. #else /* C style interface */
  549. typedef struct IBackgroundCopyJobVtbl
  550. {
  551. BEGIN_INTERFACE
  552. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  553. IBackgroundCopyJob * This,
  554. /* [in] */ REFIID riid,
  555. /* [iid_is][out] */ void **ppvObject);
  556. ULONG ( STDMETHODCALLTYPE *AddRef )(
  557. IBackgroundCopyJob * This);
  558. ULONG ( STDMETHODCALLTYPE *Release )(
  559. IBackgroundCopyJob * This);
  560. HRESULT ( STDMETHODCALLTYPE *AddFileSet )(
  561. IBackgroundCopyJob * This,
  562. /* [in] */ ULONG cFileCount,
  563. /* [size_is][in] */ BG_FILE_INFO *pFileSet);
  564. HRESULT ( STDMETHODCALLTYPE *AddFile )(
  565. IBackgroundCopyJob * This,
  566. /* [in] */ LPCWSTR RemoteUrl,
  567. /* [in] */ LPCWSTR LocalName);
  568. HRESULT ( STDMETHODCALLTYPE *EnumFiles )(
  569. IBackgroundCopyJob * This,
  570. /* [out] */ IEnumBackgroundCopyFiles **pEnum);
  571. HRESULT ( STDMETHODCALLTYPE *Suspend )(
  572. IBackgroundCopyJob * This);
  573. HRESULT ( STDMETHODCALLTYPE *Resume )(
  574. IBackgroundCopyJob * This);
  575. HRESULT ( STDMETHODCALLTYPE *Cancel )(
  576. IBackgroundCopyJob * This);
  577. HRESULT ( STDMETHODCALLTYPE *Complete )(
  578. IBackgroundCopyJob * This);
  579. HRESULT ( STDMETHODCALLTYPE *GetId )(
  580. IBackgroundCopyJob * This,
  581. /* [out] */ GUID *pVal);
  582. HRESULT ( STDMETHODCALLTYPE *GetType )(
  583. IBackgroundCopyJob * This,
  584. /* [out] */ BG_JOB_TYPE *pVal);
  585. HRESULT ( STDMETHODCALLTYPE *GetProgress )(
  586. IBackgroundCopyJob * This,
  587. /* [out] */ BG_JOB_PROGRESS *pVal);
  588. HRESULT ( STDMETHODCALLTYPE *GetTimes )(
  589. IBackgroundCopyJob * This,
  590. /* [out] */ BG_JOB_TIMES *pVal);
  591. HRESULT ( STDMETHODCALLTYPE *GetState )(
  592. IBackgroundCopyJob * This,
  593. /* [out] */ BG_JOB_STATE *pVal);
  594. HRESULT ( STDMETHODCALLTYPE *GetError )(
  595. IBackgroundCopyJob * This,
  596. /* [out] */ IBackgroundCopyError **ppError);
  597. HRESULT ( STDMETHODCALLTYPE *GetOwner )(
  598. IBackgroundCopyJob * This,
  599. /* [out] */ LPWSTR *pVal);
  600. HRESULT ( STDMETHODCALLTYPE *SetDisplayName )(
  601. IBackgroundCopyJob * This,
  602. /* [in] */ LPCWSTR Val);
  603. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  604. IBackgroundCopyJob * This,
  605. /* [out] */ LPWSTR *pVal);
  606. HRESULT ( STDMETHODCALLTYPE *SetDescription )(
  607. IBackgroundCopyJob * This,
  608. /* [in] */ LPCWSTR Val);
  609. HRESULT ( STDMETHODCALLTYPE *GetDescription )(
  610. IBackgroundCopyJob * This,
  611. /* [out] */ LPWSTR *pVal);
  612. HRESULT ( STDMETHODCALLTYPE *SetPriority )(
  613. IBackgroundCopyJob * This,
  614. /* [in] */ BG_JOB_PRIORITY Val);
  615. HRESULT ( STDMETHODCALLTYPE *GetPriority )(
  616. IBackgroundCopyJob * This,
  617. /* [out] */ BG_JOB_PRIORITY *pVal);
  618. HRESULT ( STDMETHODCALLTYPE *SetNotifyFlags )(
  619. IBackgroundCopyJob * This,
  620. /* [in] */ ULONG Val);
  621. HRESULT ( STDMETHODCALLTYPE *GetNotifyFlags )(
  622. IBackgroundCopyJob * This,
  623. /* [out] */ ULONG *pVal);
  624. HRESULT ( STDMETHODCALLTYPE *SetNotifyInterface )(
  625. IBackgroundCopyJob * This,
  626. /* [in] */ IUnknown *Val);
  627. HRESULT ( STDMETHODCALLTYPE *GetNotifyInterface )(
  628. IBackgroundCopyJob * This,
  629. /* [out] */ IUnknown **pVal);
  630. HRESULT ( STDMETHODCALLTYPE *SetMinimumRetryDelay )(
  631. IBackgroundCopyJob * This,
  632. /* [in] */ ULONG Seconds);
  633. HRESULT ( STDMETHODCALLTYPE *GetMinimumRetryDelay )(
  634. IBackgroundCopyJob * This,
  635. /* [out] */ ULONG *Seconds);
  636. HRESULT ( STDMETHODCALLTYPE *SetNoProgressTimeout )(
  637. IBackgroundCopyJob * This,
  638. /* [in] */ ULONG Seconds);
  639. HRESULT ( STDMETHODCALLTYPE *GetNoProgressTimeout )(
  640. IBackgroundCopyJob * This,
  641. /* [out] */ ULONG *Seconds);
  642. HRESULT ( STDMETHODCALLTYPE *GetErrorCount )(
  643. IBackgroundCopyJob * This,
  644. /* [out] */ ULONG *Errors);
  645. HRESULT ( STDMETHODCALLTYPE *SetProxySettings )(
  646. IBackgroundCopyJob * This,
  647. /* [in] */ BG_JOB_PROXY_USAGE ProxyUsage,
  648. /* [unique][string][in] */ const WCHAR *ProxyList,
  649. /* [unique][string][in] */ const WCHAR *ProxyBypassList);
  650. HRESULT ( STDMETHODCALLTYPE *GetProxySettings )(
  651. IBackgroundCopyJob * This,
  652. /* [out] */ BG_JOB_PROXY_USAGE *pProxyUsage,
  653. /* [out] */ LPWSTR *pProxyList,
  654. /* [out] */ LPWSTR *pProxyBypassList);
  655. HRESULT ( STDMETHODCALLTYPE *TakeOwnership )(
  656. IBackgroundCopyJob * This);
  657. END_INTERFACE
  658. } IBackgroundCopyJobVtbl;
  659. interface IBackgroundCopyJob
  660. {
  661. CONST_VTBL struct IBackgroundCopyJobVtbl *lpVtbl;
  662. };
  663. #ifdef COBJMACROS
  664. #define IBackgroundCopyJob_QueryInterface(This,riid,ppvObject) \
  665. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  666. #define IBackgroundCopyJob_AddRef(This) \
  667. (This)->lpVtbl -> AddRef(This)
  668. #define IBackgroundCopyJob_Release(This) \
  669. (This)->lpVtbl -> Release(This)
  670. #define IBackgroundCopyJob_AddFileSet(This,cFileCount,pFileSet) \
  671. (This)->lpVtbl -> AddFileSet(This,cFileCount,pFileSet)
  672. #define IBackgroundCopyJob_AddFile(This,RemoteUrl,LocalName) \
  673. (This)->lpVtbl -> AddFile(This,RemoteUrl,LocalName)
  674. #define IBackgroundCopyJob_EnumFiles(This,pEnum) \
  675. (This)->lpVtbl -> EnumFiles(This,pEnum)
  676. #define IBackgroundCopyJob_Suspend(This) \
  677. (This)->lpVtbl -> Suspend(This)
  678. #define IBackgroundCopyJob_Resume(This) \
  679. (This)->lpVtbl -> Resume(This)
  680. #define IBackgroundCopyJob_Cancel(This) \
  681. (This)->lpVtbl -> Cancel(This)
  682. #define IBackgroundCopyJob_Complete(This) \
  683. (This)->lpVtbl -> Complete(This)
  684. #define IBackgroundCopyJob_GetId(This,pVal) \
  685. (This)->lpVtbl -> GetId(This,pVal)
  686. #define IBackgroundCopyJob_GetType(This,pVal) \
  687. (This)->lpVtbl -> GetType(This,pVal)
  688. #define IBackgroundCopyJob_GetProgress(This,pVal) \
  689. (This)->lpVtbl -> GetProgress(This,pVal)
  690. #define IBackgroundCopyJob_GetTimes(This,pVal) \
  691. (This)->lpVtbl -> GetTimes(This,pVal)
  692. #define IBackgroundCopyJob_GetState(This,pVal) \
  693. (This)->lpVtbl -> GetState(This,pVal)
  694. #define IBackgroundCopyJob_GetError(This,ppError) \
  695. (This)->lpVtbl -> GetError(This,ppError)
  696. #define IBackgroundCopyJob_GetOwner(This,pVal) \
  697. (This)->lpVtbl -> GetOwner(This,pVal)
  698. #define IBackgroundCopyJob_SetDisplayName(This,Val) \
  699. (This)->lpVtbl -> SetDisplayName(This,Val)
  700. #define IBackgroundCopyJob_GetDisplayName(This,pVal) \
  701. (This)->lpVtbl -> GetDisplayName(This,pVal)
  702. #define IBackgroundCopyJob_SetDescription(This,Val) \
  703. (This)->lpVtbl -> SetDescription(This,Val)
  704. #define IBackgroundCopyJob_GetDescription(This,pVal) \
  705. (This)->lpVtbl -> GetDescription(This,pVal)
  706. #define IBackgroundCopyJob_SetPriority(This,Val) \
  707. (This)->lpVtbl -> SetPriority(This,Val)
  708. #define IBackgroundCopyJob_GetPriority(This,pVal) \
  709. (This)->lpVtbl -> GetPriority(This,pVal)
  710. #define IBackgroundCopyJob_SetNotifyFlags(This,Val) \
  711. (This)->lpVtbl -> SetNotifyFlags(This,Val)
  712. #define IBackgroundCopyJob_GetNotifyFlags(This,pVal) \
  713. (This)->lpVtbl -> GetNotifyFlags(This,pVal)
  714. #define IBackgroundCopyJob_SetNotifyInterface(This,Val) \
  715. (This)->lpVtbl -> SetNotifyInterface(This,Val)
  716. #define IBackgroundCopyJob_GetNotifyInterface(This,pVal) \
  717. (This)->lpVtbl -> GetNotifyInterface(This,pVal)
  718. #define IBackgroundCopyJob_SetMinimumRetryDelay(This,Seconds) \
  719. (This)->lpVtbl -> SetMinimumRetryDelay(This,Seconds)
  720. #define IBackgroundCopyJob_GetMinimumRetryDelay(This,Seconds) \
  721. (This)->lpVtbl -> GetMinimumRetryDelay(This,Seconds)
  722. #define IBackgroundCopyJob_SetNoProgressTimeout(This,Seconds) \
  723. (This)->lpVtbl -> SetNoProgressTimeout(This,Seconds)
  724. #define IBackgroundCopyJob_GetNoProgressTimeout(This,Seconds) \
  725. (This)->lpVtbl -> GetNoProgressTimeout(This,Seconds)
  726. #define IBackgroundCopyJob_GetErrorCount(This,Errors) \
  727. (This)->lpVtbl -> GetErrorCount(This,Errors)
  728. #define IBackgroundCopyJob_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) \
  729. (This)->lpVtbl -> SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList)
  730. #define IBackgroundCopyJob_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) \
  731. (This)->lpVtbl -> GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList)
  732. #define IBackgroundCopyJob_TakeOwnership(This) \
  733. (This)->lpVtbl -> TakeOwnership(This)
  734. #endif /* COBJMACROS */
  735. #endif /* C style interface */
  736. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_AddFileSet_Proxy(
  737. IBackgroundCopyJob * This,
  738. /* [in] */ ULONG cFileCount,
  739. /* [size_is][in] */ BG_FILE_INFO *pFileSet);
  740. void __RPC_STUB IBackgroundCopyJob_AddFileSet_Stub(
  741. IRpcStubBuffer *This,
  742. IRpcChannelBuffer *_pRpcChannelBuffer,
  743. PRPC_MESSAGE _pRpcMessage,
  744. DWORD *_pdwStubPhase);
  745. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_AddFile_Proxy(
  746. IBackgroundCopyJob * This,
  747. /* [in] */ LPCWSTR RemoteUrl,
  748. /* [in] */ LPCWSTR LocalName);
  749. void __RPC_STUB IBackgroundCopyJob_AddFile_Stub(
  750. IRpcStubBuffer *This,
  751. IRpcChannelBuffer *_pRpcChannelBuffer,
  752. PRPC_MESSAGE _pRpcMessage,
  753. DWORD *_pdwStubPhase);
  754. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_EnumFiles_Proxy(
  755. IBackgroundCopyJob * This,
  756. /* [out] */ IEnumBackgroundCopyFiles **pEnum);
  757. void __RPC_STUB IBackgroundCopyJob_EnumFiles_Stub(
  758. IRpcStubBuffer *This,
  759. IRpcChannelBuffer *_pRpcChannelBuffer,
  760. PRPC_MESSAGE _pRpcMessage,
  761. DWORD *_pdwStubPhase);
  762. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_Suspend_Proxy(
  763. IBackgroundCopyJob * This);
  764. void __RPC_STUB IBackgroundCopyJob_Suspend_Stub(
  765. IRpcStubBuffer *This,
  766. IRpcChannelBuffer *_pRpcChannelBuffer,
  767. PRPC_MESSAGE _pRpcMessage,
  768. DWORD *_pdwStubPhase);
  769. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_Resume_Proxy(
  770. IBackgroundCopyJob * This);
  771. void __RPC_STUB IBackgroundCopyJob_Resume_Stub(
  772. IRpcStubBuffer *This,
  773. IRpcChannelBuffer *_pRpcChannelBuffer,
  774. PRPC_MESSAGE _pRpcMessage,
  775. DWORD *_pdwStubPhase);
  776. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_Cancel_Proxy(
  777. IBackgroundCopyJob * This);
  778. void __RPC_STUB IBackgroundCopyJob_Cancel_Stub(
  779. IRpcStubBuffer *This,
  780. IRpcChannelBuffer *_pRpcChannelBuffer,
  781. PRPC_MESSAGE _pRpcMessage,
  782. DWORD *_pdwStubPhase);
  783. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_Complete_Proxy(
  784. IBackgroundCopyJob * This);
  785. void __RPC_STUB IBackgroundCopyJob_Complete_Stub(
  786. IRpcStubBuffer *This,
  787. IRpcChannelBuffer *_pRpcChannelBuffer,
  788. PRPC_MESSAGE _pRpcMessage,
  789. DWORD *_pdwStubPhase);
  790. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetId_Proxy(
  791. IBackgroundCopyJob * This,
  792. /* [out] */ GUID *pVal);
  793. void __RPC_STUB IBackgroundCopyJob_GetId_Stub(
  794. IRpcStubBuffer *This,
  795. IRpcChannelBuffer *_pRpcChannelBuffer,
  796. PRPC_MESSAGE _pRpcMessage,
  797. DWORD *_pdwStubPhase);
  798. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetType_Proxy(
  799. IBackgroundCopyJob * This,
  800. /* [out] */ BG_JOB_TYPE *pVal);
  801. void __RPC_STUB IBackgroundCopyJob_GetType_Stub(
  802. IRpcStubBuffer *This,
  803. IRpcChannelBuffer *_pRpcChannelBuffer,
  804. PRPC_MESSAGE _pRpcMessage,
  805. DWORD *_pdwStubPhase);
  806. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetProgress_Proxy(
  807. IBackgroundCopyJob * This,
  808. /* [out] */ BG_JOB_PROGRESS *pVal);
  809. void __RPC_STUB IBackgroundCopyJob_GetProgress_Stub(
  810. IRpcStubBuffer *This,
  811. IRpcChannelBuffer *_pRpcChannelBuffer,
  812. PRPC_MESSAGE _pRpcMessage,
  813. DWORD *_pdwStubPhase);
  814. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetTimes_Proxy(
  815. IBackgroundCopyJob * This,
  816. /* [out] */ BG_JOB_TIMES *pVal);
  817. void __RPC_STUB IBackgroundCopyJob_GetTimes_Stub(
  818. IRpcStubBuffer *This,
  819. IRpcChannelBuffer *_pRpcChannelBuffer,
  820. PRPC_MESSAGE _pRpcMessage,
  821. DWORD *_pdwStubPhase);
  822. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetState_Proxy(
  823. IBackgroundCopyJob * This,
  824. /* [out] */ BG_JOB_STATE *pVal);
  825. void __RPC_STUB IBackgroundCopyJob_GetState_Stub(
  826. IRpcStubBuffer *This,
  827. IRpcChannelBuffer *_pRpcChannelBuffer,
  828. PRPC_MESSAGE _pRpcMessage,
  829. DWORD *_pdwStubPhase);
  830. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetError_Proxy(
  831. IBackgroundCopyJob * This,
  832. /* [out] */ IBackgroundCopyError **ppError);
  833. void __RPC_STUB IBackgroundCopyJob_GetError_Stub(
  834. IRpcStubBuffer *This,
  835. IRpcChannelBuffer *_pRpcChannelBuffer,
  836. PRPC_MESSAGE _pRpcMessage,
  837. DWORD *_pdwStubPhase);
  838. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetOwner_Proxy(
  839. IBackgroundCopyJob * This,
  840. /* [out] */ LPWSTR *pVal);
  841. void __RPC_STUB IBackgroundCopyJob_GetOwner_Stub(
  842. IRpcStubBuffer *This,
  843. IRpcChannelBuffer *_pRpcChannelBuffer,
  844. PRPC_MESSAGE _pRpcMessage,
  845. DWORD *_pdwStubPhase);
  846. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetDisplayName_Proxy(
  847. IBackgroundCopyJob * This,
  848. /* [in] */ LPCWSTR Val);
  849. void __RPC_STUB IBackgroundCopyJob_SetDisplayName_Stub(
  850. IRpcStubBuffer *This,
  851. IRpcChannelBuffer *_pRpcChannelBuffer,
  852. PRPC_MESSAGE _pRpcMessage,
  853. DWORD *_pdwStubPhase);
  854. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetDisplayName_Proxy(
  855. IBackgroundCopyJob * This,
  856. /* [out] */ LPWSTR *pVal);
  857. void __RPC_STUB IBackgroundCopyJob_GetDisplayName_Stub(
  858. IRpcStubBuffer *This,
  859. IRpcChannelBuffer *_pRpcChannelBuffer,
  860. PRPC_MESSAGE _pRpcMessage,
  861. DWORD *_pdwStubPhase);
  862. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetDescription_Proxy(
  863. IBackgroundCopyJob * This,
  864. /* [in] */ LPCWSTR Val);
  865. void __RPC_STUB IBackgroundCopyJob_SetDescription_Stub(
  866. IRpcStubBuffer *This,
  867. IRpcChannelBuffer *_pRpcChannelBuffer,
  868. PRPC_MESSAGE _pRpcMessage,
  869. DWORD *_pdwStubPhase);
  870. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetDescription_Proxy(
  871. IBackgroundCopyJob * This,
  872. /* [out] */ LPWSTR *pVal);
  873. void __RPC_STUB IBackgroundCopyJob_GetDescription_Stub(
  874. IRpcStubBuffer *This,
  875. IRpcChannelBuffer *_pRpcChannelBuffer,
  876. PRPC_MESSAGE _pRpcMessage,
  877. DWORD *_pdwStubPhase);
  878. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetPriority_Proxy(
  879. IBackgroundCopyJob * This,
  880. /* [in] */ BG_JOB_PRIORITY Val);
  881. void __RPC_STUB IBackgroundCopyJob_SetPriority_Stub(
  882. IRpcStubBuffer *This,
  883. IRpcChannelBuffer *_pRpcChannelBuffer,
  884. PRPC_MESSAGE _pRpcMessage,
  885. DWORD *_pdwStubPhase);
  886. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetPriority_Proxy(
  887. IBackgroundCopyJob * This,
  888. /* [out] */ BG_JOB_PRIORITY *pVal);
  889. void __RPC_STUB IBackgroundCopyJob_GetPriority_Stub(
  890. IRpcStubBuffer *This,
  891. IRpcChannelBuffer *_pRpcChannelBuffer,
  892. PRPC_MESSAGE _pRpcMessage,
  893. DWORD *_pdwStubPhase);
  894. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetNotifyFlags_Proxy(
  895. IBackgroundCopyJob * This,
  896. /* [in] */ ULONG Val);
  897. void __RPC_STUB IBackgroundCopyJob_SetNotifyFlags_Stub(
  898. IRpcStubBuffer *This,
  899. IRpcChannelBuffer *_pRpcChannelBuffer,
  900. PRPC_MESSAGE _pRpcMessage,
  901. DWORD *_pdwStubPhase);
  902. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetNotifyFlags_Proxy(
  903. IBackgroundCopyJob * This,
  904. /* [out] */ ULONG *pVal);
  905. void __RPC_STUB IBackgroundCopyJob_GetNotifyFlags_Stub(
  906. IRpcStubBuffer *This,
  907. IRpcChannelBuffer *_pRpcChannelBuffer,
  908. PRPC_MESSAGE _pRpcMessage,
  909. DWORD *_pdwStubPhase);
  910. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetNotifyInterface_Proxy(
  911. IBackgroundCopyJob * This,
  912. /* [in] */ IUnknown *Val);
  913. void __RPC_STUB IBackgroundCopyJob_SetNotifyInterface_Stub(
  914. IRpcStubBuffer *This,
  915. IRpcChannelBuffer *_pRpcChannelBuffer,
  916. PRPC_MESSAGE _pRpcMessage,
  917. DWORD *_pdwStubPhase);
  918. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetNotifyInterface_Proxy(
  919. IBackgroundCopyJob * This,
  920. /* [out] */ IUnknown **pVal);
  921. void __RPC_STUB IBackgroundCopyJob_GetNotifyInterface_Stub(
  922. IRpcStubBuffer *This,
  923. IRpcChannelBuffer *_pRpcChannelBuffer,
  924. PRPC_MESSAGE _pRpcMessage,
  925. DWORD *_pdwStubPhase);
  926. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetMinimumRetryDelay_Proxy(
  927. IBackgroundCopyJob * This,
  928. /* [in] */ ULONG Seconds);
  929. void __RPC_STUB IBackgroundCopyJob_SetMinimumRetryDelay_Stub(
  930. IRpcStubBuffer *This,
  931. IRpcChannelBuffer *_pRpcChannelBuffer,
  932. PRPC_MESSAGE _pRpcMessage,
  933. DWORD *_pdwStubPhase);
  934. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetMinimumRetryDelay_Proxy(
  935. IBackgroundCopyJob * This,
  936. /* [out] */ ULONG *Seconds);
  937. void __RPC_STUB IBackgroundCopyJob_GetMinimumRetryDelay_Stub(
  938. IRpcStubBuffer *This,
  939. IRpcChannelBuffer *_pRpcChannelBuffer,
  940. PRPC_MESSAGE _pRpcMessage,
  941. DWORD *_pdwStubPhase);
  942. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetNoProgressTimeout_Proxy(
  943. IBackgroundCopyJob * This,
  944. /* [in] */ ULONG Seconds);
  945. void __RPC_STUB IBackgroundCopyJob_SetNoProgressTimeout_Stub(
  946. IRpcStubBuffer *This,
  947. IRpcChannelBuffer *_pRpcChannelBuffer,
  948. PRPC_MESSAGE _pRpcMessage,
  949. DWORD *_pdwStubPhase);
  950. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetNoProgressTimeout_Proxy(
  951. IBackgroundCopyJob * This,
  952. /* [out] */ ULONG *Seconds);
  953. void __RPC_STUB IBackgroundCopyJob_GetNoProgressTimeout_Stub(
  954. IRpcStubBuffer *This,
  955. IRpcChannelBuffer *_pRpcChannelBuffer,
  956. PRPC_MESSAGE _pRpcMessage,
  957. DWORD *_pdwStubPhase);
  958. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetErrorCount_Proxy(
  959. IBackgroundCopyJob * This,
  960. /* [out] */ ULONG *Errors);
  961. void __RPC_STUB IBackgroundCopyJob_GetErrorCount_Stub(
  962. IRpcStubBuffer *This,
  963. IRpcChannelBuffer *_pRpcChannelBuffer,
  964. PRPC_MESSAGE _pRpcMessage,
  965. DWORD *_pdwStubPhase);
  966. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetProxySettings_Proxy(
  967. IBackgroundCopyJob * This,
  968. /* [in] */ BG_JOB_PROXY_USAGE ProxyUsage,
  969. /* [unique][string][in] */ const WCHAR *ProxyList,
  970. /* [unique][string][in] */ const WCHAR *ProxyBypassList);
  971. void __RPC_STUB IBackgroundCopyJob_SetProxySettings_Stub(
  972. IRpcStubBuffer *This,
  973. IRpcChannelBuffer *_pRpcChannelBuffer,
  974. PRPC_MESSAGE _pRpcMessage,
  975. DWORD *_pdwStubPhase);
  976. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetProxySettings_Proxy(
  977. IBackgroundCopyJob * This,
  978. /* [out] */ BG_JOB_PROXY_USAGE *pProxyUsage,
  979. /* [out] */ LPWSTR *pProxyList,
  980. /* [out] */ LPWSTR *pProxyBypassList);
  981. void __RPC_STUB IBackgroundCopyJob_GetProxySettings_Stub(
  982. IRpcStubBuffer *This,
  983. IRpcChannelBuffer *_pRpcChannelBuffer,
  984. PRPC_MESSAGE _pRpcMessage,
  985. DWORD *_pdwStubPhase);
  986. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_TakeOwnership_Proxy(
  987. IBackgroundCopyJob * This);
  988. void __RPC_STUB IBackgroundCopyJob_TakeOwnership_Stub(
  989. IRpcStubBuffer *This,
  990. IRpcChannelBuffer *_pRpcChannelBuffer,
  991. PRPC_MESSAGE _pRpcMessage,
  992. DWORD *_pdwStubPhase);
  993. #endif /* __IBackgroundCopyJob_INTERFACE_DEFINED__ */
  994. #ifndef __IEnumBackgroundCopyJobs_INTERFACE_DEFINED__
  995. #define __IEnumBackgroundCopyJobs_INTERFACE_DEFINED__
  996. /* interface IEnumBackgroundCopyJobs */
  997. /* [object][helpstring][uuid] */
  998. EXTERN_C const IID IID_IEnumBackgroundCopyJobs;
  999. #if defined(__cplusplus) && !defined(CINTERFACE)
  1000. MIDL_INTERFACE("1af4f612-3b71-466f-8f58-7b6f73ac57ad")
  1001. IEnumBackgroundCopyJobs : public IUnknown
  1002. {
  1003. public:
  1004. virtual HRESULT STDMETHODCALLTYPE Next(
  1005. /* [in] */ ULONG celt,
  1006. /* [length_is][size_is][out] */ IBackgroundCopyJob **rgelt,
  1007. /* [unique][out][in] */ ULONG *pceltFetched) = 0;
  1008. virtual HRESULT STDMETHODCALLTYPE Skip(
  1009. /* [in] */ ULONG celt) = 0;
  1010. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1011. virtual HRESULT STDMETHODCALLTYPE Clone(
  1012. /* [out] */ IEnumBackgroundCopyJobs **ppenum) = 0;
  1013. virtual HRESULT STDMETHODCALLTYPE GetCount(
  1014. /* [out] */ ULONG *puCount) = 0;
  1015. };
  1016. #else /* C style interface */
  1017. typedef struct IEnumBackgroundCopyJobsVtbl
  1018. {
  1019. BEGIN_INTERFACE
  1020. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1021. IEnumBackgroundCopyJobs * This,
  1022. /* [in] */ REFIID riid,
  1023. /* [iid_is][out] */ void **ppvObject);
  1024. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1025. IEnumBackgroundCopyJobs * This);
  1026. ULONG ( STDMETHODCALLTYPE *Release )(
  1027. IEnumBackgroundCopyJobs * This);
  1028. HRESULT ( STDMETHODCALLTYPE *Next )(
  1029. IEnumBackgroundCopyJobs * This,
  1030. /* [in] */ ULONG celt,
  1031. /* [length_is][size_is][out] */ IBackgroundCopyJob **rgelt,
  1032. /* [unique][out][in] */ ULONG *pceltFetched);
  1033. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1034. IEnumBackgroundCopyJobs * This,
  1035. /* [in] */ ULONG celt);
  1036. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1037. IEnumBackgroundCopyJobs * This);
  1038. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1039. IEnumBackgroundCopyJobs * This,
  1040. /* [out] */ IEnumBackgroundCopyJobs **ppenum);
  1041. HRESULT ( STDMETHODCALLTYPE *GetCount )(
  1042. IEnumBackgroundCopyJobs * This,
  1043. /* [out] */ ULONG *puCount);
  1044. END_INTERFACE
  1045. } IEnumBackgroundCopyJobsVtbl;
  1046. interface IEnumBackgroundCopyJobs
  1047. {
  1048. CONST_VTBL struct IEnumBackgroundCopyJobsVtbl *lpVtbl;
  1049. };
  1050. #ifdef COBJMACROS
  1051. #define IEnumBackgroundCopyJobs_QueryInterface(This,riid,ppvObject) \
  1052. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1053. #define IEnumBackgroundCopyJobs_AddRef(This) \
  1054. (This)->lpVtbl -> AddRef(This)
  1055. #define IEnumBackgroundCopyJobs_Release(This) \
  1056. (This)->lpVtbl -> Release(This)
  1057. #define IEnumBackgroundCopyJobs_Next(This,celt,rgelt,pceltFetched) \
  1058. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1059. #define IEnumBackgroundCopyJobs_Skip(This,celt) \
  1060. (This)->lpVtbl -> Skip(This,celt)
  1061. #define IEnumBackgroundCopyJobs_Reset(This) \
  1062. (This)->lpVtbl -> Reset(This)
  1063. #define IEnumBackgroundCopyJobs_Clone(This,ppenum) \
  1064. (This)->lpVtbl -> Clone(This,ppenum)
  1065. #define IEnumBackgroundCopyJobs_GetCount(This,puCount) \
  1066. (This)->lpVtbl -> GetCount(This,puCount)
  1067. #endif /* COBJMACROS */
  1068. #endif /* C style interface */
  1069. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs_Next_Proxy(
  1070. IEnumBackgroundCopyJobs * This,
  1071. /* [in] */ ULONG celt,
  1072. /* [length_is][size_is][out] */ IBackgroundCopyJob **rgelt,
  1073. /* [unique][out][in] */ ULONG *pceltFetched);
  1074. void __RPC_STUB IEnumBackgroundCopyJobs_Next_Stub(
  1075. IRpcStubBuffer *This,
  1076. IRpcChannelBuffer *_pRpcChannelBuffer,
  1077. PRPC_MESSAGE _pRpcMessage,
  1078. DWORD *_pdwStubPhase);
  1079. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs_Skip_Proxy(
  1080. IEnumBackgroundCopyJobs * This,
  1081. /* [in] */ ULONG celt);
  1082. void __RPC_STUB IEnumBackgroundCopyJobs_Skip_Stub(
  1083. IRpcStubBuffer *This,
  1084. IRpcChannelBuffer *_pRpcChannelBuffer,
  1085. PRPC_MESSAGE _pRpcMessage,
  1086. DWORD *_pdwStubPhase);
  1087. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs_Reset_Proxy(
  1088. IEnumBackgroundCopyJobs * This);
  1089. void __RPC_STUB IEnumBackgroundCopyJobs_Reset_Stub(
  1090. IRpcStubBuffer *This,
  1091. IRpcChannelBuffer *_pRpcChannelBuffer,
  1092. PRPC_MESSAGE _pRpcMessage,
  1093. DWORD *_pdwStubPhase);
  1094. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs_Clone_Proxy(
  1095. IEnumBackgroundCopyJobs * This,
  1096. /* [out] */ IEnumBackgroundCopyJobs **ppenum);
  1097. void __RPC_STUB IEnumBackgroundCopyJobs_Clone_Stub(
  1098. IRpcStubBuffer *This,
  1099. IRpcChannelBuffer *_pRpcChannelBuffer,
  1100. PRPC_MESSAGE _pRpcMessage,
  1101. DWORD *_pdwStubPhase);
  1102. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs_GetCount_Proxy(
  1103. IEnumBackgroundCopyJobs * This,
  1104. /* [out] */ ULONG *puCount);
  1105. void __RPC_STUB IEnumBackgroundCopyJobs_GetCount_Stub(
  1106. IRpcStubBuffer *This,
  1107. IRpcChannelBuffer *_pRpcChannelBuffer,
  1108. PRPC_MESSAGE _pRpcMessage,
  1109. DWORD *_pdwStubPhase);
  1110. #endif /* __IEnumBackgroundCopyJobs_INTERFACE_DEFINED__ */
  1111. /* interface __MIDL_itf_bits_0013 */
  1112. /* [local] */
  1113. #define BG_NOTIFY_JOB_TRANSFERRED 0x0001
  1114. #define BG_NOTIFY_JOB_ERROR 0x0002
  1115. #define BG_NOTIFY_DISABLE 0x0004
  1116. #define BG_NOTIFY_JOB_MODIFICATION 0x0008
  1117. extern RPC_IF_HANDLE __MIDL_itf_bits_0013_v0_0_c_ifspec;
  1118. extern RPC_IF_HANDLE __MIDL_itf_bits_0013_v0_0_s_ifspec;
  1119. #ifndef __IBackgroundCopyCallback_INTERFACE_DEFINED__
  1120. #define __IBackgroundCopyCallback_INTERFACE_DEFINED__
  1121. /* interface IBackgroundCopyCallback */
  1122. /* [object][helpstring][async_uuid][uuid] */
  1123. EXTERN_C const IID IID_IBackgroundCopyCallback;
  1124. #if defined(__cplusplus) && !defined(CINTERFACE)
  1125. MIDL_INTERFACE("97ea99c7-0186-4ad4-8df9-c5b4e0ed6b22")
  1126. IBackgroundCopyCallback : public IUnknown
  1127. {
  1128. public:
  1129. virtual HRESULT STDMETHODCALLTYPE JobTransferred(
  1130. /* [in] */ IBackgroundCopyJob *pJob) = 0;
  1131. virtual HRESULT STDMETHODCALLTYPE JobError(
  1132. /* [in] */ IBackgroundCopyJob *pJob,
  1133. /* [in] */ IBackgroundCopyError *pError) = 0;
  1134. virtual HRESULT STDMETHODCALLTYPE JobModification(
  1135. /* [in] */ IBackgroundCopyJob *pJob,
  1136. /* [in] */ DWORD dwReserved) = 0;
  1137. };
  1138. #else /* C style interface */
  1139. typedef struct IBackgroundCopyCallbackVtbl
  1140. {
  1141. BEGIN_INTERFACE
  1142. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1143. IBackgroundCopyCallback * This,
  1144. /* [in] */ REFIID riid,
  1145. /* [iid_is][out] */ void **ppvObject);
  1146. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1147. IBackgroundCopyCallback * This);
  1148. ULONG ( STDMETHODCALLTYPE *Release )(
  1149. IBackgroundCopyCallback * This);
  1150. HRESULT ( STDMETHODCALLTYPE *JobTransferred )(
  1151. IBackgroundCopyCallback * This,
  1152. /* [in] */ IBackgroundCopyJob *pJob);
  1153. HRESULT ( STDMETHODCALLTYPE *JobError )(
  1154. IBackgroundCopyCallback * This,
  1155. /* [in] */ IBackgroundCopyJob *pJob,
  1156. /* [in] */ IBackgroundCopyError *pError);
  1157. HRESULT ( STDMETHODCALLTYPE *JobModification )(
  1158. IBackgroundCopyCallback * This,
  1159. /* [in] */ IBackgroundCopyJob *pJob,
  1160. /* [in] */ DWORD dwReserved);
  1161. END_INTERFACE
  1162. } IBackgroundCopyCallbackVtbl;
  1163. interface IBackgroundCopyCallback
  1164. {
  1165. CONST_VTBL struct IBackgroundCopyCallbackVtbl *lpVtbl;
  1166. };
  1167. #ifdef COBJMACROS
  1168. #define IBackgroundCopyCallback_QueryInterface(This,riid,ppvObject) \
  1169. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1170. #define IBackgroundCopyCallback_AddRef(This) \
  1171. (This)->lpVtbl -> AddRef(This)
  1172. #define IBackgroundCopyCallback_Release(This) \
  1173. (This)->lpVtbl -> Release(This)
  1174. #define IBackgroundCopyCallback_JobTransferred(This,pJob) \
  1175. (This)->lpVtbl -> JobTransferred(This,pJob)
  1176. #define IBackgroundCopyCallback_JobError(This,pJob,pError) \
  1177. (This)->lpVtbl -> JobError(This,pJob,pError)
  1178. #define IBackgroundCopyCallback_JobModification(This,pJob,dwReserved) \
  1179. (This)->lpVtbl -> JobModification(This,pJob,dwReserved)
  1180. #endif /* COBJMACROS */
  1181. #endif /* C style interface */
  1182. HRESULT STDMETHODCALLTYPE IBackgroundCopyCallback_JobTransferred_Proxy(
  1183. IBackgroundCopyCallback * This,
  1184. /* [in] */ IBackgroundCopyJob *pJob);
  1185. void __RPC_STUB IBackgroundCopyCallback_JobTransferred_Stub(
  1186. IRpcStubBuffer *This,
  1187. IRpcChannelBuffer *_pRpcChannelBuffer,
  1188. PRPC_MESSAGE _pRpcMessage,
  1189. DWORD *_pdwStubPhase);
  1190. HRESULT STDMETHODCALLTYPE IBackgroundCopyCallback_JobError_Proxy(
  1191. IBackgroundCopyCallback * This,
  1192. /* [in] */ IBackgroundCopyJob *pJob,
  1193. /* [in] */ IBackgroundCopyError *pError);
  1194. void __RPC_STUB IBackgroundCopyCallback_JobError_Stub(
  1195. IRpcStubBuffer *This,
  1196. IRpcChannelBuffer *_pRpcChannelBuffer,
  1197. PRPC_MESSAGE _pRpcMessage,
  1198. DWORD *_pdwStubPhase);
  1199. HRESULT STDMETHODCALLTYPE IBackgroundCopyCallback_JobModification_Proxy(
  1200. IBackgroundCopyCallback * This,
  1201. /* [in] */ IBackgroundCopyJob *pJob,
  1202. /* [in] */ DWORD dwReserved);
  1203. void __RPC_STUB IBackgroundCopyCallback_JobModification_Stub(
  1204. IRpcStubBuffer *This,
  1205. IRpcChannelBuffer *_pRpcChannelBuffer,
  1206. PRPC_MESSAGE _pRpcMessage,
  1207. DWORD *_pdwStubPhase);
  1208. #endif /* __IBackgroundCopyCallback_INTERFACE_DEFINED__ */
  1209. #ifndef __AsyncIBackgroundCopyCallback_INTERFACE_DEFINED__
  1210. #define __AsyncIBackgroundCopyCallback_INTERFACE_DEFINED__
  1211. /* interface AsyncIBackgroundCopyCallback */
  1212. /* [uuid][object][helpstring] */
  1213. EXTERN_C const IID IID_AsyncIBackgroundCopyCallback;
  1214. #if defined(__cplusplus) && !defined(CINTERFACE)
  1215. MIDL_INTERFACE("ca29d251-b4bb-4679-a3d9-ae8006119d54")
  1216. AsyncIBackgroundCopyCallback : public IUnknown
  1217. {
  1218. public:
  1219. virtual HRESULT STDMETHODCALLTYPE Begin_JobTransferred(
  1220. /* [in] */ IBackgroundCopyJob *pJob) = 0;
  1221. virtual HRESULT STDMETHODCALLTYPE Finish_JobTransferred( void) = 0;
  1222. virtual HRESULT STDMETHODCALLTYPE Begin_JobError(
  1223. /* [in] */ IBackgroundCopyJob *pJob,
  1224. /* [in] */ IBackgroundCopyError *pError) = 0;
  1225. virtual HRESULT STDMETHODCALLTYPE Finish_JobError( void) = 0;
  1226. virtual HRESULT STDMETHODCALLTYPE Begin_JobModification(
  1227. /* [in] */ IBackgroundCopyJob *pJob,
  1228. /* [in] */ DWORD dwReserved) = 0;
  1229. virtual HRESULT STDMETHODCALLTYPE Finish_JobModification( void) = 0;
  1230. };
  1231. #else /* C style interface */
  1232. typedef struct AsyncIBackgroundCopyCallbackVtbl
  1233. {
  1234. BEGIN_INTERFACE
  1235. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1236. AsyncIBackgroundCopyCallback * This,
  1237. /* [in] */ REFIID riid,
  1238. /* [iid_is][out] */ void **ppvObject);
  1239. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1240. AsyncIBackgroundCopyCallback * This);
  1241. ULONG ( STDMETHODCALLTYPE *Release )(
  1242. AsyncIBackgroundCopyCallback * This);
  1243. HRESULT ( STDMETHODCALLTYPE *Begin_JobTransferred )(
  1244. AsyncIBackgroundCopyCallback * This,
  1245. /* [in] */ IBackgroundCopyJob *pJob);
  1246. HRESULT ( STDMETHODCALLTYPE *Finish_JobTransferred )(
  1247. AsyncIBackgroundCopyCallback * This);
  1248. HRESULT ( STDMETHODCALLTYPE *Begin_JobError )(
  1249. AsyncIBackgroundCopyCallback * This,
  1250. /* [in] */ IBackgroundCopyJob *pJob,
  1251. /* [in] */ IBackgroundCopyError *pError);
  1252. HRESULT ( STDMETHODCALLTYPE *Finish_JobError )(
  1253. AsyncIBackgroundCopyCallback * This);
  1254. HRESULT ( STDMETHODCALLTYPE *Begin_JobModification )(
  1255. AsyncIBackgroundCopyCallback * This,
  1256. /* [in] */ IBackgroundCopyJob *pJob,
  1257. /* [in] */ DWORD dwReserved);
  1258. HRESULT ( STDMETHODCALLTYPE *Finish_JobModification )(
  1259. AsyncIBackgroundCopyCallback * This);
  1260. END_INTERFACE
  1261. } AsyncIBackgroundCopyCallbackVtbl;
  1262. interface AsyncIBackgroundCopyCallback
  1263. {
  1264. CONST_VTBL struct AsyncIBackgroundCopyCallbackVtbl *lpVtbl;
  1265. };
  1266. #ifdef COBJMACROS
  1267. #define AsyncIBackgroundCopyCallback_QueryInterface(This,riid,ppvObject) \
  1268. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1269. #define AsyncIBackgroundCopyCallback_AddRef(This) \
  1270. (This)->lpVtbl -> AddRef(This)
  1271. #define AsyncIBackgroundCopyCallback_Release(This) \
  1272. (This)->lpVtbl -> Release(This)
  1273. #define AsyncIBackgroundCopyCallback_Begin_JobTransferred(This,pJob) \
  1274. (This)->lpVtbl -> Begin_JobTransferred(This,pJob)
  1275. #define AsyncIBackgroundCopyCallback_Finish_JobTransferred(This) \
  1276. (This)->lpVtbl -> Finish_JobTransferred(This)
  1277. #define AsyncIBackgroundCopyCallback_Begin_JobError(This,pJob,pError) \
  1278. (This)->lpVtbl -> Begin_JobError(This,pJob,pError)
  1279. #define AsyncIBackgroundCopyCallback_Finish_JobError(This) \
  1280. (This)->lpVtbl -> Finish_JobError(This)
  1281. #define AsyncIBackgroundCopyCallback_Begin_JobModification(This,pJob,dwReserved) \
  1282. (This)->lpVtbl -> Begin_JobModification(This,pJob,dwReserved)
  1283. #define AsyncIBackgroundCopyCallback_Finish_JobModification(This) \
  1284. (This)->lpVtbl -> Finish_JobModification(This)
  1285. #endif /* COBJMACROS */
  1286. #endif /* C style interface */
  1287. HRESULT STDMETHODCALLTYPE AsyncIBackgroundCopyCallback_Begin_JobTransferred_Proxy(
  1288. AsyncIBackgroundCopyCallback * This,
  1289. /* [in] */ IBackgroundCopyJob *pJob);
  1290. void __RPC_STUB AsyncIBackgroundCopyCallback_Begin_JobTransferred_Stub(
  1291. IRpcStubBuffer *This,
  1292. IRpcChannelBuffer *_pRpcChannelBuffer,
  1293. PRPC_MESSAGE _pRpcMessage,
  1294. DWORD *_pdwStubPhase);
  1295. HRESULT STDMETHODCALLTYPE AsyncIBackgroundCopyCallback_Finish_JobTransferred_Proxy(
  1296. AsyncIBackgroundCopyCallback * This);
  1297. void __RPC_STUB AsyncIBackgroundCopyCallback_Finish_JobTransferred_Stub(
  1298. IRpcStubBuffer *This,
  1299. IRpcChannelBuffer *_pRpcChannelBuffer,
  1300. PRPC_MESSAGE _pRpcMessage,
  1301. DWORD *_pdwStubPhase);
  1302. HRESULT STDMETHODCALLTYPE AsyncIBackgroundCopyCallback_Begin_JobError_Proxy(
  1303. AsyncIBackgroundCopyCallback * This,
  1304. /* [in] */ IBackgroundCopyJob *pJob,
  1305. /* [in] */ IBackgroundCopyError *pError);
  1306. void __RPC_STUB AsyncIBackgroundCopyCallback_Begin_JobError_Stub(
  1307. IRpcStubBuffer *This,
  1308. IRpcChannelBuffer *_pRpcChannelBuffer,
  1309. PRPC_MESSAGE _pRpcMessage,
  1310. DWORD *_pdwStubPhase);
  1311. HRESULT STDMETHODCALLTYPE AsyncIBackgroundCopyCallback_Finish_JobError_Proxy(
  1312. AsyncIBackgroundCopyCallback * This);
  1313. void __RPC_STUB AsyncIBackgroundCopyCallback_Finish_JobError_Stub(
  1314. IRpcStubBuffer *This,
  1315. IRpcChannelBuffer *_pRpcChannelBuffer,
  1316. PRPC_MESSAGE _pRpcMessage,
  1317. DWORD *_pdwStubPhase);
  1318. HRESULT STDMETHODCALLTYPE AsyncIBackgroundCopyCallback_Begin_JobModification_Proxy(
  1319. AsyncIBackgroundCopyCallback * This,
  1320. /* [in] */ IBackgroundCopyJob *pJob,
  1321. /* [in] */ DWORD dwReserved);
  1322. void __RPC_STUB AsyncIBackgroundCopyCallback_Begin_JobModification_Stub(
  1323. IRpcStubBuffer *This,
  1324. IRpcChannelBuffer *_pRpcChannelBuffer,
  1325. PRPC_MESSAGE _pRpcMessage,
  1326. DWORD *_pdwStubPhase);
  1327. HRESULT STDMETHODCALLTYPE AsyncIBackgroundCopyCallback_Finish_JobModification_Proxy(
  1328. AsyncIBackgroundCopyCallback * This);
  1329. void __RPC_STUB AsyncIBackgroundCopyCallback_Finish_JobModification_Stub(
  1330. IRpcStubBuffer *This,
  1331. IRpcChannelBuffer *_pRpcChannelBuffer,
  1332. PRPC_MESSAGE _pRpcMessage,
  1333. DWORD *_pdwStubPhase);
  1334. #endif /* __AsyncIBackgroundCopyCallback_INTERFACE_DEFINED__ */
  1335. #ifndef __IBackgroundCopyManager_INTERFACE_DEFINED__
  1336. #define __IBackgroundCopyManager_INTERFACE_DEFINED__
  1337. /* interface IBackgroundCopyManager */
  1338. /* [object][helpstring][uuid] */
  1339. #define BG_JOB_ENUM_ALL_USERS 0x0001
  1340. EXTERN_C const IID IID_IBackgroundCopyManager;
  1341. #if defined(__cplusplus) && !defined(CINTERFACE)
  1342. MIDL_INTERFACE("5ce34c0d-0dc9-4c1f-897c-daa1b78cee7c")
  1343. IBackgroundCopyManager : public IUnknown
  1344. {
  1345. public:
  1346. virtual HRESULT STDMETHODCALLTYPE CreateJob(
  1347. /* [in] */ LPCWSTR DisplayName,
  1348. /* [in] */ BG_JOB_TYPE Type,
  1349. /* [out] */ GUID *pJobId,
  1350. /* [out] */ IBackgroundCopyJob **ppJob) = 0;
  1351. virtual HRESULT STDMETHODCALLTYPE GetJob(
  1352. /* [in] */ REFGUID jobID,
  1353. /* [out] */ IBackgroundCopyJob **ppJob) = 0;
  1354. virtual HRESULT STDMETHODCALLTYPE EnumJobs(
  1355. /* [in] */ DWORD dwFlags,
  1356. /* [out] */ IEnumBackgroundCopyJobs **ppEnum) = 0;
  1357. virtual HRESULT STDMETHODCALLTYPE GetErrorDescription(
  1358. /* [in] */ HRESULT hResult,
  1359. /* [in] */ DWORD LanguageId,
  1360. /* [out] */ LPWSTR *pErrorDescription) = 0;
  1361. };
  1362. #else /* C style interface */
  1363. typedef struct IBackgroundCopyManagerVtbl
  1364. {
  1365. BEGIN_INTERFACE
  1366. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1367. IBackgroundCopyManager * This,
  1368. /* [in] */ REFIID riid,
  1369. /* [iid_is][out] */ void **ppvObject);
  1370. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1371. IBackgroundCopyManager * This);
  1372. ULONG ( STDMETHODCALLTYPE *Release )(
  1373. IBackgroundCopyManager * This);
  1374. HRESULT ( STDMETHODCALLTYPE *CreateJob )(
  1375. IBackgroundCopyManager * This,
  1376. /* [in] */ LPCWSTR DisplayName,
  1377. /* [in] */ BG_JOB_TYPE Type,
  1378. /* [out] */ GUID *pJobId,
  1379. /* [out] */ IBackgroundCopyJob **ppJob);
  1380. HRESULT ( STDMETHODCALLTYPE *GetJob )(
  1381. IBackgroundCopyManager * This,
  1382. /* [in] */ REFGUID jobID,
  1383. /* [out] */ IBackgroundCopyJob **ppJob);
  1384. HRESULT ( STDMETHODCALLTYPE *EnumJobs )(
  1385. IBackgroundCopyManager * This,
  1386. /* [in] */ DWORD dwFlags,
  1387. /* [out] */ IEnumBackgroundCopyJobs **ppEnum);
  1388. HRESULT ( STDMETHODCALLTYPE *GetErrorDescription )(
  1389. IBackgroundCopyManager * This,
  1390. /* [in] */ HRESULT hResult,
  1391. /* [in] */ DWORD LanguageId,
  1392. /* [out] */ LPWSTR *pErrorDescription);
  1393. END_INTERFACE
  1394. } IBackgroundCopyManagerVtbl;
  1395. interface IBackgroundCopyManager
  1396. {
  1397. CONST_VTBL struct IBackgroundCopyManagerVtbl *lpVtbl;
  1398. };
  1399. #ifdef COBJMACROS
  1400. #define IBackgroundCopyManager_QueryInterface(This,riid,ppvObject) \
  1401. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1402. #define IBackgroundCopyManager_AddRef(This) \
  1403. (This)->lpVtbl -> AddRef(This)
  1404. #define IBackgroundCopyManager_Release(This) \
  1405. (This)->lpVtbl -> Release(This)
  1406. #define IBackgroundCopyManager_CreateJob(This,DisplayName,Type,pJobId,ppJob) \
  1407. (This)->lpVtbl -> CreateJob(This,DisplayName,Type,pJobId,ppJob)
  1408. #define IBackgroundCopyManager_GetJob(This,jobID,ppJob) \
  1409. (This)->lpVtbl -> GetJob(This,jobID,ppJob)
  1410. #define IBackgroundCopyManager_EnumJobs(This,dwFlags,ppEnum) \
  1411. (This)->lpVtbl -> EnumJobs(This,dwFlags,ppEnum)
  1412. #define IBackgroundCopyManager_GetErrorDescription(This,hResult,LanguageId,pErrorDescription) \
  1413. (This)->lpVtbl -> GetErrorDescription(This,hResult,LanguageId,pErrorDescription)
  1414. #endif /* COBJMACROS */
  1415. #endif /* C style interface */
  1416. HRESULT STDMETHODCALLTYPE IBackgroundCopyManager_CreateJob_Proxy(
  1417. IBackgroundCopyManager * This,
  1418. /* [in] */ LPCWSTR DisplayName,
  1419. /* [in] */ BG_JOB_TYPE Type,
  1420. /* [out] */ GUID *pJobId,
  1421. /* [out] */ IBackgroundCopyJob **ppJob);
  1422. void __RPC_STUB IBackgroundCopyManager_CreateJob_Stub(
  1423. IRpcStubBuffer *This,
  1424. IRpcChannelBuffer *_pRpcChannelBuffer,
  1425. PRPC_MESSAGE _pRpcMessage,
  1426. DWORD *_pdwStubPhase);
  1427. HRESULT STDMETHODCALLTYPE IBackgroundCopyManager_GetJob_Proxy(
  1428. IBackgroundCopyManager * This,
  1429. /* [in] */ REFGUID jobID,
  1430. /* [out] */ IBackgroundCopyJob **ppJob);
  1431. void __RPC_STUB IBackgroundCopyManager_GetJob_Stub(
  1432. IRpcStubBuffer *This,
  1433. IRpcChannelBuffer *_pRpcChannelBuffer,
  1434. PRPC_MESSAGE _pRpcMessage,
  1435. DWORD *_pdwStubPhase);
  1436. HRESULT STDMETHODCALLTYPE IBackgroundCopyManager_EnumJobs_Proxy(
  1437. IBackgroundCopyManager * This,
  1438. /* [in] */ DWORD dwFlags,
  1439. /* [out] */ IEnumBackgroundCopyJobs **ppEnum);
  1440. void __RPC_STUB IBackgroundCopyManager_EnumJobs_Stub(
  1441. IRpcStubBuffer *This,
  1442. IRpcChannelBuffer *_pRpcChannelBuffer,
  1443. PRPC_MESSAGE _pRpcMessage,
  1444. DWORD *_pdwStubPhase);
  1445. HRESULT STDMETHODCALLTYPE IBackgroundCopyManager_GetErrorDescription_Proxy(
  1446. IBackgroundCopyManager * This,
  1447. /* [in] */ HRESULT hResult,
  1448. /* [in] */ DWORD LanguageId,
  1449. /* [out] */ LPWSTR *pErrorDescription);
  1450. void __RPC_STUB IBackgroundCopyManager_GetErrorDescription_Stub(
  1451. IRpcStubBuffer *This,
  1452. IRpcChannelBuffer *_pRpcChannelBuffer,
  1453. PRPC_MESSAGE _pRpcMessage,
  1454. DWORD *_pdwStubPhase);
  1455. #endif /* __IBackgroundCopyManager_INTERFACE_DEFINED__ */
  1456. #ifndef __BackgroundCopyManager_LIBRARY_DEFINED__
  1457. #define __BackgroundCopyManager_LIBRARY_DEFINED__
  1458. /* library BackgroundCopyManager */
  1459. /* [version][lcid][helpstring][uuid] */
  1460. EXTERN_C const IID LIBID_BackgroundCopyManager;
  1461. EXTERN_C const CLSID CLSID_BackgroundCopyManager;
  1462. #ifdef __cplusplus
  1463. class DECLSPEC_UUID("4991d34b-80a1-4291-83b6-3328366b9097")
  1464. BackgroundCopyManager;
  1465. #endif
  1466. #endif /* __BackgroundCopyManager_LIBRARY_DEFINED__ */
  1467. /* Additional Prototypes for ALL interfaces */
  1468. /* end of Additional Prototypes */
  1469. #ifdef __cplusplus
  1470. }
  1471. #endif
  1472. #endif