Bits.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:66k
源码类别:

模拟服务器

开发平台:

C/C++

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