Bits.h 65 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231
  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 bits.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __bits_h__
  27. #define __bits_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IBackgroundCopyFile_FWD_DEFINED__
  33. #define __IBackgroundCopyFile_FWD_DEFINED__
  34. typedef interface IBackgroundCopyFile IBackgroundCopyFile;
  35. #endif /* __IBackgroundCopyFile_FWD_DEFINED__ */
  36. #ifndef __IEnumBackgroundCopyFiles_FWD_DEFINED__
  37. #define __IEnumBackgroundCopyFiles_FWD_DEFINED__
  38. typedef interface IEnumBackgroundCopyFiles IEnumBackgroundCopyFiles;
  39. #endif /* __IEnumBackgroundCopyFiles_FWD_DEFINED__ */
  40. #ifndef __IBackgroundCopyError_FWD_DEFINED__
  41. #define __IBackgroundCopyError_FWD_DEFINED__
  42. typedef interface IBackgroundCopyError IBackgroundCopyError;
  43. #endif /* __IBackgroundCopyError_FWD_DEFINED__ */
  44. #ifndef __IBackgroundCopyJob_FWD_DEFINED__
  45. #define __IBackgroundCopyJob_FWD_DEFINED__
  46. typedef interface IBackgroundCopyJob IBackgroundCopyJob;
  47. #endif /* __IBackgroundCopyJob_FWD_DEFINED__ */
  48. #ifndef __IEnumBackgroundCopyJobs_FWD_DEFINED__
  49. #define __IEnumBackgroundCopyJobs_FWD_DEFINED__
  50. typedef interface IEnumBackgroundCopyJobs IEnumBackgroundCopyJobs;
  51. #endif /* __IEnumBackgroundCopyJobs_FWD_DEFINED__ */
  52. #ifndef __IBackgroundCopyCallback_FWD_DEFINED__
  53. #define __IBackgroundCopyCallback_FWD_DEFINED__
  54. typedef interface IBackgroundCopyCallback IBackgroundCopyCallback;
  55. #endif /* __IBackgroundCopyCallback_FWD_DEFINED__ */
  56. #ifndef __AsyncIBackgroundCopyCallback_FWD_DEFINED__
  57. #define __AsyncIBackgroundCopyCallback_FWD_DEFINED__
  58. typedef interface AsyncIBackgroundCopyCallback AsyncIBackgroundCopyCallback;
  59. #endif /* __AsyncIBackgroundCopyCallback_FWD_DEFINED__ */
  60. #ifndef __IBackgroundCopyManager_FWD_DEFINED__
  61. #define __IBackgroundCopyManager_FWD_DEFINED__
  62. typedef interface IBackgroundCopyManager IBackgroundCopyManager;
  63. #endif /* __IBackgroundCopyManager_FWD_DEFINED__ */
  64. #ifndef __BackgroundCopyManager_FWD_DEFINED__
  65. #define __BackgroundCopyManager_FWD_DEFINED__
  66. #ifdef __cplusplus
  67. typedef class BackgroundCopyManager BackgroundCopyManager;
  68. #else
  69. typedef struct BackgroundCopyManager BackgroundCopyManager;
  70. #endif /* __cplusplus */
  71. #endif /* __BackgroundCopyManager_FWD_DEFINED__ */
  72. #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_AUTODETECT = BG_JOB_PROXY_USAGE_OVERRIDE + 1
  483. } BG_JOB_PROXY_USAGE;
  484. EXTERN_C const IID IID_IBackgroundCopyJob;
  485. #if defined(__cplusplus) && !defined(CINTERFACE)
  486. MIDL_INTERFACE("37668d37-507e-4160-9316-26306d150b12")
  487. IBackgroundCopyJob : public IUnknown
  488. {
  489. public:
  490. virtual HRESULT STDMETHODCALLTYPE AddFileSet(
  491. /* [in] */ ULONG cFileCount,
  492. /* [size_is][in] */ BG_FILE_INFO *pFileSet) = 0;
  493. virtual HRESULT STDMETHODCALLTYPE AddFile(
  494. /* [in] */ LPCWSTR RemoteUrl,
  495. /* [in] */ LPCWSTR LocalName) = 0;
  496. virtual HRESULT STDMETHODCALLTYPE EnumFiles(
  497. /* [out] */ IEnumBackgroundCopyFiles **pEnum) = 0;
  498. virtual HRESULT STDMETHODCALLTYPE Suspend( void) = 0;
  499. virtual HRESULT STDMETHODCALLTYPE Resume( void) = 0;
  500. virtual HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  501. virtual HRESULT STDMETHODCALLTYPE Complete( void) = 0;
  502. virtual HRESULT STDMETHODCALLTYPE GetId(
  503. /* [out] */ GUID *pVal) = 0;
  504. virtual HRESULT STDMETHODCALLTYPE GetType(
  505. /* [out] */ BG_JOB_TYPE *pVal) = 0;
  506. virtual HRESULT STDMETHODCALLTYPE GetProgress(
  507. /* [out] */ BG_JOB_PROGRESS *pVal) = 0;
  508. virtual HRESULT STDMETHODCALLTYPE GetTimes(
  509. /* [out] */ BG_JOB_TIMES *pVal) = 0;
  510. virtual HRESULT STDMETHODCALLTYPE GetState(
  511. /* [out] */ BG_JOB_STATE *pVal) = 0;
  512. virtual HRESULT STDMETHODCALLTYPE GetError(
  513. /* [out] */ IBackgroundCopyError **ppError) = 0;
  514. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  515. /* [out] */ LPWSTR *pVal) = 0;
  516. virtual HRESULT STDMETHODCALLTYPE SetDisplayName(
  517. /* [in] */ LPCWSTR Val) = 0;
  518. virtual HRESULT STDMETHODCALLTYPE GetDisplayName(
  519. /* [out] */ LPWSTR *pVal) = 0;
  520. virtual HRESULT STDMETHODCALLTYPE SetDescription(
  521. /* [in] */ LPCWSTR Val) = 0;
  522. virtual HRESULT STDMETHODCALLTYPE GetDescription(
  523. /* [out] */ LPWSTR *pVal) = 0;
  524. virtual HRESULT STDMETHODCALLTYPE SetPriority(
  525. /* [in] */ BG_JOB_PRIORITY Val) = 0;
  526. virtual HRESULT STDMETHODCALLTYPE GetPriority(
  527. /* [out] */ BG_JOB_PRIORITY *pVal) = 0;
  528. virtual HRESULT STDMETHODCALLTYPE SetNotifyFlags(
  529. /* [in] */ ULONG Val) = 0;
  530. virtual HRESULT STDMETHODCALLTYPE GetNotifyFlags(
  531. /* [out] */ ULONG *pVal) = 0;
  532. virtual HRESULT STDMETHODCALLTYPE SetNotifyInterface(
  533. /* [in] */ IUnknown *Val) = 0;
  534. virtual HRESULT STDMETHODCALLTYPE GetNotifyInterface(
  535. /* [out] */ IUnknown **pVal) = 0;
  536. virtual HRESULT STDMETHODCALLTYPE SetMinimumRetryDelay(
  537. /* [in] */ ULONG Seconds) = 0;
  538. virtual HRESULT STDMETHODCALLTYPE GetMinimumRetryDelay(
  539. /* [out] */ ULONG *Seconds) = 0;
  540. virtual HRESULT STDMETHODCALLTYPE SetNoProgressTimeout(
  541. /* [in] */ ULONG Seconds) = 0;
  542. virtual HRESULT STDMETHODCALLTYPE GetNoProgressTimeout(
  543. /* [out] */ ULONG *Seconds) = 0;
  544. virtual HRESULT STDMETHODCALLTYPE GetErrorCount(
  545. /* [out] */ ULONG *Errors) = 0;
  546. virtual HRESULT STDMETHODCALLTYPE SetProxySettings(
  547. /* [in] */ BG_JOB_PROXY_USAGE ProxyUsage,
  548. /* [unique][string][in] */ const WCHAR *ProxyList,
  549. /* [unique][string][in] */ const WCHAR *ProxyBypassList) = 0;
  550. virtual HRESULT STDMETHODCALLTYPE GetProxySettings(
  551. /* [out] */ BG_JOB_PROXY_USAGE *pProxyUsage,
  552. /* [out] */ LPWSTR *pProxyList,
  553. /* [out] */ LPWSTR *pProxyBypassList) = 0;
  554. virtual HRESULT STDMETHODCALLTYPE TakeOwnership( void) = 0;
  555. };
  556. #else /* C style interface */
  557. typedef struct IBackgroundCopyJobVtbl
  558. {
  559. BEGIN_INTERFACE
  560. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  561. IBackgroundCopyJob * This,
  562. /* [in] */ REFIID riid,
  563. /* [iid_is][out] */ void **ppvObject);
  564. ULONG ( STDMETHODCALLTYPE *AddRef )(
  565. IBackgroundCopyJob * This);
  566. ULONG ( STDMETHODCALLTYPE *Release )(
  567. IBackgroundCopyJob * This);
  568. HRESULT ( STDMETHODCALLTYPE *AddFileSet )(
  569. IBackgroundCopyJob * This,
  570. /* [in] */ ULONG cFileCount,
  571. /* [size_is][in] */ BG_FILE_INFO *pFileSet);
  572. HRESULT ( STDMETHODCALLTYPE *AddFile )(
  573. IBackgroundCopyJob * This,
  574. /* [in] */ LPCWSTR RemoteUrl,
  575. /* [in] */ LPCWSTR LocalName);
  576. HRESULT ( STDMETHODCALLTYPE *EnumFiles )(
  577. IBackgroundCopyJob * This,
  578. /* [out] */ IEnumBackgroundCopyFiles **pEnum);
  579. HRESULT ( STDMETHODCALLTYPE *Suspend )(
  580. IBackgroundCopyJob * This);
  581. HRESULT ( STDMETHODCALLTYPE *Resume )(
  582. IBackgroundCopyJob * This);
  583. HRESULT ( STDMETHODCALLTYPE *Cancel )(
  584. IBackgroundCopyJob * This);
  585. HRESULT ( STDMETHODCALLTYPE *Complete )(
  586. IBackgroundCopyJob * This);
  587. HRESULT ( STDMETHODCALLTYPE *GetId )(
  588. IBackgroundCopyJob * This,
  589. /* [out] */ GUID *pVal);
  590. HRESULT ( STDMETHODCALLTYPE *GetType )(
  591. IBackgroundCopyJob * This,
  592. /* [out] */ BG_JOB_TYPE *pVal);
  593. HRESULT ( STDMETHODCALLTYPE *GetProgress )(
  594. IBackgroundCopyJob * This,
  595. /* [out] */ BG_JOB_PROGRESS *pVal);
  596. HRESULT ( STDMETHODCALLTYPE *GetTimes )(
  597. IBackgroundCopyJob * This,
  598. /* [out] */ BG_JOB_TIMES *pVal);
  599. HRESULT ( STDMETHODCALLTYPE *GetState )(
  600. IBackgroundCopyJob * This,
  601. /* [out] */ BG_JOB_STATE *pVal);
  602. HRESULT ( STDMETHODCALLTYPE *GetError )(
  603. IBackgroundCopyJob * This,
  604. /* [out] */ IBackgroundCopyError **ppError);
  605. HRESULT ( STDMETHODCALLTYPE *GetOwner )(
  606. IBackgroundCopyJob * This,
  607. /* [out] */ LPWSTR *pVal);
  608. HRESULT ( STDMETHODCALLTYPE *SetDisplayName )(
  609. IBackgroundCopyJob * This,
  610. /* [in] */ LPCWSTR Val);
  611. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  612. IBackgroundCopyJob * This,
  613. /* [out] */ LPWSTR *pVal);
  614. HRESULT ( STDMETHODCALLTYPE *SetDescription )(
  615. IBackgroundCopyJob * This,
  616. /* [in] */ LPCWSTR Val);
  617. HRESULT ( STDMETHODCALLTYPE *GetDescription )(
  618. IBackgroundCopyJob * This,
  619. /* [out] */ LPWSTR *pVal);
  620. HRESULT ( STDMETHODCALLTYPE *SetPriority )(
  621. IBackgroundCopyJob * This,
  622. /* [in] */ BG_JOB_PRIORITY Val);
  623. HRESULT ( STDMETHODCALLTYPE *GetPriority )(
  624. IBackgroundCopyJob * This,
  625. /* [out] */ BG_JOB_PRIORITY *pVal);
  626. HRESULT ( STDMETHODCALLTYPE *SetNotifyFlags )(
  627. IBackgroundCopyJob * This,
  628. /* [in] */ ULONG Val);
  629. HRESULT ( STDMETHODCALLTYPE *GetNotifyFlags )(
  630. IBackgroundCopyJob * This,
  631. /* [out] */ ULONG *pVal);
  632. HRESULT ( STDMETHODCALLTYPE *SetNotifyInterface )(
  633. IBackgroundCopyJob * This,
  634. /* [in] */ IUnknown *Val);
  635. HRESULT ( STDMETHODCALLTYPE *GetNotifyInterface )(
  636. IBackgroundCopyJob * This,
  637. /* [out] */ IUnknown **pVal);
  638. HRESULT ( STDMETHODCALLTYPE *SetMinimumRetryDelay )(
  639. IBackgroundCopyJob * This,
  640. /* [in] */ ULONG Seconds);
  641. HRESULT ( STDMETHODCALLTYPE *GetMinimumRetryDelay )(
  642. IBackgroundCopyJob * This,
  643. /* [out] */ ULONG *Seconds);
  644. HRESULT ( STDMETHODCALLTYPE *SetNoProgressTimeout )(
  645. IBackgroundCopyJob * This,
  646. /* [in] */ ULONG Seconds);
  647. HRESULT ( STDMETHODCALLTYPE *GetNoProgressTimeout )(
  648. IBackgroundCopyJob * This,
  649. /* [out] */ ULONG *Seconds);
  650. HRESULT ( STDMETHODCALLTYPE *GetErrorCount )(
  651. IBackgroundCopyJob * This,
  652. /* [out] */ ULONG *Errors);
  653. HRESULT ( STDMETHODCALLTYPE *SetProxySettings )(
  654. IBackgroundCopyJob * This,
  655. /* [in] */ BG_JOB_PROXY_USAGE ProxyUsage,
  656. /* [unique][string][in] */ const WCHAR *ProxyList,
  657. /* [unique][string][in] */ const WCHAR *ProxyBypassList);
  658. HRESULT ( STDMETHODCALLTYPE *GetProxySettings )(
  659. IBackgroundCopyJob * This,
  660. /* [out] */ BG_JOB_PROXY_USAGE *pProxyUsage,
  661. /* [out] */ LPWSTR *pProxyList,
  662. /* [out] */ LPWSTR *pProxyBypassList);
  663. HRESULT ( STDMETHODCALLTYPE *TakeOwnership )(
  664. IBackgroundCopyJob * This);
  665. END_INTERFACE
  666. } IBackgroundCopyJobVtbl;
  667. interface IBackgroundCopyJob
  668. {
  669. CONST_VTBL struct IBackgroundCopyJobVtbl *lpVtbl;
  670. };
  671. #ifdef COBJMACROS
  672. #define IBackgroundCopyJob_QueryInterface(This,riid,ppvObject) \
  673. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  674. #define IBackgroundCopyJob_AddRef(This) \
  675. (This)->lpVtbl -> AddRef(This)
  676. #define IBackgroundCopyJob_Release(This) \
  677. (This)->lpVtbl -> Release(This)
  678. #define IBackgroundCopyJob_AddFileSet(This,cFileCount,pFileSet) \
  679. (This)->lpVtbl -> AddFileSet(This,cFileCount,pFileSet)
  680. #define IBackgroundCopyJob_AddFile(This,RemoteUrl,LocalName) \
  681. (This)->lpVtbl -> AddFile(This,RemoteUrl,LocalName)
  682. #define IBackgroundCopyJob_EnumFiles(This,pEnum) \
  683. (This)->lpVtbl -> EnumFiles(This,pEnum)
  684. #define IBackgroundCopyJob_Suspend(This) \
  685. (This)->lpVtbl -> Suspend(This)
  686. #define IBackgroundCopyJob_Resume(This) \
  687. (This)->lpVtbl -> Resume(This)
  688. #define IBackgroundCopyJob_Cancel(This) \
  689. (This)->lpVtbl -> Cancel(This)
  690. #define IBackgroundCopyJob_Complete(This) \
  691. (This)->lpVtbl -> Complete(This)
  692. #define IBackgroundCopyJob_GetId(This,pVal) \
  693. (This)->lpVtbl -> GetId(This,pVal)
  694. #define IBackgroundCopyJob_GetType(This,pVal) \
  695. (This)->lpVtbl -> GetType(This,pVal)
  696. #define IBackgroundCopyJob_GetProgress(This,pVal) \
  697. (This)->lpVtbl -> GetProgress(This,pVal)
  698. #define IBackgroundCopyJob_GetTimes(This,pVal) \
  699. (This)->lpVtbl -> GetTimes(This,pVal)
  700. #define IBackgroundCopyJob_GetState(This,pVal) \
  701. (This)->lpVtbl -> GetState(This,pVal)
  702. #define IBackgroundCopyJob_GetError(This,ppError) \
  703. (This)->lpVtbl -> GetError(This,ppError)
  704. #define IBackgroundCopyJob_GetOwner(This,pVal) \
  705. (This)->lpVtbl -> GetOwner(This,pVal)
  706. #define IBackgroundCopyJob_SetDisplayName(This,Val) \
  707. (This)->lpVtbl -> SetDisplayName(This,Val)
  708. #define IBackgroundCopyJob_GetDisplayName(This,pVal) \
  709. (This)->lpVtbl -> GetDisplayName(This,pVal)
  710. #define IBackgroundCopyJob_SetDescription(This,Val) \
  711. (This)->lpVtbl -> SetDescription(This,Val)
  712. #define IBackgroundCopyJob_GetDescription(This,pVal) \
  713. (This)->lpVtbl -> GetDescription(This,pVal)
  714. #define IBackgroundCopyJob_SetPriority(This,Val) \
  715. (This)->lpVtbl -> SetPriority(This,Val)
  716. #define IBackgroundCopyJob_GetPriority(This,pVal) \
  717. (This)->lpVtbl -> GetPriority(This,pVal)
  718. #define IBackgroundCopyJob_SetNotifyFlags(This,Val) \
  719. (This)->lpVtbl -> SetNotifyFlags(This,Val)
  720. #define IBackgroundCopyJob_GetNotifyFlags(This,pVal) \
  721. (This)->lpVtbl -> GetNotifyFlags(This,pVal)
  722. #define IBackgroundCopyJob_SetNotifyInterface(This,Val) \
  723. (This)->lpVtbl -> SetNotifyInterface(This,Val)
  724. #define IBackgroundCopyJob_GetNotifyInterface(This,pVal) \
  725. (This)->lpVtbl -> GetNotifyInterface(This,pVal)
  726. #define IBackgroundCopyJob_SetMinimumRetryDelay(This,Seconds) \
  727. (This)->lpVtbl -> SetMinimumRetryDelay(This,Seconds)
  728. #define IBackgroundCopyJob_GetMinimumRetryDelay(This,Seconds) \
  729. (This)->lpVtbl -> GetMinimumRetryDelay(This,Seconds)
  730. #define IBackgroundCopyJob_SetNoProgressTimeout(This,Seconds) \
  731. (This)->lpVtbl -> SetNoProgressTimeout(This,Seconds)
  732. #define IBackgroundCopyJob_GetNoProgressTimeout(This,Seconds) \
  733. (This)->lpVtbl -> GetNoProgressTimeout(This,Seconds)
  734. #define IBackgroundCopyJob_GetErrorCount(This,Errors) \
  735. (This)->lpVtbl -> GetErrorCount(This,Errors)
  736. #define IBackgroundCopyJob_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) \
  737. (This)->lpVtbl -> SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList)
  738. #define IBackgroundCopyJob_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) \
  739. (This)->lpVtbl -> GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList)
  740. #define IBackgroundCopyJob_TakeOwnership(This) \
  741. (This)->lpVtbl -> TakeOwnership(This)
  742. #endif /* COBJMACROS */
  743. #endif /* C style interface */
  744. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_AddFileSet_Proxy(
  745. IBackgroundCopyJob * This,
  746. /* [in] */ ULONG cFileCount,
  747. /* [size_is][in] */ BG_FILE_INFO *pFileSet);
  748. void __RPC_STUB IBackgroundCopyJob_AddFileSet_Stub(
  749. IRpcStubBuffer *This,
  750. IRpcChannelBuffer *_pRpcChannelBuffer,
  751. PRPC_MESSAGE _pRpcMessage,
  752. DWORD *_pdwStubPhase);
  753. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_AddFile_Proxy(
  754. IBackgroundCopyJob * This,
  755. /* [in] */ LPCWSTR RemoteUrl,
  756. /* [in] */ LPCWSTR LocalName);
  757. void __RPC_STUB IBackgroundCopyJob_AddFile_Stub(
  758. IRpcStubBuffer *This,
  759. IRpcChannelBuffer *_pRpcChannelBuffer,
  760. PRPC_MESSAGE _pRpcMessage,
  761. DWORD *_pdwStubPhase);
  762. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_EnumFiles_Proxy(
  763. IBackgroundCopyJob * This,
  764. /* [out] */ IEnumBackgroundCopyFiles **pEnum);
  765. void __RPC_STUB IBackgroundCopyJob_EnumFiles_Stub(
  766. IRpcStubBuffer *This,
  767. IRpcChannelBuffer *_pRpcChannelBuffer,
  768. PRPC_MESSAGE _pRpcMessage,
  769. DWORD *_pdwStubPhase);
  770. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_Suspend_Proxy(
  771. IBackgroundCopyJob * This);
  772. void __RPC_STUB IBackgroundCopyJob_Suspend_Stub(
  773. IRpcStubBuffer *This,
  774. IRpcChannelBuffer *_pRpcChannelBuffer,
  775. PRPC_MESSAGE _pRpcMessage,
  776. DWORD *_pdwStubPhase);
  777. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_Resume_Proxy(
  778. IBackgroundCopyJob * This);
  779. void __RPC_STUB IBackgroundCopyJob_Resume_Stub(
  780. IRpcStubBuffer *This,
  781. IRpcChannelBuffer *_pRpcChannelBuffer,
  782. PRPC_MESSAGE _pRpcMessage,
  783. DWORD *_pdwStubPhase);
  784. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_Cancel_Proxy(
  785. IBackgroundCopyJob * This);
  786. void __RPC_STUB IBackgroundCopyJob_Cancel_Stub(
  787. IRpcStubBuffer *This,
  788. IRpcChannelBuffer *_pRpcChannelBuffer,
  789. PRPC_MESSAGE _pRpcMessage,
  790. DWORD *_pdwStubPhase);
  791. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_Complete_Proxy(
  792. IBackgroundCopyJob * This);
  793. void __RPC_STUB IBackgroundCopyJob_Complete_Stub(
  794. IRpcStubBuffer *This,
  795. IRpcChannelBuffer *_pRpcChannelBuffer,
  796. PRPC_MESSAGE _pRpcMessage,
  797. DWORD *_pdwStubPhase);
  798. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetId_Proxy(
  799. IBackgroundCopyJob * This,
  800. /* [out] */ GUID *pVal);
  801. void __RPC_STUB IBackgroundCopyJob_GetId_Stub(
  802. IRpcStubBuffer *This,
  803. IRpcChannelBuffer *_pRpcChannelBuffer,
  804. PRPC_MESSAGE _pRpcMessage,
  805. DWORD *_pdwStubPhase);
  806. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetType_Proxy(
  807. IBackgroundCopyJob * This,
  808. /* [out] */ BG_JOB_TYPE *pVal);
  809. void __RPC_STUB IBackgroundCopyJob_GetType_Stub(
  810. IRpcStubBuffer *This,
  811. IRpcChannelBuffer *_pRpcChannelBuffer,
  812. PRPC_MESSAGE _pRpcMessage,
  813. DWORD *_pdwStubPhase);
  814. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetProgress_Proxy(
  815. IBackgroundCopyJob * This,
  816. /* [out] */ BG_JOB_PROGRESS *pVal);
  817. void __RPC_STUB IBackgroundCopyJob_GetProgress_Stub(
  818. IRpcStubBuffer *This,
  819. IRpcChannelBuffer *_pRpcChannelBuffer,
  820. PRPC_MESSAGE _pRpcMessage,
  821. DWORD *_pdwStubPhase);
  822. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetTimes_Proxy(
  823. IBackgroundCopyJob * This,
  824. /* [out] */ BG_JOB_TIMES *pVal);
  825. void __RPC_STUB IBackgroundCopyJob_GetTimes_Stub(
  826. IRpcStubBuffer *This,
  827. IRpcChannelBuffer *_pRpcChannelBuffer,
  828. PRPC_MESSAGE _pRpcMessage,
  829. DWORD *_pdwStubPhase);
  830. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetState_Proxy(
  831. IBackgroundCopyJob * This,
  832. /* [out] */ BG_JOB_STATE *pVal);
  833. void __RPC_STUB IBackgroundCopyJob_GetState_Stub(
  834. IRpcStubBuffer *This,
  835. IRpcChannelBuffer *_pRpcChannelBuffer,
  836. PRPC_MESSAGE _pRpcMessage,
  837. DWORD *_pdwStubPhase);
  838. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetError_Proxy(
  839. IBackgroundCopyJob * This,
  840. /* [out] */ IBackgroundCopyError **ppError);
  841. void __RPC_STUB IBackgroundCopyJob_GetError_Stub(
  842. IRpcStubBuffer *This,
  843. IRpcChannelBuffer *_pRpcChannelBuffer,
  844. PRPC_MESSAGE _pRpcMessage,
  845. DWORD *_pdwStubPhase);
  846. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetOwner_Proxy(
  847. IBackgroundCopyJob * This,
  848. /* [out] */ LPWSTR *pVal);
  849. void __RPC_STUB IBackgroundCopyJob_GetOwner_Stub(
  850. IRpcStubBuffer *This,
  851. IRpcChannelBuffer *_pRpcChannelBuffer,
  852. PRPC_MESSAGE _pRpcMessage,
  853. DWORD *_pdwStubPhase);
  854. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetDisplayName_Proxy(
  855. IBackgroundCopyJob * This,
  856. /* [in] */ LPCWSTR Val);
  857. void __RPC_STUB IBackgroundCopyJob_SetDisplayName_Stub(
  858. IRpcStubBuffer *This,
  859. IRpcChannelBuffer *_pRpcChannelBuffer,
  860. PRPC_MESSAGE _pRpcMessage,
  861. DWORD *_pdwStubPhase);
  862. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetDisplayName_Proxy(
  863. IBackgroundCopyJob * This,
  864. /* [out] */ LPWSTR *pVal);
  865. void __RPC_STUB IBackgroundCopyJob_GetDisplayName_Stub(
  866. IRpcStubBuffer *This,
  867. IRpcChannelBuffer *_pRpcChannelBuffer,
  868. PRPC_MESSAGE _pRpcMessage,
  869. DWORD *_pdwStubPhase);
  870. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetDescription_Proxy(
  871. IBackgroundCopyJob * This,
  872. /* [in] */ LPCWSTR Val);
  873. void __RPC_STUB IBackgroundCopyJob_SetDescription_Stub(
  874. IRpcStubBuffer *This,
  875. IRpcChannelBuffer *_pRpcChannelBuffer,
  876. PRPC_MESSAGE _pRpcMessage,
  877. DWORD *_pdwStubPhase);
  878. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetDescription_Proxy(
  879. IBackgroundCopyJob * This,
  880. /* [out] */ LPWSTR *pVal);
  881. void __RPC_STUB IBackgroundCopyJob_GetDescription_Stub(
  882. IRpcStubBuffer *This,
  883. IRpcChannelBuffer *_pRpcChannelBuffer,
  884. PRPC_MESSAGE _pRpcMessage,
  885. DWORD *_pdwStubPhase);
  886. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetPriority_Proxy(
  887. IBackgroundCopyJob * This,
  888. /* [in] */ BG_JOB_PRIORITY Val);
  889. void __RPC_STUB IBackgroundCopyJob_SetPriority_Stub(
  890. IRpcStubBuffer *This,
  891. IRpcChannelBuffer *_pRpcChannelBuffer,
  892. PRPC_MESSAGE _pRpcMessage,
  893. DWORD *_pdwStubPhase);
  894. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetPriority_Proxy(
  895. IBackgroundCopyJob * This,
  896. /* [out] */ BG_JOB_PRIORITY *pVal);
  897. void __RPC_STUB IBackgroundCopyJob_GetPriority_Stub(
  898. IRpcStubBuffer *This,
  899. IRpcChannelBuffer *_pRpcChannelBuffer,
  900. PRPC_MESSAGE _pRpcMessage,
  901. DWORD *_pdwStubPhase);
  902. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetNotifyFlags_Proxy(
  903. IBackgroundCopyJob * This,
  904. /* [in] */ ULONG Val);
  905. void __RPC_STUB IBackgroundCopyJob_SetNotifyFlags_Stub(
  906. IRpcStubBuffer *This,
  907. IRpcChannelBuffer *_pRpcChannelBuffer,
  908. PRPC_MESSAGE _pRpcMessage,
  909. DWORD *_pdwStubPhase);
  910. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetNotifyFlags_Proxy(
  911. IBackgroundCopyJob * This,
  912. /* [out] */ ULONG *pVal);
  913. void __RPC_STUB IBackgroundCopyJob_GetNotifyFlags_Stub(
  914. IRpcStubBuffer *This,
  915. IRpcChannelBuffer *_pRpcChannelBuffer,
  916. PRPC_MESSAGE _pRpcMessage,
  917. DWORD *_pdwStubPhase);
  918. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetNotifyInterface_Proxy(
  919. IBackgroundCopyJob * This,
  920. /* [in] */ IUnknown *Val);
  921. void __RPC_STUB IBackgroundCopyJob_SetNotifyInterface_Stub(
  922. IRpcStubBuffer *This,
  923. IRpcChannelBuffer *_pRpcChannelBuffer,
  924. PRPC_MESSAGE _pRpcMessage,
  925. DWORD *_pdwStubPhase);
  926. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetNotifyInterface_Proxy(
  927. IBackgroundCopyJob * This,
  928. /* [out] */ IUnknown **pVal);
  929. void __RPC_STUB IBackgroundCopyJob_GetNotifyInterface_Stub(
  930. IRpcStubBuffer *This,
  931. IRpcChannelBuffer *_pRpcChannelBuffer,
  932. PRPC_MESSAGE _pRpcMessage,
  933. DWORD *_pdwStubPhase);
  934. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetMinimumRetryDelay_Proxy(
  935. IBackgroundCopyJob * This,
  936. /* [in] */ ULONG Seconds);
  937. void __RPC_STUB IBackgroundCopyJob_SetMinimumRetryDelay_Stub(
  938. IRpcStubBuffer *This,
  939. IRpcChannelBuffer *_pRpcChannelBuffer,
  940. PRPC_MESSAGE _pRpcMessage,
  941. DWORD *_pdwStubPhase);
  942. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetMinimumRetryDelay_Proxy(
  943. IBackgroundCopyJob * This,
  944. /* [out] */ ULONG *Seconds);
  945. void __RPC_STUB IBackgroundCopyJob_GetMinimumRetryDelay_Stub(
  946. IRpcStubBuffer *This,
  947. IRpcChannelBuffer *_pRpcChannelBuffer,
  948. PRPC_MESSAGE _pRpcMessage,
  949. DWORD *_pdwStubPhase);
  950. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetNoProgressTimeout_Proxy(
  951. IBackgroundCopyJob * This,
  952. /* [in] */ ULONG Seconds);
  953. void __RPC_STUB IBackgroundCopyJob_SetNoProgressTimeout_Stub(
  954. IRpcStubBuffer *This,
  955. IRpcChannelBuffer *_pRpcChannelBuffer,
  956. PRPC_MESSAGE _pRpcMessage,
  957. DWORD *_pdwStubPhase);
  958. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetNoProgressTimeout_Proxy(
  959. IBackgroundCopyJob * This,
  960. /* [out] */ ULONG *Seconds);
  961. void __RPC_STUB IBackgroundCopyJob_GetNoProgressTimeout_Stub(
  962. IRpcStubBuffer *This,
  963. IRpcChannelBuffer *_pRpcChannelBuffer,
  964. PRPC_MESSAGE _pRpcMessage,
  965. DWORD *_pdwStubPhase);
  966. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetErrorCount_Proxy(
  967. IBackgroundCopyJob * This,
  968. /* [out] */ ULONG *Errors);
  969. void __RPC_STUB IBackgroundCopyJob_GetErrorCount_Stub(
  970. IRpcStubBuffer *This,
  971. IRpcChannelBuffer *_pRpcChannelBuffer,
  972. PRPC_MESSAGE _pRpcMessage,
  973. DWORD *_pdwStubPhase);
  974. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_SetProxySettings_Proxy(
  975. IBackgroundCopyJob * This,
  976. /* [in] */ BG_JOB_PROXY_USAGE ProxyUsage,
  977. /* [unique][string][in] */ const WCHAR *ProxyList,
  978. /* [unique][string][in] */ const WCHAR *ProxyBypassList);
  979. void __RPC_STUB IBackgroundCopyJob_SetProxySettings_Stub(
  980. IRpcStubBuffer *This,
  981. IRpcChannelBuffer *_pRpcChannelBuffer,
  982. PRPC_MESSAGE _pRpcMessage,
  983. DWORD *_pdwStubPhase);
  984. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_GetProxySettings_Proxy(
  985. IBackgroundCopyJob * This,
  986. /* [out] */ BG_JOB_PROXY_USAGE *pProxyUsage,
  987. /* [out] */ LPWSTR *pProxyList,
  988. /* [out] */ LPWSTR *pProxyBypassList);
  989. void __RPC_STUB IBackgroundCopyJob_GetProxySettings_Stub(
  990. IRpcStubBuffer *This,
  991. IRpcChannelBuffer *_pRpcChannelBuffer,
  992. PRPC_MESSAGE _pRpcMessage,
  993. DWORD *_pdwStubPhase);
  994. HRESULT STDMETHODCALLTYPE IBackgroundCopyJob_TakeOwnership_Proxy(
  995. IBackgroundCopyJob * This);
  996. void __RPC_STUB IBackgroundCopyJob_TakeOwnership_Stub(
  997. IRpcStubBuffer *This,
  998. IRpcChannelBuffer *_pRpcChannelBuffer,
  999. PRPC_MESSAGE _pRpcMessage,
  1000. DWORD *_pdwStubPhase);
  1001. #endif /* __IBackgroundCopyJob_INTERFACE_DEFINED__ */
  1002. #ifndef __IEnumBackgroundCopyJobs_INTERFACE_DEFINED__
  1003. #define __IEnumBackgroundCopyJobs_INTERFACE_DEFINED__
  1004. /* interface IEnumBackgroundCopyJobs */
  1005. /* [object][helpstring][uuid] */
  1006. EXTERN_C const IID IID_IEnumBackgroundCopyJobs;
  1007. #if defined(__cplusplus) && !defined(CINTERFACE)
  1008. MIDL_INTERFACE("1af4f612-3b71-466f-8f58-7b6f73ac57ad")
  1009. IEnumBackgroundCopyJobs : public IUnknown
  1010. {
  1011. public:
  1012. virtual HRESULT STDMETHODCALLTYPE Next(
  1013. /* [in] */ ULONG celt,
  1014. /* [length_is][size_is][out] */ IBackgroundCopyJob **rgelt,
  1015. /* [unique][out][in] */ ULONG *pceltFetched) = 0;
  1016. virtual HRESULT STDMETHODCALLTYPE Skip(
  1017. /* [in] */ ULONG celt) = 0;
  1018. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1019. virtual HRESULT STDMETHODCALLTYPE Clone(
  1020. /* [out] */ IEnumBackgroundCopyJobs **ppenum) = 0;
  1021. virtual HRESULT STDMETHODCALLTYPE GetCount(
  1022. /* [out] */ ULONG *puCount) = 0;
  1023. };
  1024. #else /* C style interface */
  1025. typedef struct IEnumBackgroundCopyJobsVtbl
  1026. {
  1027. BEGIN_INTERFACE
  1028. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1029. IEnumBackgroundCopyJobs * This,
  1030. /* [in] */ REFIID riid,
  1031. /* [iid_is][out] */ void **ppvObject);
  1032. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1033. IEnumBackgroundCopyJobs * This);
  1034. ULONG ( STDMETHODCALLTYPE *Release )(
  1035. IEnumBackgroundCopyJobs * This);
  1036. HRESULT ( STDMETHODCALLTYPE *Next )(
  1037. IEnumBackgroundCopyJobs * This,
  1038. /* [in] */ ULONG celt,
  1039. /* [length_is][size_is][out] */ IBackgroundCopyJob **rgelt,
  1040. /* [unique][out][in] */ ULONG *pceltFetched);
  1041. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1042. IEnumBackgroundCopyJobs * This,
  1043. /* [in] */ ULONG celt);
  1044. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1045. IEnumBackgroundCopyJobs * This);
  1046. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1047. IEnumBackgroundCopyJobs * This,
  1048. /* [out] */ IEnumBackgroundCopyJobs **ppenum);
  1049. HRESULT ( STDMETHODCALLTYPE *GetCount )(
  1050. IEnumBackgroundCopyJobs * This,
  1051. /* [out] */ ULONG *puCount);
  1052. END_INTERFACE
  1053. } IEnumBackgroundCopyJobsVtbl;
  1054. interface IEnumBackgroundCopyJobs
  1055. {
  1056. CONST_VTBL struct IEnumBackgroundCopyJobsVtbl *lpVtbl;
  1057. };
  1058. #ifdef COBJMACROS
  1059. #define IEnumBackgroundCopyJobs_QueryInterface(This,riid,ppvObject) \
  1060. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1061. #define IEnumBackgroundCopyJobs_AddRef(This) \
  1062. (This)->lpVtbl -> AddRef(This)
  1063. #define IEnumBackgroundCopyJobs_Release(This) \
  1064. (This)->lpVtbl -> Release(This)
  1065. #define IEnumBackgroundCopyJobs_Next(This,celt,rgelt,pceltFetched) \
  1066. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1067. #define IEnumBackgroundCopyJobs_Skip(This,celt) \
  1068. (This)->lpVtbl -> Skip(This,celt)
  1069. #define IEnumBackgroundCopyJobs_Reset(This) \
  1070. (This)->lpVtbl -> Reset(This)
  1071. #define IEnumBackgroundCopyJobs_Clone(This,ppenum) \
  1072. (This)->lpVtbl -> Clone(This,ppenum)
  1073. #define IEnumBackgroundCopyJobs_GetCount(This,puCount) \
  1074. (This)->lpVtbl -> GetCount(This,puCount)
  1075. #endif /* COBJMACROS */
  1076. #endif /* C style interface */
  1077. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs_Next_Proxy(
  1078. IEnumBackgroundCopyJobs * This,
  1079. /* [in] */ ULONG celt,
  1080. /* [length_is][size_is][out] */ IBackgroundCopyJob **rgelt,
  1081. /* [unique][out][in] */ ULONG *pceltFetched);
  1082. void __RPC_STUB IEnumBackgroundCopyJobs_Next_Stub(
  1083. IRpcStubBuffer *This,
  1084. IRpcChannelBuffer *_pRpcChannelBuffer,
  1085. PRPC_MESSAGE _pRpcMessage,
  1086. DWORD *_pdwStubPhase);
  1087. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs_Skip_Proxy(
  1088. IEnumBackgroundCopyJobs * This,
  1089. /* [in] */ ULONG celt);
  1090. void __RPC_STUB IEnumBackgroundCopyJobs_Skip_Stub(
  1091. IRpcStubBuffer *This,
  1092. IRpcChannelBuffer *_pRpcChannelBuffer,
  1093. PRPC_MESSAGE _pRpcMessage,
  1094. DWORD *_pdwStubPhase);
  1095. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs_Reset_Proxy(
  1096. IEnumBackgroundCopyJobs * This);
  1097. void __RPC_STUB IEnumBackgroundCopyJobs_Reset_Stub(
  1098. IRpcStubBuffer *This,
  1099. IRpcChannelBuffer *_pRpcChannelBuffer,
  1100. PRPC_MESSAGE _pRpcMessage,
  1101. DWORD *_pdwStubPhase);
  1102. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs_Clone_Proxy(
  1103. IEnumBackgroundCopyJobs * This,
  1104. /* [out] */ IEnumBackgroundCopyJobs **ppenum);
  1105. void __RPC_STUB IEnumBackgroundCopyJobs_Clone_Stub(
  1106. IRpcStubBuffer *This,
  1107. IRpcChannelBuffer *_pRpcChannelBuffer,
  1108. PRPC_MESSAGE _pRpcMessage,
  1109. DWORD *_pdwStubPhase);
  1110. HRESULT STDMETHODCALLTYPE IEnumBackgroundCopyJobs_GetCount_Proxy(
  1111. IEnumBackgroundCopyJobs * This,
  1112. /* [out] */ ULONG *puCount);
  1113. void __RPC_STUB IEnumBackgroundCopyJobs_GetCount_Stub(
  1114. IRpcStubBuffer *This,
  1115. IRpcChannelBuffer *_pRpcChannelBuffer,
  1116. PRPC_MESSAGE _pRpcMessage,
  1117. DWORD *_pdwStubPhase);
  1118. #endif /* __IEnumBackgroundCopyJobs_INTERFACE_DEFINED__ */
  1119. /* interface __MIDL_itf_bits_0013 */
  1120. /* [local] */
  1121. #define BG_NOTIFY_JOB_TRANSFERRED 0x0001
  1122. #define BG_NOTIFY_JOB_ERROR 0x0002
  1123. #define BG_NOTIFY_DISABLE 0x0004
  1124. #define BG_NOTIFY_JOB_MODIFICATION 0x0008
  1125. extern RPC_IF_HANDLE __MIDL_itf_bits_0013_v0_0_c_ifspec;
  1126. extern RPC_IF_HANDLE __MIDL_itf_bits_0013_v0_0_s_ifspec;
  1127. #ifndef __IBackgroundCopyCallback_INTERFACE_DEFINED__
  1128. #define __IBackgroundCopyCallback_INTERFACE_DEFINED__
  1129. /* interface IBackgroundCopyCallback */
  1130. /* [object][helpstring][async_uuid][uuid] */
  1131. EXTERN_C const IID IID_IBackgroundCopyCallback;
  1132. #if defined(__cplusplus) && !defined(CINTERFACE)
  1133. MIDL_INTERFACE("97ea99c7-0186-4ad4-8df9-c5b4e0ed6b22")
  1134. IBackgroundCopyCallback : public IUnknown
  1135. {
  1136. public:
  1137. virtual HRESULT STDMETHODCALLTYPE JobTransferred(
  1138. /* [in] */ IBackgroundCopyJob *pJob) = 0;
  1139. virtual HRESULT STDMETHODCALLTYPE JobError(
  1140. /* [in] */ IBackgroundCopyJob *pJob,
  1141. /* [in] */ IBackgroundCopyError *pError) = 0;
  1142. virtual HRESULT STDMETHODCALLTYPE JobModification(
  1143. /* [in] */ IBackgroundCopyJob *pJob,
  1144. /* [in] */ DWORD dwReserved) = 0;
  1145. };
  1146. #else /* C style interface */
  1147. typedef struct IBackgroundCopyCallbackVtbl
  1148. {
  1149. BEGIN_INTERFACE
  1150. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1151. IBackgroundCopyCallback * This,
  1152. /* [in] */ REFIID riid,
  1153. /* [iid_is][out] */ void **ppvObject);
  1154. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1155. IBackgroundCopyCallback * This);
  1156. ULONG ( STDMETHODCALLTYPE *Release )(
  1157. IBackgroundCopyCallback * This);
  1158. HRESULT ( STDMETHODCALLTYPE *JobTransferred )(
  1159. IBackgroundCopyCallback * This,
  1160. /* [in] */ IBackgroundCopyJob *pJob);
  1161. HRESULT ( STDMETHODCALLTYPE *JobError )(
  1162. IBackgroundCopyCallback * This,
  1163. /* [in] */ IBackgroundCopyJob *pJob,
  1164. /* [in] */ IBackgroundCopyError *pError);
  1165. HRESULT ( STDMETHODCALLTYPE *JobModification )(
  1166. IBackgroundCopyCallback * This,
  1167. /* [in] */ IBackgroundCopyJob *pJob,
  1168. /* [in] */ DWORD dwReserved);
  1169. END_INTERFACE
  1170. } IBackgroundCopyCallbackVtbl;
  1171. interface IBackgroundCopyCallback
  1172. {
  1173. CONST_VTBL struct IBackgroundCopyCallbackVtbl *lpVtbl;
  1174. };
  1175. #ifdef COBJMACROS
  1176. #define IBackgroundCopyCallback_QueryInterface(This,riid,ppvObject) \
  1177. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1178. #define IBackgroundCopyCallback_AddRef(This) \
  1179. (This)->lpVtbl -> AddRef(This)
  1180. #define IBackgroundCopyCallback_Release(This) \
  1181. (This)->lpVtbl -> Release(This)
  1182. #define IBackgroundCopyCallback_JobTransferred(This,pJob) \
  1183. (This)->lpVtbl -> JobTransferred(This,pJob)
  1184. #define IBackgroundCopyCallback_JobError(This,pJob,pError) \
  1185. (This)->lpVtbl -> JobError(This,pJob,pError)
  1186. #define IBackgroundCopyCallback_JobModification(This,pJob,dwReserved) \
  1187. (This)->lpVtbl -> JobModification(This,pJob,dwReserved)
  1188. #endif /* COBJMACROS */
  1189. #endif /* C style interface */
  1190. HRESULT STDMETHODCALLTYPE IBackgroundCopyCallback_JobTransferred_Proxy(
  1191. IBackgroundCopyCallback * This,
  1192. /* [in] */ IBackgroundCopyJob *pJob);
  1193. void __RPC_STUB IBackgroundCopyCallback_JobTransferred_Stub(
  1194. IRpcStubBuffer *This,
  1195. IRpcChannelBuffer *_pRpcChannelBuffer,
  1196. PRPC_MESSAGE _pRpcMessage,
  1197. DWORD *_pdwStubPhase);
  1198. HRESULT STDMETHODCALLTYPE IBackgroundCopyCallback_JobError_Proxy(
  1199. IBackgroundCopyCallback * This,
  1200. /* [in] */ IBackgroundCopyJob *pJob,
  1201. /* [in] */ IBackgroundCopyError *pError);
  1202. void __RPC_STUB IBackgroundCopyCallback_JobError_Stub(
  1203. IRpcStubBuffer *This,
  1204. IRpcChannelBuffer *_pRpcChannelBuffer,
  1205. PRPC_MESSAGE _pRpcMessage,
  1206. DWORD *_pdwStubPhase);
  1207. HRESULT STDMETHODCALLTYPE IBackgroundCopyCallback_JobModification_Proxy(
  1208. IBackgroundCopyCallback * This,
  1209. /* [in] */ IBackgroundCopyJob *pJob,
  1210. /* [in] */ DWORD dwReserved);
  1211. void __RPC_STUB IBackgroundCopyCallback_JobModification_Stub(
  1212. IRpcStubBuffer *This,
  1213. IRpcChannelBuffer *_pRpcChannelBuffer,
  1214. PRPC_MESSAGE _pRpcMessage,
  1215. DWORD *_pdwStubPhase);
  1216. #endif /* __IBackgroundCopyCallback_INTERFACE_DEFINED__ */
  1217. #ifndef __AsyncIBackgroundCopyCallback_INTERFACE_DEFINED__
  1218. #define __AsyncIBackgroundCopyCallback_INTERFACE_DEFINED__
  1219. /* interface AsyncIBackgroundCopyCallback */
  1220. /* [uuid][object][helpstring] */
  1221. EXTERN_C const IID IID_AsyncIBackgroundCopyCallback;
  1222. #if defined(__cplusplus) && !defined(CINTERFACE)
  1223. MIDL_INTERFACE("ca29d251-b4bb-4679-a3d9-ae8006119d54")
  1224. AsyncIBackgroundCopyCallback : public IUnknown
  1225. {
  1226. public:
  1227. virtual HRESULT STDMETHODCALLTYPE Begin_JobTransferred(
  1228. /* [in] */ IBackgroundCopyJob *pJob) = 0;
  1229. virtual HRESULT STDMETHODCALLTYPE Finish_JobTransferred( void) = 0;
  1230. virtual HRESULT STDMETHODCALLTYPE Begin_JobError(
  1231. /* [in] */ IBackgroundCopyJob *pJob,
  1232. /* [in] */ IBackgroundCopyError *pError) = 0;
  1233. virtual HRESULT STDMETHODCALLTYPE Finish_JobError( void) = 0;
  1234. virtual HRESULT STDMETHODCALLTYPE Begin_JobModification(
  1235. /* [in] */ IBackgroundCopyJob *pJob,
  1236. /* [in] */ DWORD dwReserved) = 0;
  1237. virtual HRESULT STDMETHODCALLTYPE Finish_JobModification( void) = 0;
  1238. };
  1239. #else /* C style interface */
  1240. typedef struct AsyncIBackgroundCopyCallbackVtbl
  1241. {
  1242. BEGIN_INTERFACE
  1243. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1244. AsyncIBackgroundCopyCallback * This,
  1245. /* [in] */ REFIID riid,
  1246. /* [iid_is][out] */ void **ppvObject);
  1247. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1248. AsyncIBackgroundCopyCallback * This);
  1249. ULONG ( STDMETHODCALLTYPE *Release )(
  1250. AsyncIBackgroundCopyCallback * This);
  1251. HRESULT ( STDMETHODCALLTYPE *Begin_JobTransferred )(
  1252. AsyncIBackgroundCopyCallback * This,
  1253. /* [in] */ IBackgroundCopyJob *pJob);
  1254. HRESULT ( STDMETHODCALLTYPE *Finish_JobTransferred )(
  1255. AsyncIBackgroundCopyCallback * This);
  1256. HRESULT ( STDMETHODCALLTYPE *Begin_JobError )(
  1257. AsyncIBackgroundCopyCallback * This,
  1258. /* [in] */ IBackgroundCopyJob *pJob,
  1259. /* [in] */ IBackgroundCopyError *pError);
  1260. HRESULT ( STDMETHODCALLTYPE *Finish_JobError )(
  1261. AsyncIBackgroundCopyCallback * This);
  1262. HRESULT ( STDMETHODCALLTYPE *Begin_JobModification )(
  1263. AsyncIBackgroundCopyCallback * This,
  1264. /* [in] */ IBackgroundCopyJob *pJob,
  1265. /* [in] */ DWORD dwReserved);
  1266. HRESULT ( STDMETHODCALLTYPE *Finish_JobModification )(
  1267. AsyncIBackgroundCopyCallback * This);
  1268. END_INTERFACE
  1269. } AsyncIBackgroundCopyCallbackVtbl;
  1270. interface AsyncIBackgroundCopyCallback
  1271. {
  1272. CONST_VTBL struct AsyncIBackgroundCopyCallbackVtbl *lpVtbl;
  1273. };
  1274. #ifdef COBJMACROS
  1275. #define AsyncIBackgroundCopyCallback_QueryInterface(This,riid,ppvObject) \
  1276. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1277. #define AsyncIBackgroundCopyCallback_AddRef(This) \
  1278. (This)->lpVtbl -> AddRef(This)
  1279. #define AsyncIBackgroundCopyCallback_Release(This) \
  1280. (This)->lpVtbl -> Release(This)
  1281. #define AsyncIBackgroundCopyCallback_Begin_JobTransferred(This,pJob) \
  1282. (This)->lpVtbl -> Begin_JobTransferred(This,pJob)
  1283. #define AsyncIBackgroundCopyCallback_Finish_JobTransferred(This) \
  1284. (This)->lpVtbl -> Finish_JobTransferred(This)
  1285. #define AsyncIBackgroundCopyCallback_Begin_JobError(This,pJob,pError) \
  1286. (This)->lpVtbl -> Begin_JobError(This,pJob,pError)
  1287. #define AsyncIBackgroundCopyCallback_Finish_JobError(This) \
  1288. (This)->lpVtbl -> Finish_JobError(This)
  1289. #define AsyncIBackgroundCopyCallback_Begin_JobModification(This,pJob,dwReserved) \
  1290. (This)->lpVtbl -> Begin_JobModification(This,pJob,dwReserved)
  1291. #define AsyncIBackgroundCopyCallback_Finish_JobModification(This) \
  1292. (This)->lpVtbl -> Finish_JobModification(This)
  1293. #endif /* COBJMACROS */
  1294. #endif /* C style interface */
  1295. HRESULT STDMETHODCALLTYPE AsyncIBackgroundCopyCallback_Begin_JobTransferred_Proxy(
  1296. AsyncIBackgroundCopyCallback * This,
  1297. /* [in] */ IBackgroundCopyJob *pJob);
  1298. void __RPC_STUB AsyncIBackgroundCopyCallback_Begin_JobTransferred_Stub(
  1299. IRpcStubBuffer *This,
  1300. IRpcChannelBuffer *_pRpcChannelBuffer,
  1301. PRPC_MESSAGE _pRpcMessage,
  1302. DWORD *_pdwStubPhase);
  1303. HRESULT STDMETHODCALLTYPE AsyncIBackgroundCopyCallback_Finish_JobTransferred_Proxy(
  1304. AsyncIBackgroundCopyCallback * This);
  1305. void __RPC_STUB AsyncIBackgroundCopyCallback_Finish_JobTransferred_Stub(
  1306. IRpcStubBuffer *This,
  1307. IRpcChannelBuffer *_pRpcChannelBuffer,
  1308. PRPC_MESSAGE _pRpcMessage,
  1309. DWORD *_pdwStubPhase);
  1310. HRESULT STDMETHODCALLTYPE AsyncIBackgroundCopyCallback_Begin_JobError_Proxy(
  1311. AsyncIBackgroundCopyCallback * This,
  1312. /* [in] */ IBackgroundCopyJob *pJob,
  1313. /* [in] */ IBackgroundCopyError *pError);
  1314. void __RPC_STUB AsyncIBackgroundCopyCallback_Begin_JobError_Stub(
  1315. IRpcStubBuffer *This,
  1316. IRpcChannelBuffer *_pRpcChannelBuffer,
  1317. PRPC_MESSAGE _pRpcMessage,
  1318. DWORD *_pdwStubPhase);
  1319. HRESULT STDMETHODCALLTYPE AsyncIBackgroundCopyCallback_Finish_JobError_Proxy(
  1320. AsyncIBackgroundCopyCallback * This);
  1321. void __RPC_STUB AsyncIBackgroundCopyCallback_Finish_JobError_Stub(
  1322. IRpcStubBuffer *This,
  1323. IRpcChannelBuffer *_pRpcChannelBuffer,
  1324. PRPC_MESSAGE _pRpcMessage,
  1325. DWORD *_pdwStubPhase);
  1326. HRESULT STDMETHODCALLTYPE AsyncIBackgroundCopyCallback_Begin_JobModification_Proxy(
  1327. AsyncIBackgroundCopyCallback * This,
  1328. /* [in] */ IBackgroundCopyJob *pJob,
  1329. /* [in] */ DWORD dwReserved);
  1330. void __RPC_STUB AsyncIBackgroundCopyCallback_Begin_JobModification_Stub(
  1331. IRpcStubBuffer *This,
  1332. IRpcChannelBuffer *_pRpcChannelBuffer,
  1333. PRPC_MESSAGE _pRpcMessage,
  1334. DWORD *_pdwStubPhase);
  1335. HRESULT STDMETHODCALLTYPE AsyncIBackgroundCopyCallback_Finish_JobModification_Proxy(
  1336. AsyncIBackgroundCopyCallback * This);
  1337. void __RPC_STUB AsyncIBackgroundCopyCallback_Finish_JobModification_Stub(
  1338. IRpcStubBuffer *This,
  1339. IRpcChannelBuffer *_pRpcChannelBuffer,
  1340. PRPC_MESSAGE _pRpcMessage,
  1341. DWORD *_pdwStubPhase);
  1342. #endif /* __AsyncIBackgroundCopyCallback_INTERFACE_DEFINED__ */
  1343. #ifndef __IBackgroundCopyManager_INTERFACE_DEFINED__
  1344. #define __IBackgroundCopyManager_INTERFACE_DEFINED__
  1345. /* interface IBackgroundCopyManager */
  1346. /* [object][helpstring][uuid] */
  1347. #define BG_JOB_ENUM_ALL_USERS 0x0001
  1348. EXTERN_C const IID IID_IBackgroundCopyManager;
  1349. #if defined(__cplusplus) && !defined(CINTERFACE)
  1350. MIDL_INTERFACE("5ce34c0d-0dc9-4c1f-897c-daa1b78cee7c")
  1351. IBackgroundCopyManager : public IUnknown
  1352. {
  1353. public:
  1354. virtual HRESULT STDMETHODCALLTYPE CreateJob(
  1355. /* [in] */ LPCWSTR DisplayName,
  1356. /* [in] */ BG_JOB_TYPE Type,
  1357. /* [out] */ GUID *pJobId,
  1358. /* [out] */ IBackgroundCopyJob **ppJob) = 0;
  1359. virtual HRESULT STDMETHODCALLTYPE GetJob(
  1360. /* [in] */ REFGUID jobID,
  1361. /* [out] */ IBackgroundCopyJob **ppJob) = 0;
  1362. virtual HRESULT STDMETHODCALLTYPE EnumJobs(
  1363. /* [in] */ DWORD dwFlags,
  1364. /* [out] */ IEnumBackgroundCopyJobs **ppEnum) = 0;
  1365. virtual HRESULT STDMETHODCALLTYPE GetErrorDescription(
  1366. /* [in] */ HRESULT hResult,
  1367. /* [in] */ DWORD LanguageId,
  1368. /* [out] */ LPWSTR *pErrorDescription) = 0;
  1369. };
  1370. #else /* C style interface */
  1371. typedef struct IBackgroundCopyManagerVtbl
  1372. {
  1373. BEGIN_INTERFACE
  1374. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1375. IBackgroundCopyManager * This,
  1376. /* [in] */ REFIID riid,
  1377. /* [iid_is][out] */ void **ppvObject);
  1378. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1379. IBackgroundCopyManager * This);
  1380. ULONG ( STDMETHODCALLTYPE *Release )(
  1381. IBackgroundCopyManager * This);
  1382. HRESULT ( STDMETHODCALLTYPE *CreateJob )(
  1383. IBackgroundCopyManager * This,
  1384. /* [in] */ LPCWSTR DisplayName,
  1385. /* [in] */ BG_JOB_TYPE Type,
  1386. /* [out] */ GUID *pJobId,
  1387. /* [out] */ IBackgroundCopyJob **ppJob);
  1388. HRESULT ( STDMETHODCALLTYPE *GetJob )(
  1389. IBackgroundCopyManager * This,
  1390. /* [in] */ REFGUID jobID,
  1391. /* [out] */ IBackgroundCopyJob **ppJob);
  1392. HRESULT ( STDMETHODCALLTYPE *EnumJobs )(
  1393. IBackgroundCopyManager * This,
  1394. /* [in] */ DWORD dwFlags,
  1395. /* [out] */ IEnumBackgroundCopyJobs **ppEnum);
  1396. HRESULT ( STDMETHODCALLTYPE *GetErrorDescription )(
  1397. IBackgroundCopyManager * This,
  1398. /* [in] */ HRESULT hResult,
  1399. /* [in] */ DWORD LanguageId,
  1400. /* [out] */ LPWSTR *pErrorDescription);
  1401. END_INTERFACE
  1402. } IBackgroundCopyManagerVtbl;
  1403. interface IBackgroundCopyManager
  1404. {
  1405. CONST_VTBL struct IBackgroundCopyManagerVtbl *lpVtbl;
  1406. };
  1407. #ifdef COBJMACROS
  1408. #define IBackgroundCopyManager_QueryInterface(This,riid,ppvObject) \
  1409. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1410. #define IBackgroundCopyManager_AddRef(This) \
  1411. (This)->lpVtbl -> AddRef(This)
  1412. #define IBackgroundCopyManager_Release(This) \
  1413. (This)->lpVtbl -> Release(This)
  1414. #define IBackgroundCopyManager_CreateJob(This,DisplayName,Type,pJobId,ppJob) \
  1415. (This)->lpVtbl -> CreateJob(This,DisplayName,Type,pJobId,ppJob)
  1416. #define IBackgroundCopyManager_GetJob(This,jobID,ppJob) \
  1417. (This)->lpVtbl -> GetJob(This,jobID,ppJob)
  1418. #define IBackgroundCopyManager_EnumJobs(This,dwFlags,ppEnum) \
  1419. (This)->lpVtbl -> EnumJobs(This,dwFlags,ppEnum)
  1420. #define IBackgroundCopyManager_GetErrorDescription(This,hResult,LanguageId,pErrorDescription) \
  1421. (This)->lpVtbl -> GetErrorDescription(This,hResult,LanguageId,pErrorDescription)
  1422. #endif /* COBJMACROS */
  1423. #endif /* C style interface */
  1424. HRESULT STDMETHODCALLTYPE IBackgroundCopyManager_CreateJob_Proxy(
  1425. IBackgroundCopyManager * This,
  1426. /* [in] */ LPCWSTR DisplayName,
  1427. /* [in] */ BG_JOB_TYPE Type,
  1428. /* [out] */ GUID *pJobId,
  1429. /* [out] */ IBackgroundCopyJob **ppJob);
  1430. void __RPC_STUB IBackgroundCopyManager_CreateJob_Stub(
  1431. IRpcStubBuffer *This,
  1432. IRpcChannelBuffer *_pRpcChannelBuffer,
  1433. PRPC_MESSAGE _pRpcMessage,
  1434. DWORD *_pdwStubPhase);
  1435. HRESULT STDMETHODCALLTYPE IBackgroundCopyManager_GetJob_Proxy(
  1436. IBackgroundCopyManager * This,
  1437. /* [in] */ REFGUID jobID,
  1438. /* [out] */ IBackgroundCopyJob **ppJob);
  1439. void __RPC_STUB IBackgroundCopyManager_GetJob_Stub(
  1440. IRpcStubBuffer *This,
  1441. IRpcChannelBuffer *_pRpcChannelBuffer,
  1442. PRPC_MESSAGE _pRpcMessage,
  1443. DWORD *_pdwStubPhase);
  1444. HRESULT STDMETHODCALLTYPE IBackgroundCopyManager_EnumJobs_Proxy(
  1445. IBackgroundCopyManager * This,
  1446. /* [in] */ DWORD dwFlags,
  1447. /* [out] */ IEnumBackgroundCopyJobs **ppEnum);
  1448. void __RPC_STUB IBackgroundCopyManager_EnumJobs_Stub(
  1449. IRpcStubBuffer *This,
  1450. IRpcChannelBuffer *_pRpcChannelBuffer,
  1451. PRPC_MESSAGE _pRpcMessage,
  1452. DWORD *_pdwStubPhase);
  1453. HRESULT STDMETHODCALLTYPE IBackgroundCopyManager_GetErrorDescription_Proxy(
  1454. IBackgroundCopyManager * This,
  1455. /* [in] */ HRESULT hResult,
  1456. /* [in] */ DWORD LanguageId,
  1457. /* [out] */ LPWSTR *pErrorDescription);
  1458. void __RPC_STUB IBackgroundCopyManager_GetErrorDescription_Stub(
  1459. IRpcStubBuffer *This,
  1460. IRpcChannelBuffer *_pRpcChannelBuffer,
  1461. PRPC_MESSAGE _pRpcMessage,
  1462. DWORD *_pdwStubPhase);
  1463. #endif /* __IBackgroundCopyManager_INTERFACE_DEFINED__ */
  1464. #ifndef __BackgroundCopyManager_LIBRARY_DEFINED__
  1465. #define __BackgroundCopyManager_LIBRARY_DEFINED__
  1466. /* library BackgroundCopyManager */
  1467. /* [version][lcid][helpstring][uuid] */
  1468. EXTERN_C const IID LIBID_BackgroundCopyManager;
  1469. EXTERN_C const CLSID CLSID_BackgroundCopyManager;
  1470. #ifdef __cplusplus
  1471. class DECLSPEC_UUID("4991d34b-80a1-4291-83b6-3328366b9097")
  1472. BackgroundCopyManager;
  1473. #endif
  1474. #endif /* __BackgroundCopyManager_LIBRARY_DEFINED__ */
  1475. /* interface __MIDL_itf_bits_0015 */
  1476. /* [local] */
  1477. #include "bits1_5.h"
  1478. extern RPC_IF_HANDLE __MIDL_itf_bits_0015_v0_0_c_ifspec;
  1479. extern RPC_IF_HANDLE __MIDL_itf_bits_0015_v0_0_s_ifspec;
  1480. /* Additional Prototypes for ALL interfaces */
  1481. /* end of Additional Prototypes */
  1482. #ifdef __cplusplus
  1483. }
  1484. #endif
  1485. #endif