Leaked source code of windows server 2003
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.

2231 lines
67 KiB

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