Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

446 lines
14 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for bitscfg.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __bitscfg_h__
  27. #define __bitscfg_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IBITSExtensionSetup_FWD_DEFINED__
  33. #define __IBITSExtensionSetup_FWD_DEFINED__
  34. typedef interface IBITSExtensionSetup IBITSExtensionSetup;
  35. #endif /* __IBITSExtensionSetup_FWD_DEFINED__ */
  36. #ifndef __IBITSExtensionSetupFactory_FWD_DEFINED__
  37. #define __IBITSExtensionSetupFactory_FWD_DEFINED__
  38. typedef interface IBITSExtensionSetupFactory IBITSExtensionSetupFactory;
  39. #endif /* __IBITSExtensionSetupFactory_FWD_DEFINED__ */
  40. #ifndef __BITSExtensionSetupFactory_FWD_DEFINED__
  41. #define __BITSExtensionSetupFactory_FWD_DEFINED__
  42. #ifdef __cplusplus
  43. typedef class BITSExtensionSetupFactory BITSExtensionSetupFactory;
  44. #else
  45. typedef struct BITSExtensionSetupFactory BITSExtensionSetupFactory;
  46. #endif /* __cplusplus */
  47. #endif /* __BITSExtensionSetupFactory_FWD_DEFINED__ */
  48. /* header files for imported files */
  49. #include "oaidl.h"
  50. #include "ocidl.h"
  51. #include "mstask.h"
  52. #ifdef __cplusplus
  53. extern "C"{
  54. #endif
  55. void * __RPC_USER MIDL_user_allocate(size_t);
  56. void __RPC_USER MIDL_user_free( void * );
  57. #ifndef __IBITSExtensionSetup_INTERFACE_DEFINED__
  58. #define __IBITSExtensionSetup_INTERFACE_DEFINED__
  59. /* interface IBITSExtensionSetup */
  60. /* [object][dual][uuid] */
  61. EXTERN_C const IID IID_IBITSExtensionSetup;
  62. #if defined(__cplusplus) && !defined(CINTERFACE)
  63. MIDL_INTERFACE("29cfbbf7-09e4-4b97-b0bc-f2287e3d8eb3")
  64. IBITSExtensionSetup : public IDispatch
  65. {
  66. public:
  67. virtual /* [id] */ HRESULT STDMETHODCALLTYPE EnableBITSUploads( void) = 0;
  68. virtual /* [id] */ HRESULT STDMETHODCALLTYPE DisableBITSUploads( void) = 0;
  69. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetCleanupTaskName(
  70. /* [retval][out] */ BSTR *pTaskName) = 0;
  71. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetCleanupTask(
  72. /* [in] */ REFIID riid,
  73. /* [retval][out] */ IUnknown **ppUnk) = 0;
  74. };
  75. #else /* C style interface */
  76. typedef struct IBITSExtensionSetupVtbl
  77. {
  78. BEGIN_INTERFACE
  79. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  80. IBITSExtensionSetup * This,
  81. /* [in] */ REFIID riid,
  82. /* [iid_is][out] */ void **ppvObject);
  83. ULONG ( STDMETHODCALLTYPE *AddRef )(
  84. IBITSExtensionSetup * This);
  85. ULONG ( STDMETHODCALLTYPE *Release )(
  86. IBITSExtensionSetup * This);
  87. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  88. IBITSExtensionSetup * This,
  89. /* [out] */ UINT *pctinfo);
  90. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  91. IBITSExtensionSetup * This,
  92. /* [in] */ UINT iTInfo,
  93. /* [in] */ LCID lcid,
  94. /* [out] */ ITypeInfo **ppTInfo);
  95. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  96. IBITSExtensionSetup * This,
  97. /* [in] */ REFIID riid,
  98. /* [size_is][in] */ LPOLESTR *rgszNames,
  99. /* [in] */ UINT cNames,
  100. /* [in] */ LCID lcid,
  101. /* [size_is][out] */ DISPID *rgDispId);
  102. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  103. IBITSExtensionSetup * This,
  104. /* [in] */ DISPID dispIdMember,
  105. /* [in] */ REFIID riid,
  106. /* [in] */ LCID lcid,
  107. /* [in] */ WORD wFlags,
  108. /* [out][in] */ DISPPARAMS *pDispParams,
  109. /* [out] */ VARIANT *pVarResult,
  110. /* [out] */ EXCEPINFO *pExcepInfo,
  111. /* [out] */ UINT *puArgErr);
  112. /* [id] */ HRESULT ( STDMETHODCALLTYPE *EnableBITSUploads )(
  113. IBITSExtensionSetup * This);
  114. /* [id] */ HRESULT ( STDMETHODCALLTYPE *DisableBITSUploads )(
  115. IBITSExtensionSetup * This);
  116. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetCleanupTaskName )(
  117. IBITSExtensionSetup * This,
  118. /* [retval][out] */ BSTR *pTaskName);
  119. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetCleanupTask )(
  120. IBITSExtensionSetup * This,
  121. /* [in] */ REFIID riid,
  122. /* [retval][out] */ IUnknown **ppUnk);
  123. END_INTERFACE
  124. } IBITSExtensionSetupVtbl;
  125. interface IBITSExtensionSetup
  126. {
  127. CONST_VTBL struct IBITSExtensionSetupVtbl *lpVtbl;
  128. };
  129. #ifdef COBJMACROS
  130. #define IBITSExtensionSetup_QueryInterface(This,riid,ppvObject) \
  131. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  132. #define IBITSExtensionSetup_AddRef(This) \
  133. (This)->lpVtbl -> AddRef(This)
  134. #define IBITSExtensionSetup_Release(This) \
  135. (This)->lpVtbl -> Release(This)
  136. #define IBITSExtensionSetup_GetTypeInfoCount(This,pctinfo) \
  137. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  138. #define IBITSExtensionSetup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  139. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  140. #define IBITSExtensionSetup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  141. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  142. #define IBITSExtensionSetup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  143. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  144. #define IBITSExtensionSetup_EnableBITSUploads(This) \
  145. (This)->lpVtbl -> EnableBITSUploads(This)
  146. #define IBITSExtensionSetup_DisableBITSUploads(This) \
  147. (This)->lpVtbl -> DisableBITSUploads(This)
  148. #define IBITSExtensionSetup_GetCleanupTaskName(This,pTaskName) \
  149. (This)->lpVtbl -> GetCleanupTaskName(This,pTaskName)
  150. #define IBITSExtensionSetup_GetCleanupTask(This,riid,ppUnk) \
  151. (This)->lpVtbl -> GetCleanupTask(This,riid,ppUnk)
  152. #endif /* COBJMACROS */
  153. #endif /* C style interface */
  154. /* [id] */ HRESULT STDMETHODCALLTYPE IBITSExtensionSetup_EnableBITSUploads_Proxy(
  155. IBITSExtensionSetup * This);
  156. void __RPC_STUB IBITSExtensionSetup_EnableBITSUploads_Stub(
  157. IRpcStubBuffer *This,
  158. IRpcChannelBuffer *_pRpcChannelBuffer,
  159. PRPC_MESSAGE _pRpcMessage,
  160. DWORD *_pdwStubPhase);
  161. /* [id] */ HRESULT STDMETHODCALLTYPE IBITSExtensionSetup_DisableBITSUploads_Proxy(
  162. IBITSExtensionSetup * This);
  163. void __RPC_STUB IBITSExtensionSetup_DisableBITSUploads_Stub(
  164. IRpcStubBuffer *This,
  165. IRpcChannelBuffer *_pRpcChannelBuffer,
  166. PRPC_MESSAGE _pRpcMessage,
  167. DWORD *_pdwStubPhase);
  168. /* [id] */ HRESULT STDMETHODCALLTYPE IBITSExtensionSetup_GetCleanupTaskName_Proxy(
  169. IBITSExtensionSetup * This,
  170. /* [retval][out] */ BSTR *pTaskName);
  171. void __RPC_STUB IBITSExtensionSetup_GetCleanupTaskName_Stub(
  172. IRpcStubBuffer *This,
  173. IRpcChannelBuffer *_pRpcChannelBuffer,
  174. PRPC_MESSAGE _pRpcMessage,
  175. DWORD *_pdwStubPhase);
  176. /* [id] */ HRESULT STDMETHODCALLTYPE IBITSExtensionSetup_GetCleanupTask_Proxy(
  177. IBITSExtensionSetup * This,
  178. /* [in] */ REFIID riid,
  179. /* [retval][out] */ IUnknown **ppUnk);
  180. void __RPC_STUB IBITSExtensionSetup_GetCleanupTask_Stub(
  181. IRpcStubBuffer *This,
  182. IRpcChannelBuffer *_pRpcChannelBuffer,
  183. PRPC_MESSAGE _pRpcMessage,
  184. DWORD *_pdwStubPhase);
  185. #endif /* __IBITSExtensionSetup_INTERFACE_DEFINED__ */
  186. #ifndef __IBITSExtensionSetupFactory_INTERFACE_DEFINED__
  187. #define __IBITSExtensionSetupFactory_INTERFACE_DEFINED__
  188. /* interface IBITSExtensionSetupFactory */
  189. /* [object][dual][uuid] */
  190. EXTERN_C const IID IID_IBITSExtensionSetupFactory;
  191. #if defined(__cplusplus) && !defined(CINTERFACE)
  192. MIDL_INTERFACE("d5d2d542-5503-4e64-8b48-72ef91a32ee1")
  193. IBITSExtensionSetupFactory : public IDispatch
  194. {
  195. public:
  196. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetObject(
  197. /* [in] */ BSTR Path,
  198. /* [retval][out] */ IBITSExtensionSetup **ppExtensionSetup) = 0;
  199. };
  200. #else /* C style interface */
  201. typedef struct IBITSExtensionSetupFactoryVtbl
  202. {
  203. BEGIN_INTERFACE
  204. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  205. IBITSExtensionSetupFactory * This,
  206. /* [in] */ REFIID riid,
  207. /* [iid_is][out] */ void **ppvObject);
  208. ULONG ( STDMETHODCALLTYPE *AddRef )(
  209. IBITSExtensionSetupFactory * This);
  210. ULONG ( STDMETHODCALLTYPE *Release )(
  211. IBITSExtensionSetupFactory * This);
  212. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  213. IBITSExtensionSetupFactory * This,
  214. /* [out] */ UINT *pctinfo);
  215. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  216. IBITSExtensionSetupFactory * This,
  217. /* [in] */ UINT iTInfo,
  218. /* [in] */ LCID lcid,
  219. /* [out] */ ITypeInfo **ppTInfo);
  220. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  221. IBITSExtensionSetupFactory * This,
  222. /* [in] */ REFIID riid,
  223. /* [size_is][in] */ LPOLESTR *rgszNames,
  224. /* [in] */ UINT cNames,
  225. /* [in] */ LCID lcid,
  226. /* [size_is][out] */ DISPID *rgDispId);
  227. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  228. IBITSExtensionSetupFactory * This,
  229. /* [in] */ DISPID dispIdMember,
  230. /* [in] */ REFIID riid,
  231. /* [in] */ LCID lcid,
  232. /* [in] */ WORD wFlags,
  233. /* [out][in] */ DISPPARAMS *pDispParams,
  234. /* [out] */ VARIANT *pVarResult,
  235. /* [out] */ EXCEPINFO *pExcepInfo,
  236. /* [out] */ UINT *puArgErr);
  237. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetObject )(
  238. IBITSExtensionSetupFactory * This,
  239. /* [in] */ BSTR Path,
  240. /* [retval][out] */ IBITSExtensionSetup **ppExtensionSetup);
  241. END_INTERFACE
  242. } IBITSExtensionSetupFactoryVtbl;
  243. interface IBITSExtensionSetupFactory
  244. {
  245. CONST_VTBL struct IBITSExtensionSetupFactoryVtbl *lpVtbl;
  246. };
  247. #ifdef COBJMACROS
  248. #define IBITSExtensionSetupFactory_QueryInterface(This,riid,ppvObject) \
  249. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  250. #define IBITSExtensionSetupFactory_AddRef(This) \
  251. (This)->lpVtbl -> AddRef(This)
  252. #define IBITSExtensionSetupFactory_Release(This) \
  253. (This)->lpVtbl -> Release(This)
  254. #define IBITSExtensionSetupFactory_GetTypeInfoCount(This,pctinfo) \
  255. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  256. #define IBITSExtensionSetupFactory_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  257. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  258. #define IBITSExtensionSetupFactory_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  259. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  260. #define IBITSExtensionSetupFactory_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  261. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  262. #define IBITSExtensionSetupFactory_GetObject(This,Path,ppExtensionSetup) \
  263. (This)->lpVtbl -> GetObject(This,Path,ppExtensionSetup)
  264. #endif /* COBJMACROS */
  265. #endif /* C style interface */
  266. /* [id] */ HRESULT STDMETHODCALLTYPE IBITSExtensionSetupFactory_GetObject_Proxy(
  267. IBITSExtensionSetupFactory * This,
  268. /* [in] */ BSTR Path,
  269. /* [retval][out] */ IBITSExtensionSetup **ppExtensionSetup);
  270. void __RPC_STUB IBITSExtensionSetupFactory_GetObject_Stub(
  271. IRpcStubBuffer *This,
  272. IRpcChannelBuffer *_pRpcChannelBuffer,
  273. PRPC_MESSAGE _pRpcMessage,
  274. DWORD *_pdwStubPhase);
  275. #endif /* __IBITSExtensionSetupFactory_INTERFACE_DEFINED__ */
  276. #ifndef __BITSExtensionSetup_LIBRARY_DEFINED__
  277. #define __BITSExtensionSetup_LIBRARY_DEFINED__
  278. /* library BITSExtensionSetup */
  279. /* [version][helpstring][uuid] */
  280. EXTERN_C const IID LIBID_BITSExtensionSetup;
  281. EXTERN_C const CLSID CLSID_BITSExtensionSetupFactory;
  282. #ifdef __cplusplus
  283. class DECLSPEC_UUID("efbbab68-7286-4783-94bf-9461d8b7e7e9")
  284. BITSExtensionSetupFactory;
  285. #endif
  286. #endif /* __BITSExtensionSetup_LIBRARY_DEFINED__ */
  287. /* Additional Prototypes for ALL interfaces */
  288. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  289. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  290. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  291. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  292. /* end of Additional Prototypes */
  293. #ifdef __cplusplus
  294. }
  295. #endif
  296. #endif