bits2_0.h 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729
  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for bits2_0.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __bits2_0_h__
  27. #define __bits2_0_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IBackgroundCopyJob3_FWD_DEFINED__
  33. #define __IBackgroundCopyJob3_FWD_DEFINED__
  34. typedef interface IBackgroundCopyJob3 IBackgroundCopyJob3;
  35. #endif /* __IBackgroundCopyJob3_FWD_DEFINED__ */
  36. #ifndef __IBackgroundCopyFile2_FWD_DEFINED__
  37. #define __IBackgroundCopyFile2_FWD_DEFINED__
  38. typedef interface IBackgroundCopyFile2 IBackgroundCopyFile2;
  39. #endif /* __IBackgroundCopyFile2_FWD_DEFINED__ */
  40. #ifndef __BackgroundCopyManager2_0_FWD_DEFINED__
  41. #define __BackgroundCopyManager2_0_FWD_DEFINED__
  42. #ifdef __cplusplus
  43. typedef class BackgroundCopyManager2_0 BackgroundCopyManager2_0;
  44. #else
  45. typedef struct BackgroundCopyManager2_0 BackgroundCopyManager2_0;
  46. #endif /* __cplusplus */
  47. #endif /* __BackgroundCopyManager2_0_FWD_DEFINED__ */
  48. #ifndef __IBackgroundCopyJob3_FWD_DEFINED__
  49. #define __IBackgroundCopyJob3_FWD_DEFINED__
  50. typedef interface IBackgroundCopyJob3 IBackgroundCopyJob3;
  51. #endif /* __IBackgroundCopyJob3_FWD_DEFINED__ */
  52. /* header files for imported files */
  53. #include "bits.h"
  54. #include "bits1_5.h"
  55. #ifdef __cplusplus
  56. extern "C"{
  57. #endif
  58. void * __RPC_USER MIDL_user_allocate(size_t);
  59. void __RPC_USER MIDL_user_free( void * );
  60. /* interface __MIDL_itf_bits2_0_0000 */
  61. /* [local] */
  62. #define BG_LENGTH_TO_EOF (UINT64)(-1)
  63. typedef struct _BG_FILE_RANGE
  64. {
  65. UINT64 InitialOffset;
  66. UINT64 Length;
  67. } BG_FILE_RANGE;
  68. #define BG_COPY_FILE_OWNER 1
  69. #define BG_COPY_FILE_GROUP 2
  70. #define BG_COPY_FILE_DACL 4
  71. #define BG_COPY_FILE_SACL 8
  72. #define BG_COPY_FILE_ALL 15
  73. extern RPC_IF_HANDLE __MIDL_itf_bits2_0_0000_v0_0_c_ifspec;
  74. extern RPC_IF_HANDLE __MIDL_itf_bits2_0_0000_v0_0_s_ifspec;
  75. #ifndef __IBackgroundCopyJob3_INTERFACE_DEFINED__
  76. #define __IBackgroundCopyJob3_INTERFACE_DEFINED__
  77. /* interface IBackgroundCopyJob3 */
  78. /* [object][helpstring][uuid] */
  79. EXTERN_C const IID IID_IBackgroundCopyJob3;
  80. #if defined(__cplusplus) && !defined(CINTERFACE)
  81. MIDL_INTERFACE("443c8934-90ff-48ed-bcde-26f5c7450042")
  82. IBackgroundCopyJob3 : public IBackgroundCopyJob2
  83. {
  84. public:
  85. virtual HRESULT STDMETHODCALLTYPE ReplaceRemotePrefix(
  86. /* [in] */ LPCWSTR OldPrefix,
  87. /* [in] */ LPCWSTR NewPrefix) = 0;
  88. virtual HRESULT STDMETHODCALLTYPE AddFileWithRanges(
  89. /* [in] */ LPCWSTR RemoteUrl,
  90. /* [in] */ LPCWSTR LocalName,
  91. /* [in] */ DWORD RangeCount,
  92. /* [size_is][in] */ BG_FILE_RANGE Ranges[ ]) = 0;
  93. virtual HRESULT STDMETHODCALLTYPE SetFileACLFlags(
  94. /* [in] */ DWORD Flags) = 0;
  95. virtual HRESULT STDMETHODCALLTYPE GetFileACLFlags(
  96. /* [ref][out] */ DWORD *Flags) = 0;
  97. };
  98. #else /* C style interface */
  99. typedef struct IBackgroundCopyJob3Vtbl
  100. {
  101. BEGIN_INTERFACE
  102. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  103. IBackgroundCopyJob3 * This,
  104. /* [in] */ REFIID riid,
  105. /* [iid_is][out] */ void **ppvObject);
  106. ULONG ( STDMETHODCALLTYPE *AddRef )(
  107. IBackgroundCopyJob3 * This);
  108. ULONG ( STDMETHODCALLTYPE *Release )(
  109. IBackgroundCopyJob3 * This);
  110. HRESULT ( STDMETHODCALLTYPE *AddFileSet )(
  111. IBackgroundCopyJob3 * This,
  112. /* [in] */ ULONG cFileCount,
  113. /* [size_is][in] */ BG_FILE_INFO *pFileSet);
  114. HRESULT ( STDMETHODCALLTYPE *AddFile )(
  115. IBackgroundCopyJob3 * This,
  116. /* [in] */ LPCWSTR RemoteUrl,
  117. /* [in] */ LPCWSTR LocalName);
  118. HRESULT ( STDMETHODCALLTYPE *EnumFiles )(
  119. IBackgroundCopyJob3 * This,
  120. /* [out] */ IEnumBackgroundCopyFiles **pEnum);
  121. HRESULT ( STDMETHODCALLTYPE *Suspend )(
  122. IBackgroundCopyJob3 * This);
  123. HRESULT ( STDMETHODCALLTYPE *Resume )(
  124. IBackgroundCopyJob3 * This);
  125. HRESULT ( STDMETHODCALLTYPE *Cancel )(
  126. IBackgroundCopyJob3 * This);
  127. HRESULT ( STDMETHODCALLTYPE *Complete )(
  128. IBackgroundCopyJob3 * This);
  129. HRESULT ( STDMETHODCALLTYPE *GetId )(
  130. IBackgroundCopyJob3 * This,
  131. /* [out] */ GUID *pVal);
  132. HRESULT ( STDMETHODCALLTYPE *GetType )(
  133. IBackgroundCopyJob3 * This,
  134. /* [out] */ BG_JOB_TYPE *pVal);
  135. HRESULT ( STDMETHODCALLTYPE *GetProgress )(
  136. IBackgroundCopyJob3 * This,
  137. /* [out] */ BG_JOB_PROGRESS *pVal);
  138. HRESULT ( STDMETHODCALLTYPE *GetTimes )(
  139. IBackgroundCopyJob3 * This,
  140. /* [out] */ BG_JOB_TIMES *pVal);
  141. HRESULT ( STDMETHODCALLTYPE *GetState )(
  142. IBackgroundCopyJob3 * This,
  143. /* [out] */ BG_JOB_STATE *pVal);
  144. HRESULT ( STDMETHODCALLTYPE *GetError )(
  145. IBackgroundCopyJob3 * This,
  146. /* [out] */ IBackgroundCopyError **ppError);
  147. HRESULT ( STDMETHODCALLTYPE *GetOwner )(
  148. IBackgroundCopyJob3 * This,
  149. /* [out] */ LPWSTR *pVal);
  150. HRESULT ( STDMETHODCALLTYPE *SetDisplayName )(
  151. IBackgroundCopyJob3 * This,
  152. /* [in] */ LPCWSTR Val);
  153. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  154. IBackgroundCopyJob3 * This,
  155. /* [out] */ LPWSTR *pVal);
  156. HRESULT ( STDMETHODCALLTYPE *SetDescription )(
  157. IBackgroundCopyJob3 * This,
  158. /* [in] */ LPCWSTR Val);
  159. HRESULT ( STDMETHODCALLTYPE *GetDescription )(
  160. IBackgroundCopyJob3 * This,
  161. /* [out] */ LPWSTR *pVal);
  162. HRESULT ( STDMETHODCALLTYPE *SetPriority )(
  163. IBackgroundCopyJob3 * This,
  164. /* [in] */ BG_JOB_PRIORITY Val);
  165. HRESULT ( STDMETHODCALLTYPE *GetPriority )(
  166. IBackgroundCopyJob3 * This,
  167. /* [out] */ BG_JOB_PRIORITY *pVal);
  168. HRESULT ( STDMETHODCALLTYPE *SetNotifyFlags )(
  169. IBackgroundCopyJob3 * This,
  170. /* [in] */ ULONG Val);
  171. HRESULT ( STDMETHODCALLTYPE *GetNotifyFlags )(
  172. IBackgroundCopyJob3 * This,
  173. /* [out] */ ULONG *pVal);
  174. HRESULT ( STDMETHODCALLTYPE *SetNotifyInterface )(
  175. IBackgroundCopyJob3 * This,
  176. /* [in] */ IUnknown *Val);
  177. HRESULT ( STDMETHODCALLTYPE *GetNotifyInterface )(
  178. IBackgroundCopyJob3 * This,
  179. /* [out] */ IUnknown **pVal);
  180. HRESULT ( STDMETHODCALLTYPE *SetMinimumRetryDelay )(
  181. IBackgroundCopyJob3 * This,
  182. /* [in] */ ULONG Seconds);
  183. HRESULT ( STDMETHODCALLTYPE *GetMinimumRetryDelay )(
  184. IBackgroundCopyJob3 * This,
  185. /* [out] */ ULONG *Seconds);
  186. HRESULT ( STDMETHODCALLTYPE *SetNoProgressTimeout )(
  187. IBackgroundCopyJob3 * This,
  188. /* [in] */ ULONG Seconds);
  189. HRESULT ( STDMETHODCALLTYPE *GetNoProgressTimeout )(
  190. IBackgroundCopyJob3 * This,
  191. /* [out] */ ULONG *Seconds);
  192. HRESULT ( STDMETHODCALLTYPE *GetErrorCount )(
  193. IBackgroundCopyJob3 * This,
  194. /* [out] */ ULONG *Errors);
  195. HRESULT ( STDMETHODCALLTYPE *SetProxySettings )(
  196. IBackgroundCopyJob3 * This,
  197. /* [in] */ BG_JOB_PROXY_USAGE ProxyUsage,
  198. /* [unique][string][in] */ const WCHAR *ProxyList,
  199. /* [unique][string][in] */ const WCHAR *ProxyBypassList);
  200. HRESULT ( STDMETHODCALLTYPE *GetProxySettings )(
  201. IBackgroundCopyJob3 * This,
  202. /* [out] */ BG_JOB_PROXY_USAGE *pProxyUsage,
  203. /* [out] */ LPWSTR *pProxyList,
  204. /* [out] */ LPWSTR *pProxyBypassList);
  205. HRESULT ( STDMETHODCALLTYPE *TakeOwnership )(
  206. IBackgroundCopyJob3 * This);
  207. HRESULT ( STDMETHODCALLTYPE *SetNotifyCmdLine )(
  208. IBackgroundCopyJob3 * This,
  209. /* [unique][in] */ LPCWSTR Program,
  210. /* [unique][in] */ LPCWSTR Parameters);
  211. HRESULT ( STDMETHODCALLTYPE *GetNotifyCmdLine )(
  212. IBackgroundCopyJob3 * This,
  213. /* [out] */ LPWSTR *pProgram,
  214. /* [out] */ LPWSTR *pParameters);
  215. HRESULT ( STDMETHODCALLTYPE *GetReplyProgress )(
  216. IBackgroundCopyJob3 * This,
  217. /* [out][in] */ BG_JOB_REPLY_PROGRESS *pProgress);
  218. HRESULT ( STDMETHODCALLTYPE *GetReplyData )(
  219. IBackgroundCopyJob3 * This,
  220. /* [size_is][size_is][out] */ byte **ppBuffer,
  221. /* [unique][out][in] */ UINT64 *pLength);
  222. HRESULT ( STDMETHODCALLTYPE *SetReplyFileName )(
  223. IBackgroundCopyJob3 * This,
  224. /* [unique][in] */ LPCWSTR ReplyFileName);
  225. HRESULT ( STDMETHODCALLTYPE *GetReplyFileName )(
  226. IBackgroundCopyJob3 * This,
  227. /* [out] */ LPWSTR *pReplyFileName);
  228. HRESULT ( STDMETHODCALLTYPE *SetCredentials )(
  229. IBackgroundCopyJob3 * This,
  230. BG_AUTH_CREDENTIALS *credentials);
  231. HRESULT ( STDMETHODCALLTYPE *RemoveCredentials )(
  232. IBackgroundCopyJob3 * This,
  233. BG_AUTH_TARGET Target,
  234. BG_AUTH_SCHEME Scheme);
  235. HRESULT ( STDMETHODCALLTYPE *ReplaceRemotePrefix )(
  236. IBackgroundCopyJob3 * This,
  237. /* [in] */ LPCWSTR OldPrefix,
  238. /* [in] */ LPCWSTR NewPrefix);
  239. HRESULT ( STDMETHODCALLTYPE *AddFileWithRanges )(
  240. IBackgroundCopyJob3 * This,
  241. /* [in] */ LPCWSTR RemoteUrl,
  242. /* [in] */ LPCWSTR LocalName,
  243. /* [in] */ DWORD RangeCount,
  244. /* [size_is][in] */ BG_FILE_RANGE Ranges[ ]);
  245. HRESULT ( STDMETHODCALLTYPE *SetFileACLFlags )(
  246. IBackgroundCopyJob3 * This,
  247. /* [in] */ DWORD Flags);
  248. HRESULT ( STDMETHODCALLTYPE *GetFileACLFlags )(
  249. IBackgroundCopyJob3 * This,
  250. /* [ref][out] */ DWORD *Flags);
  251. END_INTERFACE
  252. } IBackgroundCopyJob3Vtbl;
  253. interface IBackgroundCopyJob3
  254. {
  255. CONST_VTBL struct IBackgroundCopyJob3Vtbl *lpVtbl;
  256. };
  257. #ifdef COBJMACROS
  258. #define IBackgroundCopyJob3_QueryInterface(This,riid,ppvObject) \
  259. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  260. #define IBackgroundCopyJob3_AddRef(This) \
  261. (This)->lpVtbl -> AddRef(This)
  262. #define IBackgroundCopyJob3_Release(This) \
  263. (This)->lpVtbl -> Release(This)
  264. #define IBackgroundCopyJob3_AddFileSet(This,cFileCount,pFileSet) \
  265. (This)->lpVtbl -> AddFileSet(This,cFileCount,pFileSet)
  266. #define IBackgroundCopyJob3_AddFile(This,RemoteUrl,LocalName) \
  267. (This)->lpVtbl -> AddFile(This,RemoteUrl,LocalName)
  268. #define IBackgroundCopyJob3_EnumFiles(This,pEnum) \
  269. (This)->lpVtbl -> EnumFiles(This,pEnum)
  270. #define IBackgroundCopyJob3_Suspend(This) \
  271. (This)->lpVtbl -> Suspend(This)
  272. #define IBackgroundCopyJob3_Resume(This) \
  273. (This)->lpVtbl -> Resume(This)
  274. #define IBackgroundCopyJob3_Cancel(This) \
  275. (This)->lpVtbl -> Cancel(This)
  276. #define IBackgroundCopyJob3_Complete(This) \
  277. (This)->lpVtbl -> Complete(This)
  278. #define IBackgroundCopyJob3_GetId(This,pVal) \
  279. (This)->lpVtbl -> GetId(This,pVal)
  280. #define IBackgroundCopyJob3_GetType(This,pVal) \
  281. (This)->lpVtbl -> GetType(This,pVal)
  282. #define IBackgroundCopyJob3_GetProgress(This,pVal) \
  283. (This)->lpVtbl -> GetProgress(This,pVal)
  284. #define IBackgroundCopyJob3_GetTimes(This,pVal) \
  285. (This)->lpVtbl -> GetTimes(This,pVal)
  286. #define IBackgroundCopyJob3_GetState(This,pVal) \
  287. (This)->lpVtbl -> GetState(This,pVal)
  288. #define IBackgroundCopyJob3_GetError(This,ppError) \
  289. (This)->lpVtbl -> GetError(This,ppError)
  290. #define IBackgroundCopyJob3_GetOwner(This,pVal) \
  291. (This)->lpVtbl -> GetOwner(This,pVal)
  292. #define IBackgroundCopyJob3_SetDisplayName(This,Val) \
  293. (This)->lpVtbl -> SetDisplayName(This,Val)
  294. #define IBackgroundCopyJob3_GetDisplayName(This,pVal) \
  295. (This)->lpVtbl -> GetDisplayName(This,pVal)
  296. #define IBackgroundCopyJob3_SetDescription(This,Val) \
  297. (This)->lpVtbl -> SetDescription(This,Val)
  298. #define IBackgroundCopyJob3_GetDescription(This,pVal) \
  299. (This)->lpVtbl -> GetDescription(This,pVal)
  300. #define IBackgroundCopyJob3_SetPriority(This,Val) \
  301. (This)->lpVtbl -> SetPriority(This,Val)
  302. #define IBackgroundCopyJob3_GetPriority(This,pVal) \
  303. (This)->lpVtbl -> GetPriority(This,pVal)
  304. #define IBackgroundCopyJob3_SetNotifyFlags(This,Val) \
  305. (This)->lpVtbl -> SetNotifyFlags(This,Val)
  306. #define IBackgroundCopyJob3_GetNotifyFlags(This,pVal) \
  307. (This)->lpVtbl -> GetNotifyFlags(This,pVal)
  308. #define IBackgroundCopyJob3_SetNotifyInterface(This,Val) \
  309. (This)->lpVtbl -> SetNotifyInterface(This,Val)
  310. #define IBackgroundCopyJob3_GetNotifyInterface(This,pVal) \
  311. (This)->lpVtbl -> GetNotifyInterface(This,pVal)
  312. #define IBackgroundCopyJob3_SetMinimumRetryDelay(This,Seconds) \
  313. (This)->lpVtbl -> SetMinimumRetryDelay(This,Seconds)
  314. #define IBackgroundCopyJob3_GetMinimumRetryDelay(This,Seconds) \
  315. (This)->lpVtbl -> GetMinimumRetryDelay(This,Seconds)
  316. #define IBackgroundCopyJob3_SetNoProgressTimeout(This,Seconds) \
  317. (This)->lpVtbl -> SetNoProgressTimeout(This,Seconds)
  318. #define IBackgroundCopyJob3_GetNoProgressTimeout(This,Seconds) \
  319. (This)->lpVtbl -> GetNoProgressTimeout(This,Seconds)
  320. #define IBackgroundCopyJob3_GetErrorCount(This,Errors) \
  321. (This)->lpVtbl -> GetErrorCount(This,Errors)
  322. #define IBackgroundCopyJob3_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) \
  323. (This)->lpVtbl -> SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList)
  324. #define IBackgroundCopyJob3_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) \
  325. (This)->lpVtbl -> GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList)
  326. #define IBackgroundCopyJob3_TakeOwnership(This) \
  327. (This)->lpVtbl -> TakeOwnership(This)
  328. #define IBackgroundCopyJob3_SetNotifyCmdLine(This,Program,Parameters) \
  329. (This)->lpVtbl -> SetNotifyCmdLine(This,Program,Parameters)
  330. #define IBackgroundCopyJob3_GetNotifyCmdLine(This,pProgram,pParameters) \
  331. (This)->lpVtbl -> GetNotifyCmdLine(This,pProgram,pParameters)
  332. #define IBackgroundCopyJob3_GetReplyProgress(This,pProgress) \
  333. (This)->lpVtbl -> GetReplyProgress(This,pProgress)
  334. #define IBackgroundCopyJob3_GetReplyData(This,ppBuffer,pLength) \
  335. (This)->lpVtbl -> GetReplyData(This,ppBuffer,pLength)
  336. #define IBackgroundCopyJob3_SetReplyFileName(This,ReplyFileName) \
  337. (This)->lpVtbl -> SetReplyFileName(This,ReplyFileName)
  338. #define IBackgroundCopyJob3_GetReplyFileName(This,pReplyFileName) \
  339. (This)->lpVtbl -> GetReplyFileName(This,pReplyFileName)
  340. #define IBackgroundCopyJob3_SetCredentials(This,credentials) \
  341. (This)->lpVtbl -> SetCredentials(This,credentials)
  342. #define IBackgroundCopyJob3_RemoveCredentials(This,Target,Scheme) \
  343. (This)->lpVtbl -> RemoveCredentials(This,Target,Scheme)
  344. #define IBackgroundCopyJob3_ReplaceRemotePrefix(This,OldPrefix,NewPrefix) \
  345. (This)->lpVtbl -> ReplaceRemotePrefix(This,OldPrefix,NewPrefix)
  346. #define IBackgroundCopyJob3_AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) \
  347. (This)->lpVtbl -> AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges)
  348. #define IBackgroundCopyJob3_SetFileACLFlags(This,Flags) \
  349. (This)->lpVtbl -> SetFileACLFlags(This,Flags)
  350. #define IBackgroundCopyJob3_GetFileACLFlags(This,Flags) \
  351. (This)->lpVtbl -> GetFileACLFlags(This,Flags)
  352. #endif /* COBJMACROS */
  353. #endif /* C style interface */
  354. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob3_ReplaceRemotePrefix_Proxy(
  355. IBackgroundCopyJob3 * This,
  356. /* [in] */ LPCWSTR OldPrefix,
  357. /* [in] */ LPCWSTR NewPrefix);
  358. void __RPC_STUB IBackgroundCopyJob3_ReplaceRemotePrefix_Stub(
  359. IRpcStubBuffer *This,
  360. IRpcChannelBuffer *_pRpcChannelBuffer,
  361. PRPC_MESSAGE _pRpcMessage,
  362. DWORD *_pdwStubPhase);
  363. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob3_AddFileWithRanges_Proxy(
  364. IBackgroundCopyJob3 * This,
  365. /* [in] */ LPCWSTR RemoteUrl,
  366. /* [in] */ LPCWSTR LocalName,
  367. /* [in] */ DWORD RangeCount,
  368. /* [size_is][in] */ BG_FILE_RANGE Ranges[ ]);
  369. void __RPC_STUB IBackgroundCopyJob3_AddFileWithRanges_Stub(
  370. IRpcStubBuffer *This,
  371. IRpcChannelBuffer *_pRpcChannelBuffer,
  372. PRPC_MESSAGE _pRpcMessage,
  373. DWORD *_pdwStubPhase);
  374. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob3_SetFileACLFlags_Proxy(
  375. IBackgroundCopyJob3 * This,
  376. /* [in] */ DWORD Flags);
  377. void __RPC_STUB IBackgroundCopyJob3_SetFileACLFlags_Stub(
  378. IRpcStubBuffer *This,
  379. IRpcChannelBuffer *_pRpcChannelBuffer,
  380. PRPC_MESSAGE _pRpcMessage,
  381. DWORD *_pdwStubPhase);
  382. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob3_GetFileACLFlags_Proxy(
  383. IBackgroundCopyJob3 * This,
  384. /* [ref][out] */ DWORD *Flags);
  385. void __RPC_STUB IBackgroundCopyJob3_GetFileACLFlags_Stub(
  386. IRpcStubBuffer *This,
  387. IRpcChannelBuffer *_pRpcChannelBuffer,
  388. PRPC_MESSAGE _pRpcMessage,
  389. DWORD *_pdwStubPhase);
  390. #endif /* __IBackgroundCopyJob3_INTERFACE_DEFINED__ */
  391. #ifndef __IBackgroundCopyFile2_INTERFACE_DEFINED__
  392. #define __IBackgroundCopyFile2_INTERFACE_DEFINED__
  393. /* interface IBackgroundCopyFile2 */
  394. /* [object][helpstring][uuid] */
  395. EXTERN_C const IID IID_IBackgroundCopyFile2;
  396. #if defined(__cplusplus) && !defined(CINTERFACE)
  397. MIDL_INTERFACE("83e81b93-0873-474d-8a8c-f2018b1a939c")
  398. IBackgroundCopyFile2 : public IBackgroundCopyFile
  399. {
  400. public:
  401. virtual HRESULT STDMETHODCALLTYPE GetFileRanges(
  402. /* [unique][out][in] */ DWORD *RangeCount,
  403. /* [size_is][size_is][out] */ BG_FILE_RANGE **Ranges) = 0;
  404. virtual HRESULT STDMETHODCALLTYPE SetRemoteName(
  405. LPCWSTR Val) = 0;
  406. };
  407. #else /* C style interface */
  408. typedef struct IBackgroundCopyFile2Vtbl
  409. {
  410. BEGIN_INTERFACE
  411. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  412. IBackgroundCopyFile2 * This,
  413. /* [in] */ REFIID riid,
  414. /* [iid_is][out] */ void **ppvObject);
  415. ULONG ( STDMETHODCALLTYPE *AddRef )(
  416. IBackgroundCopyFile2 * This);
  417. ULONG ( STDMETHODCALLTYPE *Release )(
  418. IBackgroundCopyFile2 * This);
  419. HRESULT ( STDMETHODCALLTYPE *GetRemoteName )(
  420. IBackgroundCopyFile2 * This,
  421. /* [out] */ LPWSTR *pVal);
  422. HRESULT ( STDMETHODCALLTYPE *GetLocalName )(
  423. IBackgroundCopyFile2 * This,
  424. /* [out] */ LPWSTR *pVal);
  425. HRESULT ( STDMETHODCALLTYPE *GetProgress )(
  426. IBackgroundCopyFile2 * This,
  427. /* [out] */ BG_FILE_PROGRESS *pVal);
  428. HRESULT ( STDMETHODCALLTYPE *GetFileRanges )(
  429. IBackgroundCopyFile2 * This,
  430. /* [unique][out][in] */ DWORD *RangeCount,
  431. /* [size_is][size_is][out] */ BG_FILE_RANGE **Ranges);
  432. HRESULT ( STDMETHODCALLTYPE *SetRemoteName )(
  433. IBackgroundCopyFile2 * This,
  434. LPCWSTR Val);
  435. END_INTERFACE
  436. } IBackgroundCopyFile2Vtbl;
  437. interface IBackgroundCopyFile2
  438. {
  439. CONST_VTBL struct IBackgroundCopyFile2Vtbl *lpVtbl;
  440. };
  441. #ifdef COBJMACROS
  442. #define IBackgroundCopyFile2_QueryInterface(This,riid,ppvObject) \
  443. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  444. #define IBackgroundCopyFile2_AddRef(This) \
  445. (This)->lpVtbl -> AddRef(This)
  446. #define IBackgroundCopyFile2_Release(This) \
  447. (This)->lpVtbl -> Release(This)
  448. #define IBackgroundCopyFile2_GetRemoteName(This,pVal) \
  449. (This)->lpVtbl -> GetRemoteName(This,pVal)
  450. #define IBackgroundCopyFile2_GetLocalName(This,pVal) \
  451. (This)->lpVtbl -> GetLocalName(This,pVal)
  452. #define IBackgroundCopyFile2_GetProgress(This,pVal) \
  453. (This)->lpVtbl -> GetProgress(This,pVal)
  454. #define IBackgroundCopyFile2_GetFileRanges(This,RangeCount,Ranges) \
  455. (This)->lpVtbl -> GetFileRanges(This,RangeCount,Ranges)
  456. #define IBackgroundCopyFile2_SetRemoteName(This,Val) \
  457. (This)->lpVtbl -> SetRemoteName(This,Val)
  458. #endif /* COBJMACROS */
  459. #endif /* C style interface */
  460. HRESULT STDMETHODCALLTYPE IBackgroundCopyFile2_GetFileRanges_Proxy(
  461. IBackgroundCopyFile2 * This,
  462. /* [unique][out][in] */ DWORD *RangeCount,
  463. /* [size_is][size_is][out] */ BG_FILE_RANGE **Ranges);
  464. void __RPC_STUB IBackgroundCopyFile2_GetFileRanges_Stub(
  465. IRpcStubBuffer *This,
  466. IRpcChannelBuffer *_pRpcChannelBuffer,
  467. PRPC_MESSAGE _pRpcMessage,
  468. DWORD *_pdwStubPhase);
  469. HRESULT STDMETHODCALLTYPE IBackgroundCopyFile2_SetRemoteName_Proxy(
  470. IBackgroundCopyFile2 * This,
  471. LPCWSTR Val);
  472. void __RPC_STUB IBackgroundCopyFile2_SetRemoteName_Stub(
  473. IRpcStubBuffer *This,
  474. IRpcChannelBuffer *_pRpcChannelBuffer,
  475. PRPC_MESSAGE _pRpcMessage,
  476. DWORD *_pdwStubPhase);
  477. #endif /* __IBackgroundCopyFile2_INTERFACE_DEFINED__ */
  478. #ifndef __BackgroundCopyManager2_0_LIBRARY_DEFINED__
  479. #define __BackgroundCopyManager2_0_LIBRARY_DEFINED__
  480. /* library BackgroundCopyManager2_0 */
  481. /* [version][lcid][helpstring][uuid] */
  482. EXTERN_C const IID LIBID_BackgroundCopyManager2_0;
  483. EXTERN_C const CLSID CLSID_BackgroundCopyManager2_0;
  484. #ifdef __cplusplus
  485. class DECLSPEC_UUID("6d18ad12-bde3-4393-b311-099c346e6df9")
  486. BackgroundCopyManager2_0;
  487. #endif
  488. #endif /* __BackgroundCopyManager2_0_LIBRARY_DEFINED__ */
  489. /* Additional Prototypes for ALL interfaces */
  490. /* end of Additional Prototypes */
  491. #ifdef __cplusplus
  492. }
  493. #endif
  494. #endif