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.

1574 lines
48 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 qmgr.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 __qmgr_h__
  27. #define __qmgr_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IBackgroundCopyJob1_FWD_DEFINED__
  33. #define __IBackgroundCopyJob1_FWD_DEFINED__
  34. typedef interface IBackgroundCopyJob1 IBackgroundCopyJob1;
  35. #endif /* __IBackgroundCopyJob1_FWD_DEFINED__ */
  36. #ifndef __IEnumBackgroundCopyJobs1_FWD_DEFINED__
  37. #define __IEnumBackgroundCopyJobs1_FWD_DEFINED__
  38. typedef interface IEnumBackgroundCopyJobs1 IEnumBackgroundCopyJobs1;
  39. #endif /* __IEnumBackgroundCopyJobs1_FWD_DEFINED__ */
  40. #ifndef __IBackgroundCopyGroup_FWD_DEFINED__
  41. #define __IBackgroundCopyGroup_FWD_DEFINED__
  42. typedef interface IBackgroundCopyGroup IBackgroundCopyGroup;
  43. #endif /* __IBackgroundCopyGroup_FWD_DEFINED__ */
  44. #ifndef __IEnumBackgroundCopyGroups_FWD_DEFINED__
  45. #define __IEnumBackgroundCopyGroups_FWD_DEFINED__
  46. typedef interface IEnumBackgroundCopyGroups IEnumBackgroundCopyGroups;
  47. #endif /* __IEnumBackgroundCopyGroups_FWD_DEFINED__ */
  48. #ifndef __IBackgroundCopyCallback1_FWD_DEFINED__
  49. #define __IBackgroundCopyCallback1_FWD_DEFINED__
  50. typedef interface IBackgroundCopyCallback1 IBackgroundCopyCallback1;
  51. #endif /* __IBackgroundCopyCallback1_FWD_DEFINED__ */
  52. #ifndef __IBackgroundCopyQMgr_FWD_DEFINED__
  53. #define __IBackgroundCopyQMgr_FWD_DEFINED__
  54. typedef interface IBackgroundCopyQMgr IBackgroundCopyQMgr;
  55. #endif /* __IBackgroundCopyQMgr_FWD_DEFINED__ */
  56. #ifndef __BackgroundCopyQMgr_FWD_DEFINED__
  57. #define __BackgroundCopyQMgr_FWD_DEFINED__
  58. #ifdef __cplusplus
  59. typedef class BackgroundCopyQMgr BackgroundCopyQMgr;
  60. #else
  61. typedef struct BackgroundCopyQMgr BackgroundCopyQMgr;
  62. #endif /* __cplusplus */
  63. #endif /* __BackgroundCopyQMgr_FWD_DEFINED__ */
  64. /* header files for imported files */
  65. #include "unknwn.h"
  66. #include "ocidl.h"
  67. #include "docobj.h"
  68. #ifdef __cplusplus
  69. extern "C"{
  70. #endif
  71. void * __RPC_USER MIDL_user_allocate(size_t);
  72. void __RPC_USER MIDL_user_free( void * );
  73. /* interface __MIDL_itf_qmgr_0000 */
  74. /* [local] */
  75. // Background Copy QMgr Public Interface
  76. #define QM_NOTIFY_FILE_DONE 0x00000001
  77. #define QM_NOTIFY_JOB_DONE 0x00000002
  78. #define QM_NOTIFY_GROUP_DONE 0x00000004
  79. #define QM_NOTIFY_DISABLE_NOTIFY 0x00000040
  80. #define QM_NOTIFY_USE_PROGRESSEX 0x00000080
  81. #define QM_STATUS_FILE_COMPLETE 0x00000001
  82. #define QM_STATUS_FILE_INCOMPLETE 0x00000002
  83. #define QM_STATUS_JOB_COMPLETE 0x00000004
  84. #define QM_STATUS_JOB_INCOMPLETE 0x00000008
  85. #define QM_STATUS_JOB_ERROR 0x00000010
  86. #define QM_STATUS_JOB_FOREGROUND 0x00000020
  87. #define QM_STATUS_GROUP_COMPLETE 0x00000040
  88. #define QM_STATUS_GROUP_INCOMPLETE 0x00000080
  89. #define QM_STATUS_GROUP_SUSPENDED 0x00000100
  90. #define QM_STATUS_GROUP_ERROR 0x00000200
  91. #define QM_STATUS_GROUP_FOREGROUND 0x00000400
  92. #define QM_PROTOCOL_HTTP 1
  93. #define QM_PROTOCOL_FTP 2
  94. #define QM_PROTOCOL_SMB 3
  95. #define QM_PROTOCOL_CUSTOM 4
  96. #define QM_PROGRESS_PERCENT_DONE 1
  97. #define QM_PROGRESS_TIME_DONE 2
  98. #define QM_PROGRESS_SIZE_DONE 3
  99. #define QM_E_INVALID_STATE 0x81001001
  100. #define QM_E_SERVICE_UNAVAILABLE 0x81001002
  101. #define QM_E_DOWNLOADER_UNAVAILABLE 0x81001003
  102. #define QM_E_ITEM_NOT_FOUND 0x81001004
  103. extern RPC_IF_HANDLE __MIDL_itf_qmgr_0000_v0_0_c_ifspec;
  104. extern RPC_IF_HANDLE __MIDL_itf_qmgr_0000_v0_0_s_ifspec;
  105. #ifndef __IBackgroundCopyJob1_INTERFACE_DEFINED__
  106. #define __IBackgroundCopyJob1_INTERFACE_DEFINED__
  107. /* interface IBackgroundCopyJob1 */
  108. /* [object][helpstring][uuid] */
  109. typedef struct _FILESETINFO
  110. {
  111. BSTR bstrRemoteFile;
  112. BSTR bstrLocalFile;
  113. DWORD dwSizeHint;
  114. } FILESETINFO;
  115. EXTERN_C const IID IID_IBackgroundCopyJob1;
  116. #if defined(__cplusplus) && !defined(CINTERFACE)
  117. MIDL_INTERFACE("59f5553c-2031-4629-bb18-2645a6970947")
  118. IBackgroundCopyJob1 : public IUnknown
  119. {
  120. public:
  121. virtual HRESULT STDMETHODCALLTYPE CancelJob( void) = 0;
  122. virtual HRESULT STDMETHODCALLTYPE GetProgress(
  123. /* [in] */ DWORD dwFlags,
  124. /* [out] */ DWORD *pdwProgress) = 0;
  125. virtual HRESULT STDMETHODCALLTYPE GetStatus(
  126. /* [out] */ DWORD *pdwStatus,
  127. /* [out] */ DWORD *pdwWin32Result,
  128. /* [out] */ DWORD *pdwTransportResult,
  129. /* [out] */ DWORD *pdwNumOfRetries) = 0;
  130. virtual HRESULT STDMETHODCALLTYPE AddFiles(
  131. /* [in] */ ULONG cFileCount,
  132. /* [size_is][in] */ FILESETINFO **ppFileSet) = 0;
  133. virtual HRESULT STDMETHODCALLTYPE GetFile(
  134. /* [in] */ ULONG cFileIndex,
  135. /* [out] */ FILESETINFO *pFileInfo) = 0;
  136. virtual HRESULT STDMETHODCALLTYPE GetFileCount(
  137. /* [out] */ DWORD *pdwFileCount) = 0;
  138. virtual HRESULT STDMETHODCALLTYPE SwitchToForeground( void) = 0;
  139. virtual HRESULT STDMETHODCALLTYPE get_JobID(
  140. /* [out] */ GUID *pguidJobID) = 0;
  141. };
  142. #else /* C style interface */
  143. typedef struct IBackgroundCopyJob1Vtbl
  144. {
  145. BEGIN_INTERFACE
  146. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  147. IBackgroundCopyJob1 * This,
  148. /* [in] */ REFIID riid,
  149. /* [iid_is][out] */ void **ppvObject);
  150. ULONG ( STDMETHODCALLTYPE *AddRef )(
  151. IBackgroundCopyJob1 * This);
  152. ULONG ( STDMETHODCALLTYPE *Release )(
  153. IBackgroundCopyJob1 * This);
  154. HRESULT ( STDMETHODCALLTYPE *CancelJob )(
  155. IBackgroundCopyJob1 * This);
  156. HRESULT ( STDMETHODCALLTYPE *GetProgress )(
  157. IBackgroundCopyJob1 * This,
  158. /* [in] */ DWORD dwFlags,
  159. /* [out] */ DWORD *pdwProgress);
  160. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  161. IBackgroundCopyJob1 * This,
  162. /* [out] */ DWORD *pdwStatus,
  163. /* [out] */ DWORD *pdwWin32Result,
  164. /* [out] */ DWORD *pdwTransportResult,
  165. /* [out] */ DWORD *pdwNumOfRetries);
  166. HRESULT ( STDMETHODCALLTYPE *AddFiles )(
  167. IBackgroundCopyJob1 * This,
  168. /* [in] */ ULONG cFileCount,
  169. /* [size_is][in] */ FILESETINFO **ppFileSet);
  170. HRESULT ( STDMETHODCALLTYPE *GetFile )(
  171. IBackgroundCopyJob1 * This,
  172. /* [in] */ ULONG cFileIndex,
  173. /* [out] */ FILESETINFO *pFileInfo);
  174. HRESULT ( STDMETHODCALLTYPE *GetFileCount )(
  175. IBackgroundCopyJob1 * This,
  176. /* [out] */ DWORD *pdwFileCount);
  177. HRESULT ( STDMETHODCALLTYPE *SwitchToForeground )(
  178. IBackgroundCopyJob1 * This);
  179. HRESULT ( STDMETHODCALLTYPE *get_JobID )(
  180. IBackgroundCopyJob1 * This,
  181. /* [out] */ GUID *pguidJobID);
  182. END_INTERFACE
  183. } IBackgroundCopyJob1Vtbl;
  184. interface IBackgroundCopyJob1
  185. {
  186. CONST_VTBL struct IBackgroundCopyJob1Vtbl *lpVtbl;
  187. };
  188. #ifdef COBJMACROS
  189. #define IBackgroundCopyJob1_QueryInterface(This,riid,ppvObject) \
  190. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  191. #define IBackgroundCopyJob1_AddRef(This) \
  192. (This)->lpVtbl -> AddRef(This)
  193. #define IBackgroundCopyJob1_Release(This) \
  194. (This)->lpVtbl -> Release(This)
  195. #define IBackgroundCopyJob1_CancelJob(This) \
  196. (This)->lpVtbl -> CancelJob(This)
  197. #define IBackgroundCopyJob1_GetProgress(This,dwFlags,pdwProgress) \
  198. (This)->lpVtbl -> GetProgress(This,dwFlags,pdwProgress)
  199. #define IBackgroundCopyJob1_GetStatus(This,pdwStatus,pdwWin32Result,pdwTransportResult,pdwNumOfRetries) \
  200. (This)->lpVtbl -> GetStatus(This,pdwStatus,pdwWin32Result,pdwTransportResult,pdwNumOfRetries)
  201. #define IBackgroundCopyJob1_AddFiles(This,cFileCount,ppFileSet) \
  202. (This)->lpVtbl -> AddFiles(This,cFileCount,ppFileSet)
  203. #define IBackgroundCopyJob1_GetFile(This,cFileIndex,pFileInfo) \
  204. (This)->lpVtbl -> GetFile(This,cFileIndex,pFileInfo)
  205. #define IBackgroundCopyJob1_GetFileCount(This,pdwFileCount) \
  206. (This)->lpVtbl -> GetFileCount(This,pdwFileCount)
  207. #define IBackgroundCopyJob1_SwitchToForeground(This) \
  208. (This)->lpVtbl -> SwitchToForeground(This)
  209. #define IBackgroundCopyJob1_get_JobID(This,pguidJobID) \
  210. (This)->lpVtbl -> get_JobID(This,pguidJobID)
  211. #endif /* COBJMACROS */
  212. #endif /* C style interface */
  213. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob1_CancelJob_Proxy(
  214. IBackgroundCopyJob1 * This);
  215. void __RPC_STUB IBackgroundCopyJob1_CancelJob_Stub(
  216. IRpcStubBuffer *This,
  217. IRpcChannelBuffer *_pRpcChannelBuffer,
  218. PRPC_MESSAGE _pRpcMessage,
  219. DWORD *_pdwStubPhase);
  220. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob1_GetProgress_Proxy(
  221. IBackgroundCopyJob1 * This,
  222. /* [in] */ DWORD dwFlags,
  223. /* [out] */ DWORD *pdwProgress);
  224. void __RPC_STUB IBackgroundCopyJob1_GetProgress_Stub(
  225. IRpcStubBuffer *This,
  226. IRpcChannelBuffer *_pRpcChannelBuffer,
  227. PRPC_MESSAGE _pRpcMessage,
  228. DWORD *_pdwStubPhase);
  229. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob1_GetStatus_Proxy(
  230. IBackgroundCopyJob1 * This,
  231. /* [out] */ DWORD *pdwStatus,
  232. /* [out] */ DWORD *pdwWin32Result,
  233. /* [out] */ DWORD *pdwTransportResult,
  234. /* [out] */ DWORD *pdwNumOfRetries);
  235. void __RPC_STUB IBackgroundCopyJob1_GetStatus_Stub(
  236. IRpcStubBuffer *This,
  237. IRpcChannelBuffer *_pRpcChannelBuffer,
  238. PRPC_MESSAGE _pRpcMessage,
  239. DWORD *_pdwStubPhase);
  240. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob1_AddFiles_Proxy(
  241. IBackgroundCopyJob1 * This,
  242. /* [in] */ ULONG cFileCount,
  243. /* [size_is][in] */ FILESETINFO **ppFileSet);
  244. void __RPC_STUB IBackgroundCopyJob1_AddFiles_Stub(
  245. IRpcStubBuffer *This,
  246. IRpcChannelBuffer *_pRpcChannelBuffer,
  247. PRPC_MESSAGE _pRpcMessage,
  248. DWORD *_pdwStubPhase);
  249. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob1_GetFile_Proxy(
  250. IBackgroundCopyJob1 * This,
  251. /* [in] */ ULONG cFileIndex,
  252. /* [out] */ FILESETINFO *pFileInfo);
  253. void __RPC_STUB IBackgroundCopyJob1_GetFile_Stub(
  254. IRpcStubBuffer *This,
  255. IRpcChannelBuffer *_pRpcChannelBuffer,
  256. PRPC_MESSAGE _pRpcMessage,
  257. DWORD *_pdwStubPhase);
  258. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob1_GetFileCount_Proxy(
  259. IBackgroundCopyJob1 * This,
  260. /* [out] */ DWORD *pdwFileCount);
  261. void __RPC_STUB IBackgroundCopyJob1_GetFileCount_Stub(
  262. IRpcStubBuffer *This,
  263. IRpcChannelBuffer *_pRpcChannelBuffer,
  264. PRPC_MESSAGE _pRpcMessage,
  265. DWORD *_pdwStubPhase);
  266. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob1_SwitchToForeground_Proxy(
  267. IBackgroundCopyJob1 * This);
  268. void __RPC_STUB IBackgroundCopyJob1_SwitchToForeground_Stub(
  269. IRpcStubBuffer *This,
  270. IRpcChannelBuffer *_pRpcChannelBuffer,
  271. PRPC_MESSAGE _pRpcMessage,
  272. DWORD *_pdwStubPhase);
  273. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob1_get_JobID_Proxy(
  274. IBackgroundCopyJob1 * This,
  275. /* [out] */ GUID *pguidJobID);
  276. void __RPC_STUB IBackgroundCopyJob1_get_JobID_Stub(
  277. IRpcStubBuffer *This,
  278. IRpcChannelBuffer *_pRpcChannelBuffer,
  279. PRPC_MESSAGE _pRpcMessage,
  280. DWORD *_pdwStubPhase);
  281. #endif /* __IBackgroundCopyJob1_INTERFACE_DEFINED__ */
  282. #ifndef __IEnumBackgroundCopyJobs1_INTERFACE_DEFINED__
  283. #define __IEnumBackgroundCopyJobs1_INTERFACE_DEFINED__
  284. /* interface IEnumBackgroundCopyJobs1 */
  285. /* [object][helpstring][uuid] */
  286. EXTERN_C const IID IID_IEnumBackgroundCopyJobs1;
  287. #if defined(__cplusplus) && !defined(CINTERFACE)
  288. MIDL_INTERFACE("8baeba9d-8f1c-42c4-b82c-09ae79980d25")
  289. IEnumBackgroundCopyJobs1 : public IUnknown
  290. {
  291. public:
  292. virtual HRESULT STDMETHODCALLTYPE Next(
  293. /* [in] */ ULONG celt,
  294. /* [length_is][size_is][out] */ GUID *rgelt,
  295. /* [out] */ ULONG *pceltFetched) = 0;
  296. virtual HRESULT STDMETHODCALLTYPE Skip(
  297. /* [in] */ ULONG celt) = 0;
  298. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  299. virtual HRESULT STDMETHODCALLTYPE Clone(
  300. /* [out] */ IEnumBackgroundCopyJobs1 **ppenum) = 0;
  301. virtual HRESULT STDMETHODCALLTYPE GetCount(
  302. /* [out] */ ULONG *puCount) = 0;
  303. };
  304. #else /* C style interface */
  305. typedef struct IEnumBackgroundCopyJobs1Vtbl
  306. {
  307. BEGIN_INTERFACE
  308. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  309. IEnumBackgroundCopyJobs1 * This,
  310. /* [in] */ REFIID riid,
  311. /* [iid_is][out] */ void **ppvObject);
  312. ULONG ( STDMETHODCALLTYPE *AddRef )(
  313. IEnumBackgroundCopyJobs1 * This);
  314. ULONG ( STDMETHODCALLTYPE *Release )(
  315. IEnumBackgroundCopyJobs1 * This);
  316. HRESULT ( STDMETHODCALLTYPE *Next )(
  317. IEnumBackgroundCopyJobs1 * This,
  318. /* [in] */ ULONG celt,
  319. /* [length_is][size_is][out] */ GUID *rgelt,
  320. /* [out] */ ULONG *pceltFetched);
  321. HRESULT ( STDMETHODCALLTYPE *Skip )(
  322. IEnumBackgroundCopyJobs1 * This,
  323. /* [in] */ ULONG celt);
  324. HRESULT ( STDMETHODCALLTYPE *Reset )(
  325. IEnumBackgroundCopyJobs1 * This);
  326. HRESULT ( STDMETHODCALLTYPE *Clone )(
  327. IEnumBackgroundCopyJobs1 * This,
  328. /* [out] */ IEnumBackgroundCopyJobs1 **ppenum);
  329. HRESULT ( STDMETHODCALLTYPE *GetCount )(
  330. IEnumBackgroundCopyJobs1 * This,
  331. /* [out] */ ULONG *puCount);
  332. END_INTERFACE
  333. } IEnumBackgroundCopyJobs1Vtbl;
  334. interface IEnumBackgroundCopyJobs1
  335. {
  336. CONST_VTBL struct IEnumBackgroundCopyJobs1Vtbl *lpVtbl;
  337. };
  338. #ifdef COBJMACROS
  339. #define IEnumBackgroundCopyJobs1_QueryInterface(This,riid,ppvObject) \
  340. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  341. #define IEnumBackgroundCopyJobs1_AddRef(This) \
  342. (This)->lpVtbl -> AddRef(This)
  343. #define IEnumBackgroundCopyJobs1_Release(This) \
  344. (This)->lpVtbl -> Release(This)
  345. #define IEnumBackgroundCopyJobs1_Next(This,celt,rgelt,pceltFetched) \
  346. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  347. #define IEnumBackgroundCopyJobs1_Skip(This,celt) \
  348. (This)->lpVtbl -> Skip(This,celt)
  349. #define IEnumBackgroundCopyJobs1_Reset(This) \
  350. (This)->lpVtbl -> Reset(This)
  351. #define IEnumBackgroundCopyJobs1_Clone(This,ppenum) \
  352. (This)->lpVtbl -> Clone(This,ppenum)
  353. #define IEnumBackgroundCopyJobs1_GetCount(This,puCount) \
  354. (This)->lpVtbl -> GetCount(This,puCount)
  355. #endif /* COBJMACROS */
  356. #endif /* C style interface */
  357. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs1_Next_Proxy(
  358. IEnumBackgroundCopyJobs1 * This,
  359. /* [in] */ ULONG celt,
  360. /* [length_is][size_is][out] */ GUID *rgelt,
  361. /* [out] */ ULONG *pceltFetched);
  362. void __RPC_STUB IEnumBackgroundCopyJobs1_Next_Stub(
  363. IRpcStubBuffer *This,
  364. IRpcChannelBuffer *_pRpcChannelBuffer,
  365. PRPC_MESSAGE _pRpcMessage,
  366. DWORD *_pdwStubPhase);
  367. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs1_Skip_Proxy(
  368. IEnumBackgroundCopyJobs1 * This,
  369. /* [in] */ ULONG celt);
  370. void __RPC_STUB IEnumBackgroundCopyJobs1_Skip_Stub(
  371. IRpcStubBuffer *This,
  372. IRpcChannelBuffer *_pRpcChannelBuffer,
  373. PRPC_MESSAGE _pRpcMessage,
  374. DWORD *_pdwStubPhase);
  375. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs1_Reset_Proxy(
  376. IEnumBackgroundCopyJobs1 * This);
  377. void __RPC_STUB IEnumBackgroundCopyJobs1_Reset_Stub(
  378. IRpcStubBuffer *This,
  379. IRpcChannelBuffer *_pRpcChannelBuffer,
  380. PRPC_MESSAGE _pRpcMessage,
  381. DWORD *_pdwStubPhase);
  382. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs1_Clone_Proxy(
  383. IEnumBackgroundCopyJobs1 * This,
  384. /* [out] */ IEnumBackgroundCopyJobs1 **ppenum);
  385. void __RPC_STUB IEnumBackgroundCopyJobs1_Clone_Stub(
  386. IRpcStubBuffer *This,
  387. IRpcChannelBuffer *_pRpcChannelBuffer,
  388. PRPC_MESSAGE _pRpcMessage,
  389. DWORD *_pdwStubPhase);
  390. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs1_GetCount_Proxy(
  391. IEnumBackgroundCopyJobs1 * This,
  392. /* [out] */ ULONG *puCount);
  393. void __RPC_STUB IEnumBackgroundCopyJobs1_GetCount_Stub(
  394. IRpcStubBuffer *This,
  395. IRpcChannelBuffer *_pRpcChannelBuffer,
  396. PRPC_MESSAGE _pRpcMessage,
  397. DWORD *_pdwStubPhase);
  398. #endif /* __IEnumBackgroundCopyJobs1_INTERFACE_DEFINED__ */
  399. #ifndef __IBackgroundCopyGroup_INTERFACE_DEFINED__
  400. #define __IBackgroundCopyGroup_INTERFACE_DEFINED__
  401. /* interface IBackgroundCopyGroup */
  402. /* [object][helpstring][uuid] */
  403. typedef
  404. enum GROUPPROP
  405. { GROUPPROP_PRIORITY = 0,
  406. GROUPPROP_REMOTEUSERID = 1,
  407. GROUPPROP_REMOTEUSERPWD = 2,
  408. GROUPPROP_LOCALUSERID = 3,
  409. GROUPPROP_LOCALUSERPWD = 4,
  410. GROUPPROP_PROTOCOLFLAGS = 5,
  411. GROUPPROP_NOTIFYFLAGS = 6,
  412. GROUPPROP_NOTIFYCLSID = 7,
  413. GROUPPROP_PROGRESSSIZE = 8,
  414. GROUPPROP_PROGRESSPERCENT = 9,
  415. GROUPPROP_PROGRESSTIME = 10,
  416. GROUPPROP_DISPLAYNAME = 11,
  417. GROUPPROP_DESCRIPTION = 12
  418. } GROUPPROP;
  419. EXTERN_C const IID IID_IBackgroundCopyGroup;
  420. #if defined(__cplusplus) && !defined(CINTERFACE)
  421. MIDL_INTERFACE("1ded80a7-53ea-424f-8a04-17fea9adc4f5")
  422. IBackgroundCopyGroup : public IUnknown
  423. {
  424. public:
  425. virtual HRESULT STDMETHODCALLTYPE GetProp(
  426. /* [in] */ GROUPPROP propID,
  427. /* [out] */ VARIANT *pvarVal) = 0;
  428. virtual /* [local] */ HRESULT STDMETHODCALLTYPE SetProp(
  429. /* [in] */ GROUPPROP propID,
  430. /* [in] */ VARIANT *pvarVal) = 0;
  431. virtual HRESULT STDMETHODCALLTYPE GetProgress(
  432. /* [in] */ DWORD dwFlags,
  433. /* [out] */ DWORD *pdwProgress) = 0;
  434. virtual HRESULT STDMETHODCALLTYPE GetStatus(
  435. /* [out] */ DWORD *pdwStatus,
  436. /* [out] */ DWORD *pdwJobIndex) = 0;
  437. virtual HRESULT STDMETHODCALLTYPE GetJob(
  438. /* [in] */ GUID jobID,
  439. /* [out] */ IBackgroundCopyJob1 **ppJob) = 0;
  440. virtual HRESULT STDMETHODCALLTYPE SuspendGroup( void) = 0;
  441. virtual HRESULT STDMETHODCALLTYPE ResumeGroup( void) = 0;
  442. virtual HRESULT STDMETHODCALLTYPE CancelGroup( void) = 0;
  443. virtual HRESULT STDMETHODCALLTYPE get_Size(
  444. /* [out] */ DWORD *pdwSize) = 0;
  445. virtual HRESULT STDMETHODCALLTYPE get_GroupID(
  446. /* [out] */ GUID *pguidGroupID) = 0;
  447. virtual HRESULT STDMETHODCALLTYPE CreateJob(
  448. /* [in] */ GUID guidJobID,
  449. /* [out] */ IBackgroundCopyJob1 **ppJob) = 0;
  450. virtual HRESULT STDMETHODCALLTYPE EnumJobs(
  451. /* [in] */ DWORD dwFlags,
  452. /* [out] */ IEnumBackgroundCopyJobs1 **ppEnumJobs) = 0;
  453. virtual HRESULT STDMETHODCALLTYPE SwitchToForeground( void) = 0;
  454. virtual HRESULT STDMETHODCALLTYPE QueryNewJobInterface(
  455. /* [in] */ REFIID iid,
  456. /* [iid_is][out] */ IUnknown **pUnk) = 0;
  457. virtual HRESULT STDMETHODCALLTYPE SetNotificationPointer(
  458. /* [in] */ REFIID iid,
  459. /* [in] */ IUnknown *pUnk) = 0;
  460. };
  461. #else /* C style interface */
  462. typedef struct IBackgroundCopyGroupVtbl
  463. {
  464. BEGIN_INTERFACE
  465. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  466. IBackgroundCopyGroup * This,
  467. /* [in] */ REFIID riid,
  468. /* [iid_is][out] */ void **ppvObject);
  469. ULONG ( STDMETHODCALLTYPE *AddRef )(
  470. IBackgroundCopyGroup * This);
  471. ULONG ( STDMETHODCALLTYPE *Release )(
  472. IBackgroundCopyGroup * This);
  473. HRESULT ( STDMETHODCALLTYPE *GetProp )(
  474. IBackgroundCopyGroup * This,
  475. /* [in] */ GROUPPROP propID,
  476. /* [out] */ VARIANT *pvarVal);
  477. /* [local] */ HRESULT ( STDMETHODCALLTYPE *SetProp )(
  478. IBackgroundCopyGroup * This,
  479. /* [in] */ GROUPPROP propID,
  480. /* [in] */ VARIANT *pvarVal);
  481. HRESULT ( STDMETHODCALLTYPE *GetProgress )(
  482. IBackgroundCopyGroup * This,
  483. /* [in] */ DWORD dwFlags,
  484. /* [out] */ DWORD *pdwProgress);
  485. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  486. IBackgroundCopyGroup * This,
  487. /* [out] */ DWORD *pdwStatus,
  488. /* [out] */ DWORD *pdwJobIndex);
  489. HRESULT ( STDMETHODCALLTYPE *GetJob )(
  490. IBackgroundCopyGroup * This,
  491. /* [in] */ GUID jobID,
  492. /* [out] */ IBackgroundCopyJob1 **ppJob);
  493. HRESULT ( STDMETHODCALLTYPE *SuspendGroup )(
  494. IBackgroundCopyGroup * This);
  495. HRESULT ( STDMETHODCALLTYPE *ResumeGroup )(
  496. IBackgroundCopyGroup * This);
  497. HRESULT ( STDMETHODCALLTYPE *CancelGroup )(
  498. IBackgroundCopyGroup * This);
  499. HRESULT ( STDMETHODCALLTYPE *get_Size )(
  500. IBackgroundCopyGroup * This,
  501. /* [out] */ DWORD *pdwSize);
  502. HRESULT ( STDMETHODCALLTYPE *get_GroupID )(
  503. IBackgroundCopyGroup * This,
  504. /* [out] */ GUID *pguidGroupID);
  505. HRESULT ( STDMETHODCALLTYPE *CreateJob )(
  506. IBackgroundCopyGroup * This,
  507. /* [in] */ GUID guidJobID,
  508. /* [out] */ IBackgroundCopyJob1 **ppJob);
  509. HRESULT ( STDMETHODCALLTYPE *EnumJobs )(
  510. IBackgroundCopyGroup * This,
  511. /* [in] */ DWORD dwFlags,
  512. /* [out] */ IEnumBackgroundCopyJobs1 **ppEnumJobs);
  513. HRESULT ( STDMETHODCALLTYPE *SwitchToForeground )(
  514. IBackgroundCopyGroup * This);
  515. HRESULT ( STDMETHODCALLTYPE *QueryNewJobInterface )(
  516. IBackgroundCopyGroup * This,
  517. /* [in] */ REFIID iid,
  518. /* [iid_is][out] */ IUnknown **pUnk);
  519. HRESULT ( STDMETHODCALLTYPE *SetNotificationPointer )(
  520. IBackgroundCopyGroup * This,
  521. /* [in] */ REFIID iid,
  522. /* [in] */ IUnknown *pUnk);
  523. END_INTERFACE
  524. } IBackgroundCopyGroupVtbl;
  525. interface IBackgroundCopyGroup
  526. {
  527. CONST_VTBL struct IBackgroundCopyGroupVtbl *lpVtbl;
  528. };
  529. #ifdef COBJMACROS
  530. #define IBackgroundCopyGroup_QueryInterface(This,riid,ppvObject) \
  531. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  532. #define IBackgroundCopyGroup_AddRef(This) \
  533. (This)->lpVtbl -> AddRef(This)
  534. #define IBackgroundCopyGroup_Release(This) \
  535. (This)->lpVtbl -> Release(This)
  536. #define IBackgroundCopyGroup_GetProp(This,propID,pvarVal) \
  537. (This)->lpVtbl -> GetProp(This,propID,pvarVal)
  538. #define IBackgroundCopyGroup_SetProp(This,propID,pvarVal) \
  539. (This)->lpVtbl -> SetProp(This,propID,pvarVal)
  540. #define IBackgroundCopyGroup_GetProgress(This,dwFlags,pdwProgress) \
  541. (This)->lpVtbl -> GetProgress(This,dwFlags,pdwProgress)
  542. #define IBackgroundCopyGroup_GetStatus(This,pdwStatus,pdwJobIndex) \
  543. (This)->lpVtbl -> GetStatus(This,pdwStatus,pdwJobIndex)
  544. #define IBackgroundCopyGroup_GetJob(This,jobID,ppJob) \
  545. (This)->lpVtbl -> GetJob(This,jobID,ppJob)
  546. #define IBackgroundCopyGroup_SuspendGroup(This) \
  547. (This)->lpVtbl -> SuspendGroup(This)
  548. #define IBackgroundCopyGroup_ResumeGroup(This) \
  549. (This)->lpVtbl -> ResumeGroup(This)
  550. #define IBackgroundCopyGroup_CancelGroup(This) \
  551. (This)->lpVtbl -> CancelGroup(This)
  552. #define IBackgroundCopyGroup_get_Size(This,pdwSize) \
  553. (This)->lpVtbl -> get_Size(This,pdwSize)
  554. #define IBackgroundCopyGroup_get_GroupID(This,pguidGroupID) \
  555. (This)->lpVtbl -> get_GroupID(This,pguidGroupID)
  556. #define IBackgroundCopyGroup_CreateJob(This,guidJobID,ppJob) \
  557. (This)->lpVtbl -> CreateJob(This,guidJobID,ppJob)
  558. #define IBackgroundCopyGroup_EnumJobs(This,dwFlags,ppEnumJobs) \
  559. (This)->lpVtbl -> EnumJobs(This,dwFlags,ppEnumJobs)
  560. #define IBackgroundCopyGroup_SwitchToForeground(This) \
  561. (This)->lpVtbl -> SwitchToForeground(This)
  562. #define IBackgroundCopyGroup_QueryNewJobInterface(This,iid,pUnk) \
  563. (This)->lpVtbl -> QueryNewJobInterface(This,iid,pUnk)
  564. #define IBackgroundCopyGroup_SetNotificationPointer(This,iid,pUnk) \
  565. (This)->lpVtbl -> SetNotificationPointer(This,iid,pUnk)
  566. #endif /* COBJMACROS */
  567. #endif /* C style interface */
  568. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_GetProp_Proxy(
  569. IBackgroundCopyGroup * This,
  570. /* [in] */ GROUPPROP propID,
  571. /* [out] */ VARIANT *pvarVal);
  572. void __RPC_STUB IBackgroundCopyGroup_GetProp_Stub(
  573. IRpcStubBuffer *This,
  574. IRpcChannelBuffer *_pRpcChannelBuffer,
  575. PRPC_MESSAGE _pRpcMessage,
  576. DWORD *_pdwStubPhase);
  577. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_InternalSetProp_Proxy(
  578. IBackgroundCopyGroup * This,
  579. /* [in] */ GROUPPROP propID,
  580. /* [in] */ VARIANT *pvarVal);
  581. void __RPC_STUB IBackgroundCopyGroup_InternalSetProp_Stub(
  582. IRpcStubBuffer *This,
  583. IRpcChannelBuffer *_pRpcChannelBuffer,
  584. PRPC_MESSAGE _pRpcMessage,
  585. DWORD *_pdwStubPhase);
  586. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_GetProgress_Proxy(
  587. IBackgroundCopyGroup * This,
  588. /* [in] */ DWORD dwFlags,
  589. /* [out] */ DWORD *pdwProgress);
  590. void __RPC_STUB IBackgroundCopyGroup_GetProgress_Stub(
  591. IRpcStubBuffer *This,
  592. IRpcChannelBuffer *_pRpcChannelBuffer,
  593. PRPC_MESSAGE _pRpcMessage,
  594. DWORD *_pdwStubPhase);
  595. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_GetStatus_Proxy(
  596. IBackgroundCopyGroup * This,
  597. /* [out] */ DWORD *pdwStatus,
  598. /* [out] */ DWORD *pdwJobIndex);
  599. void __RPC_STUB IBackgroundCopyGroup_GetStatus_Stub(
  600. IRpcStubBuffer *This,
  601. IRpcChannelBuffer *_pRpcChannelBuffer,
  602. PRPC_MESSAGE _pRpcMessage,
  603. DWORD *_pdwStubPhase);
  604. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_GetJob_Proxy(
  605. IBackgroundCopyGroup * This,
  606. /* [in] */ GUID jobID,
  607. /* [out] */ IBackgroundCopyJob1 **ppJob);
  608. void __RPC_STUB IBackgroundCopyGroup_GetJob_Stub(
  609. IRpcStubBuffer *This,
  610. IRpcChannelBuffer *_pRpcChannelBuffer,
  611. PRPC_MESSAGE _pRpcMessage,
  612. DWORD *_pdwStubPhase);
  613. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_SuspendGroup_Proxy(
  614. IBackgroundCopyGroup * This);
  615. void __RPC_STUB IBackgroundCopyGroup_SuspendGroup_Stub(
  616. IRpcStubBuffer *This,
  617. IRpcChannelBuffer *_pRpcChannelBuffer,
  618. PRPC_MESSAGE _pRpcMessage,
  619. DWORD *_pdwStubPhase);
  620. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_ResumeGroup_Proxy(
  621. IBackgroundCopyGroup * This);
  622. void __RPC_STUB IBackgroundCopyGroup_ResumeGroup_Stub(
  623. IRpcStubBuffer *This,
  624. IRpcChannelBuffer *_pRpcChannelBuffer,
  625. PRPC_MESSAGE _pRpcMessage,
  626. DWORD *_pdwStubPhase);
  627. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_CancelGroup_Proxy(
  628. IBackgroundCopyGroup * This);
  629. void __RPC_STUB IBackgroundCopyGroup_CancelGroup_Stub(
  630. IRpcStubBuffer *This,
  631. IRpcChannelBuffer *_pRpcChannelBuffer,
  632. PRPC_MESSAGE _pRpcMessage,
  633. DWORD *_pdwStubPhase);
  634. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_get_Size_Proxy(
  635. IBackgroundCopyGroup * This,
  636. /* [out] */ DWORD *pdwSize);
  637. void __RPC_STUB IBackgroundCopyGroup_get_Size_Stub(
  638. IRpcStubBuffer *This,
  639. IRpcChannelBuffer *_pRpcChannelBuffer,
  640. PRPC_MESSAGE _pRpcMessage,
  641. DWORD *_pdwStubPhase);
  642. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_get_GroupID_Proxy(
  643. IBackgroundCopyGroup * This,
  644. /* [out] */ GUID *pguidGroupID);
  645. void __RPC_STUB IBackgroundCopyGroup_get_GroupID_Stub(
  646. IRpcStubBuffer *This,
  647. IRpcChannelBuffer *_pRpcChannelBuffer,
  648. PRPC_MESSAGE _pRpcMessage,
  649. DWORD *_pdwStubPhase);
  650. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_CreateJob_Proxy(
  651. IBackgroundCopyGroup * This,
  652. /* [in] */ GUID guidJobID,
  653. /* [out] */ IBackgroundCopyJob1 **ppJob);
  654. void __RPC_STUB IBackgroundCopyGroup_CreateJob_Stub(
  655. IRpcStubBuffer *This,
  656. IRpcChannelBuffer *_pRpcChannelBuffer,
  657. PRPC_MESSAGE _pRpcMessage,
  658. DWORD *_pdwStubPhase);
  659. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_EnumJobs_Proxy(
  660. IBackgroundCopyGroup * This,
  661. /* [in] */ DWORD dwFlags,
  662. /* [out] */ IEnumBackgroundCopyJobs1 **ppEnumJobs);
  663. void __RPC_STUB IBackgroundCopyGroup_EnumJobs_Stub(
  664. IRpcStubBuffer *This,
  665. IRpcChannelBuffer *_pRpcChannelBuffer,
  666. PRPC_MESSAGE _pRpcMessage,
  667. DWORD *_pdwStubPhase);
  668. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_SwitchToForeground_Proxy(
  669. IBackgroundCopyGroup * This);
  670. void __RPC_STUB IBackgroundCopyGroup_SwitchToForeground_Stub(
  671. IRpcStubBuffer *This,
  672. IRpcChannelBuffer *_pRpcChannelBuffer,
  673. PRPC_MESSAGE _pRpcMessage,
  674. DWORD *_pdwStubPhase);
  675. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_QueryNewJobInterface_Proxy(
  676. IBackgroundCopyGroup * This,
  677. /* [in] */ REFIID iid,
  678. /* [iid_is][out] */ IUnknown **pUnk);
  679. void __RPC_STUB IBackgroundCopyGroup_QueryNewJobInterface_Stub(
  680. IRpcStubBuffer *This,
  681. IRpcChannelBuffer *_pRpcChannelBuffer,
  682. PRPC_MESSAGE _pRpcMessage,
  683. DWORD *_pdwStubPhase);
  684. HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_SetNotificationPointer_Proxy(
  685. IBackgroundCopyGroup * This,
  686. /* [in] */ REFIID iid,
  687. /* [in] */ IUnknown *pUnk);
  688. void __RPC_STUB IBackgroundCopyGroup_SetNotificationPointer_Stub(
  689. IRpcStubBuffer *This,
  690. IRpcChannelBuffer *_pRpcChannelBuffer,
  691. PRPC_MESSAGE _pRpcMessage,
  692. DWORD *_pdwStubPhase);
  693. #endif /* __IBackgroundCopyGroup_INTERFACE_DEFINED__ */
  694. #ifndef __IEnumBackgroundCopyGroups_INTERFACE_DEFINED__
  695. #define __IEnumBackgroundCopyGroups_INTERFACE_DEFINED__
  696. /* interface IEnumBackgroundCopyGroups */
  697. /* [object][helpstring][uuid] */
  698. EXTERN_C const IID IID_IEnumBackgroundCopyGroups;
  699. #if defined(__cplusplus) && !defined(CINTERFACE)
  700. MIDL_INTERFACE("d993e603-4aa4-47c5-8665-c20d39c2ba4f")
  701. IEnumBackgroundCopyGroups : public IUnknown
  702. {
  703. public:
  704. virtual HRESULT STDMETHODCALLTYPE Next(
  705. /* [in] */ ULONG celt,
  706. /* [length_is][size_is][out] */ GUID *rgelt,
  707. /* [out] */ ULONG *pceltFetched) = 0;
  708. virtual HRESULT STDMETHODCALLTYPE Skip(
  709. /* [in] */ ULONG celt) = 0;
  710. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  711. virtual HRESULT STDMETHODCALLTYPE Clone(
  712. /* [out] */ IEnumBackgroundCopyGroups **ppenum) = 0;
  713. virtual HRESULT STDMETHODCALLTYPE GetCount(
  714. /* [out] */ ULONG *puCount) = 0;
  715. };
  716. #else /* C style interface */
  717. typedef struct IEnumBackgroundCopyGroupsVtbl
  718. {
  719. BEGIN_INTERFACE
  720. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  721. IEnumBackgroundCopyGroups * This,
  722. /* [in] */ REFIID riid,
  723. /* [iid_is][out] */ void **ppvObject);
  724. ULONG ( STDMETHODCALLTYPE *AddRef )(
  725. IEnumBackgroundCopyGroups * This);
  726. ULONG ( STDMETHODCALLTYPE *Release )(
  727. IEnumBackgroundCopyGroups * This);
  728. HRESULT ( STDMETHODCALLTYPE *Next )(
  729. IEnumBackgroundCopyGroups * This,
  730. /* [in] */ ULONG celt,
  731. /* [length_is][size_is][out] */ GUID *rgelt,
  732. /* [out] */ ULONG *pceltFetched);
  733. HRESULT ( STDMETHODCALLTYPE *Skip )(
  734. IEnumBackgroundCopyGroups * This,
  735. /* [in] */ ULONG celt);
  736. HRESULT ( STDMETHODCALLTYPE *Reset )(
  737. IEnumBackgroundCopyGroups * This);
  738. HRESULT ( STDMETHODCALLTYPE *Clone )(
  739. IEnumBackgroundCopyGroups * This,
  740. /* [out] */ IEnumBackgroundCopyGroups **ppenum);
  741. HRESULT ( STDMETHODCALLTYPE *GetCount )(
  742. IEnumBackgroundCopyGroups * This,
  743. /* [out] */ ULONG *puCount);
  744. END_INTERFACE
  745. } IEnumBackgroundCopyGroupsVtbl;
  746. interface IEnumBackgroundCopyGroups
  747. {
  748. CONST_VTBL struct IEnumBackgroundCopyGroupsVtbl *lpVtbl;
  749. };
  750. #ifdef COBJMACROS
  751. #define IEnumBackgroundCopyGroups_QueryInterface(This,riid,ppvObject) \
  752. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  753. #define IEnumBackgroundCopyGroups_AddRef(This) \
  754. (This)->lpVtbl -> AddRef(This)
  755. #define IEnumBackgroundCopyGroups_Release(This) \
  756. (This)->lpVtbl -> Release(This)
  757. #define IEnumBackgroundCopyGroups_Next(This,celt,rgelt,pceltFetched) \
  758. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  759. #define IEnumBackgroundCopyGroups_Skip(This,celt) \
  760. (This)->lpVtbl -> Skip(This,celt)
  761. #define IEnumBackgroundCopyGroups_Reset(This) \
  762. (This)->lpVtbl -> Reset(This)
  763. #define IEnumBackgroundCopyGroups_Clone(This,ppenum) \
  764. (This)->lpVtbl -> Clone(This,ppenum)
  765. #define IEnumBackgroundCopyGroups_GetCount(This,puCount) \
  766. (This)->lpVtbl -> GetCount(This,puCount)
  767. #endif /* COBJMACROS */
  768. #endif /* C style interface */
  769. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyGroups_Next_Proxy(
  770. IEnumBackgroundCopyGroups * This,
  771. /* [in] */ ULONG celt,
  772. /* [length_is][size_is][out] */ GUID *rgelt,
  773. /* [out] */ ULONG *pceltFetched);
  774. void __RPC_STUB IEnumBackgroundCopyGroups_Next_Stub(
  775. IRpcStubBuffer *This,
  776. IRpcChannelBuffer *_pRpcChannelBuffer,
  777. PRPC_MESSAGE _pRpcMessage,
  778. DWORD *_pdwStubPhase);
  779. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyGroups_Skip_Proxy(
  780. IEnumBackgroundCopyGroups * This,
  781. /* [in] */ ULONG celt);
  782. void __RPC_STUB IEnumBackgroundCopyGroups_Skip_Stub(
  783. IRpcStubBuffer *This,
  784. IRpcChannelBuffer *_pRpcChannelBuffer,
  785. PRPC_MESSAGE _pRpcMessage,
  786. DWORD *_pdwStubPhase);
  787. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyGroups_Reset_Proxy(
  788. IEnumBackgroundCopyGroups * This);
  789. void __RPC_STUB IEnumBackgroundCopyGroups_Reset_Stub(
  790. IRpcStubBuffer *This,
  791. IRpcChannelBuffer *_pRpcChannelBuffer,
  792. PRPC_MESSAGE _pRpcMessage,
  793. DWORD *_pdwStubPhase);
  794. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyGroups_Clone_Proxy(
  795. IEnumBackgroundCopyGroups * This,
  796. /* [out] */ IEnumBackgroundCopyGroups **ppenum);
  797. void __RPC_STUB IEnumBackgroundCopyGroups_Clone_Stub(
  798. IRpcStubBuffer *This,
  799. IRpcChannelBuffer *_pRpcChannelBuffer,
  800. PRPC_MESSAGE _pRpcMessage,
  801. DWORD *_pdwStubPhase);
  802. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyGroups_GetCount_Proxy(
  803. IEnumBackgroundCopyGroups * This,
  804. /* [out] */ ULONG *puCount);
  805. void __RPC_STUB IEnumBackgroundCopyGroups_GetCount_Stub(
  806. IRpcStubBuffer *This,
  807. IRpcChannelBuffer *_pRpcChannelBuffer,
  808. PRPC_MESSAGE _pRpcMessage,
  809. DWORD *_pdwStubPhase);
  810. #endif /* __IEnumBackgroundCopyGroups_INTERFACE_DEFINED__ */
  811. #ifndef __IBackgroundCopyCallback1_INTERFACE_DEFINED__
  812. #define __IBackgroundCopyCallback1_INTERFACE_DEFINED__
  813. /* interface IBackgroundCopyCallback1 */
  814. /* [object][helpstring][uuid] */
  815. EXTERN_C const IID IID_IBackgroundCopyCallback1;
  816. #if defined(__cplusplus) && !defined(CINTERFACE)
  817. MIDL_INTERFACE("084f6593-3800-4e08-9b59-99fa59addf82")
  818. IBackgroundCopyCallback1 : public IUnknown
  819. {
  820. public:
  821. virtual HRESULT STDMETHODCALLTYPE OnStatus(
  822. /* [in] */ IBackgroundCopyGroup *pGroup,
  823. /* [in] */ IBackgroundCopyJob1 *pJob,
  824. /* [in] */ DWORD dwFileIndex,
  825. /* [in] */ DWORD dwStatus,
  826. /* [in] */ DWORD dwNumOfRetries,
  827. /* [in] */ DWORD dwWin32Result,
  828. /* [in] */ DWORD dwTransportResult) = 0;
  829. virtual HRESULT STDMETHODCALLTYPE OnProgress(
  830. /* [in] */ DWORD ProgressType,
  831. /* [in] */ IBackgroundCopyGroup *pGroup,
  832. /* [in] */ IBackgroundCopyJob1 *pJob,
  833. /* [in] */ DWORD dwFileIndex,
  834. /* [in] */ DWORD dwProgressValue) = 0;
  835. virtual HRESULT STDMETHODCALLTYPE OnProgressEx(
  836. /* [in] */ DWORD ProgressType,
  837. /* [in] */ IBackgroundCopyGroup *pGroup,
  838. /* [in] */ IBackgroundCopyJob1 *pJob,
  839. /* [in] */ DWORD dwFileIndex,
  840. /* [in] */ DWORD dwProgressValue,
  841. /* [in] */ DWORD dwByteArraySize,
  842. /* [size_is][in] */ BYTE *pByte) = 0;
  843. };
  844. #else /* C style interface */
  845. typedef struct IBackgroundCopyCallback1Vtbl
  846. {
  847. BEGIN_INTERFACE
  848. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  849. IBackgroundCopyCallback1 * This,
  850. /* [in] */ REFIID riid,
  851. /* [iid_is][out] */ void **ppvObject);
  852. ULONG ( STDMETHODCALLTYPE *AddRef )(
  853. IBackgroundCopyCallback1 * This);
  854. ULONG ( STDMETHODCALLTYPE *Release )(
  855. IBackgroundCopyCallback1 * This);
  856. HRESULT ( STDMETHODCALLTYPE *OnStatus )(
  857. IBackgroundCopyCallback1 * This,
  858. /* [in] */ IBackgroundCopyGroup *pGroup,
  859. /* [in] */ IBackgroundCopyJob1 *pJob,
  860. /* [in] */ DWORD dwFileIndex,
  861. /* [in] */ DWORD dwStatus,
  862. /* [in] */ DWORD dwNumOfRetries,
  863. /* [in] */ DWORD dwWin32Result,
  864. /* [in] */ DWORD dwTransportResult);
  865. HRESULT ( STDMETHODCALLTYPE *OnProgress )(
  866. IBackgroundCopyCallback1 * This,
  867. /* [in] */ DWORD ProgressType,
  868. /* [in] */ IBackgroundCopyGroup *pGroup,
  869. /* [in] */ IBackgroundCopyJob1 *pJob,
  870. /* [in] */ DWORD dwFileIndex,
  871. /* [in] */ DWORD dwProgressValue);
  872. HRESULT ( STDMETHODCALLTYPE *OnProgressEx )(
  873. IBackgroundCopyCallback1 * This,
  874. /* [in] */ DWORD ProgressType,
  875. /* [in] */ IBackgroundCopyGroup *pGroup,
  876. /* [in] */ IBackgroundCopyJob1 *pJob,
  877. /* [in] */ DWORD dwFileIndex,
  878. /* [in] */ DWORD dwProgressValue,
  879. /* [in] */ DWORD dwByteArraySize,
  880. /* [size_is][in] */ BYTE *pByte);
  881. END_INTERFACE
  882. } IBackgroundCopyCallback1Vtbl;
  883. interface IBackgroundCopyCallback1
  884. {
  885. CONST_VTBL struct IBackgroundCopyCallback1Vtbl *lpVtbl;
  886. };
  887. #ifdef COBJMACROS
  888. #define IBackgroundCopyCallback1_QueryInterface(This,riid,ppvObject) \
  889. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  890. #define IBackgroundCopyCallback1_AddRef(This) \
  891. (This)->lpVtbl -> AddRef(This)
  892. #define IBackgroundCopyCallback1_Release(This) \
  893. (This)->lpVtbl -> Release(This)
  894. #define IBackgroundCopyCallback1_OnStatus(This,pGroup,pJob,dwFileIndex,dwStatus,dwNumOfRetries,dwWin32Result,dwTransportResult) \
  895. (This)->lpVtbl -> OnStatus(This,pGroup,pJob,dwFileIndex,dwStatus,dwNumOfRetries,dwWin32Result,dwTransportResult)
  896. #define IBackgroundCopyCallback1_OnProgress(This,ProgressType,pGroup,pJob,dwFileIndex,dwProgressValue) \
  897. (This)->lpVtbl -> OnProgress(This,ProgressType,pGroup,pJob,dwFileIndex,dwProgressValue)
  898. #define IBackgroundCopyCallback1_OnProgressEx(This,ProgressType,pGroup,pJob,dwFileIndex,dwProgressValue,dwByteArraySize,pByte) \
  899. (This)->lpVtbl -> OnProgressEx(This,ProgressType,pGroup,pJob,dwFileIndex,dwProgressValue,dwByteArraySize,pByte)
  900. #endif /* COBJMACROS */
  901. #endif /* C style interface */
  902. HRESULT STDMETHODCALLTYPE IBackgroundCopyCallback1_OnStatus_Proxy(
  903. IBackgroundCopyCallback1 * This,
  904. /* [in] */ IBackgroundCopyGroup *pGroup,
  905. /* [in] */ IBackgroundCopyJob1 *pJob,
  906. /* [in] */ DWORD dwFileIndex,
  907. /* [in] */ DWORD dwStatus,
  908. /* [in] */ DWORD dwNumOfRetries,
  909. /* [in] */ DWORD dwWin32Result,
  910. /* [in] */ DWORD dwTransportResult);
  911. void __RPC_STUB IBackgroundCopyCallback1_OnStatus_Stub(
  912. IRpcStubBuffer *This,
  913. IRpcChannelBuffer *_pRpcChannelBuffer,
  914. PRPC_MESSAGE _pRpcMessage,
  915. DWORD *_pdwStubPhase);
  916. HRESULT STDMETHODCALLTYPE IBackgroundCopyCallback1_OnProgress_Proxy(
  917. IBackgroundCopyCallback1 * This,
  918. /* [in] */ DWORD ProgressType,
  919. /* [in] */ IBackgroundCopyGroup *pGroup,
  920. /* [in] */ IBackgroundCopyJob1 *pJob,
  921. /* [in] */ DWORD dwFileIndex,
  922. /* [in] */ DWORD dwProgressValue);
  923. void __RPC_STUB IBackgroundCopyCallback1_OnProgress_Stub(
  924. IRpcStubBuffer *This,
  925. IRpcChannelBuffer *_pRpcChannelBuffer,
  926. PRPC_MESSAGE _pRpcMessage,
  927. DWORD *_pdwStubPhase);
  928. HRESULT STDMETHODCALLTYPE IBackgroundCopyCallback1_OnProgressEx_Proxy(
  929. IBackgroundCopyCallback1 * This,
  930. /* [in] */ DWORD ProgressType,
  931. /* [in] */ IBackgroundCopyGroup *pGroup,
  932. /* [in] */ IBackgroundCopyJob1 *pJob,
  933. /* [in] */ DWORD dwFileIndex,
  934. /* [in] */ DWORD dwProgressValue,
  935. /* [in] */ DWORD dwByteArraySize,
  936. /* [size_is][in] */ BYTE *pByte);
  937. void __RPC_STUB IBackgroundCopyCallback1_OnProgressEx_Stub(
  938. IRpcStubBuffer *This,
  939. IRpcChannelBuffer *_pRpcChannelBuffer,
  940. PRPC_MESSAGE _pRpcMessage,
  941. DWORD *_pdwStubPhase);
  942. #endif /* __IBackgroundCopyCallback1_INTERFACE_DEFINED__ */
  943. #ifndef __IBackgroundCopyQMgr_INTERFACE_DEFINED__
  944. #define __IBackgroundCopyQMgr_INTERFACE_DEFINED__
  945. /* interface IBackgroundCopyQMgr */
  946. /* [object][helpstring][uuid] */
  947. EXTERN_C const IID IID_IBackgroundCopyQMgr;
  948. #if defined(__cplusplus) && !defined(CINTERFACE)
  949. MIDL_INTERFACE("16f41c69-09f5-41d2-8cd8-3c08c47bc8a8")
  950. IBackgroundCopyQMgr : public IUnknown
  951. {
  952. public:
  953. virtual HRESULT STDMETHODCALLTYPE CreateGroup(
  954. /* [in] */ GUID guidGroupID,
  955. /* [out] */ IBackgroundCopyGroup **ppGroup) = 0;
  956. virtual HRESULT STDMETHODCALLTYPE GetGroup(
  957. /* [in] */ GUID groupID,
  958. /* [out] */ IBackgroundCopyGroup **ppGroup) = 0;
  959. virtual HRESULT STDMETHODCALLTYPE EnumGroups(
  960. /* [in] */ DWORD dwFlags,
  961. /* [out] */ IEnumBackgroundCopyGroups **ppEnumGroups) = 0;
  962. };
  963. #else /* C style interface */
  964. typedef struct IBackgroundCopyQMgrVtbl
  965. {
  966. BEGIN_INTERFACE
  967. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  968. IBackgroundCopyQMgr * This,
  969. /* [in] */ REFIID riid,
  970. /* [iid_is][out] */ void **ppvObject);
  971. ULONG ( STDMETHODCALLTYPE *AddRef )(
  972. IBackgroundCopyQMgr * This);
  973. ULONG ( STDMETHODCALLTYPE *Release )(
  974. IBackgroundCopyQMgr * This);
  975. HRESULT ( STDMETHODCALLTYPE *CreateGroup )(
  976. IBackgroundCopyQMgr * This,
  977. /* [in] */ GUID guidGroupID,
  978. /* [out] */ IBackgroundCopyGroup **ppGroup);
  979. HRESULT ( STDMETHODCALLTYPE *GetGroup )(
  980. IBackgroundCopyQMgr * This,
  981. /* [in] */ GUID groupID,
  982. /* [out] */ IBackgroundCopyGroup **ppGroup);
  983. HRESULT ( STDMETHODCALLTYPE *EnumGroups )(
  984. IBackgroundCopyQMgr * This,
  985. /* [in] */ DWORD dwFlags,
  986. /* [out] */ IEnumBackgroundCopyGroups **ppEnumGroups);
  987. END_INTERFACE
  988. } IBackgroundCopyQMgrVtbl;
  989. interface IBackgroundCopyQMgr
  990. {
  991. CONST_VTBL struct IBackgroundCopyQMgrVtbl *lpVtbl;
  992. };
  993. #ifdef COBJMACROS
  994. #define IBackgroundCopyQMgr_QueryInterface(This,riid,ppvObject) \
  995. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  996. #define IBackgroundCopyQMgr_AddRef(This) \
  997. (This)->lpVtbl -> AddRef(This)
  998. #define IBackgroundCopyQMgr_Release(This) \
  999. (This)->lpVtbl -> Release(This)
  1000. #define IBackgroundCopyQMgr_CreateGroup(This,guidGroupID,ppGroup) \
  1001. (This)->lpVtbl -> CreateGroup(This,guidGroupID,ppGroup)
  1002. #define IBackgroundCopyQMgr_GetGroup(This,groupID,ppGroup) \
  1003. (This)->lpVtbl -> GetGroup(This,groupID,ppGroup)
  1004. #define IBackgroundCopyQMgr_EnumGroups(This,dwFlags,ppEnumGroups) \
  1005. (This)->lpVtbl -> EnumGroups(This,dwFlags,ppEnumGroups)
  1006. #endif /* COBJMACROS */
  1007. #endif /* C style interface */
  1008. HRESULT STDMETHODCALLTYPE IBackgroundCopyQMgr_CreateGroup_Proxy(
  1009. IBackgroundCopyQMgr * This,
  1010. /* [in] */ GUID guidGroupID,
  1011. /* [out] */ IBackgroundCopyGroup **ppGroup);
  1012. void __RPC_STUB IBackgroundCopyQMgr_CreateGroup_Stub(
  1013. IRpcStubBuffer *This,
  1014. IRpcChannelBuffer *_pRpcChannelBuffer,
  1015. PRPC_MESSAGE _pRpcMessage,
  1016. DWORD *_pdwStubPhase);
  1017. HRESULT STDMETHODCALLTYPE IBackgroundCopyQMgr_GetGroup_Proxy(
  1018. IBackgroundCopyQMgr * This,
  1019. /* [in] */ GUID groupID,
  1020. /* [out] */ IBackgroundCopyGroup **ppGroup);
  1021. void __RPC_STUB IBackgroundCopyQMgr_GetGroup_Stub(
  1022. IRpcStubBuffer *This,
  1023. IRpcChannelBuffer *_pRpcChannelBuffer,
  1024. PRPC_MESSAGE _pRpcMessage,
  1025. DWORD *_pdwStubPhase);
  1026. HRESULT STDMETHODCALLTYPE IBackgroundCopyQMgr_EnumGroups_Proxy(
  1027. IBackgroundCopyQMgr * This,
  1028. /* [in] */ DWORD dwFlags,
  1029. /* [out] */ IEnumBackgroundCopyGroups **ppEnumGroups);
  1030. void __RPC_STUB IBackgroundCopyQMgr_EnumGroups_Stub(
  1031. IRpcStubBuffer *This,
  1032. IRpcChannelBuffer *_pRpcChannelBuffer,
  1033. PRPC_MESSAGE _pRpcMessage,
  1034. DWORD *_pdwStubPhase);
  1035. #endif /* __IBackgroundCopyQMgr_INTERFACE_DEFINED__ */
  1036. #ifndef __BackgroundCopyQMgr_LIBRARY_DEFINED__
  1037. #define __BackgroundCopyQMgr_LIBRARY_DEFINED__
  1038. /* library BackgroundCopyQMgr */
  1039. /* [version][lcid][helpstring][uuid] */
  1040. EXTERN_C const IID LIBID_BackgroundCopyQMgr;
  1041. EXTERN_C const CLSID CLSID_BackgroundCopyQMgr;
  1042. #ifdef __cplusplus
  1043. class DECLSPEC_UUID("69AD4AEE-51BE-439b-A92C-86AE490E8B30")
  1044. BackgroundCopyQMgr;
  1045. #endif
  1046. #endif /* __BackgroundCopyQMgr_LIBRARY_DEFINED__ */
  1047. /* Additional Prototypes for ALL interfaces */
  1048. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  1049. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  1050. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  1051. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  1052. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  1053. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  1054. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  1055. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  1056. /* [local] */ HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_SetProp_Proxy(
  1057. IBackgroundCopyGroup * This,
  1058. /* [in] */ GROUPPROP propID,
  1059. /* [in] */ VARIANT *pvarVal);
  1060. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBackgroundCopyGroup_SetProp_Stub(
  1061. IBackgroundCopyGroup * This,
  1062. /* [in] */ GROUPPROP propID,
  1063. /* [in] */ VARIANT *pvarVal);
  1064. /* end of Additional Prototypes */
  1065. #ifdef __cplusplus
  1066. }
  1067. #endif
  1068. #endif