Source code of Windows XP (NT5)
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.

467 lines
15 KiB

  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 dlmgridl.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext
  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__ 440
  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 __dlmgridl_h__
  27. #define __dlmgridl_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IDownloadManager_FWD_DEFINED__
  33. #define __IDownloadManager_FWD_DEFINED__
  34. typedef interface IDownloadManager IDownloadManager;
  35. #endif /* __IDownloadManager_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "unknwn.h"
  38. #include "ocidl.h"
  39. #ifdef __cplusplus
  40. extern "C"{
  41. #endif
  42. void * __RPC_USER MIDL_user_allocate(size_t);
  43. void __RPC_USER MIDL_user_free( void * );
  44. /* interface __MIDL_itf_dlmgridl_0000 */
  45. /* [local] */
  46. //=--------------------------------------------------------------------------=
  47. // dlmgridl.h
  48. //=--------------------------------------------------------------------------=
  49. // (C) Copyright 1999 Microsoft Corporation. All Rights Reserved.
  50. //
  51. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  52. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  53. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  54. // PARTICULAR PURPOSE.
  55. //=--------------------------------------------------------------------------=
  56. #pragma comment(lib,"uuid.lib")
  57. //---------------------------------------------------------------------------=
  58. // Lightweight User Profile Interfaces.
  59. // --------------------------------------------------------------------------------
  60. // GUIDS
  61. // --------------------------------------------------------------------------------
  62. // {988934A4-064B-11D3-BB80-00104B35E7F9}
  63. DEFINE_GUID(IID_IDownloadManager, 0x988934a4, 0x064b, 0x11d3, 0xbb, 0x80, 0x0, 0x10, 0x4b, 0x35, 0xe7, 0xf9);
  64. extern RPC_IF_HANDLE __MIDL_itf_dlmgridl_0000_v0_0_c_ifspec;
  65. extern RPC_IF_HANDLE __MIDL_itf_dlmgridl_0000_v0_0_s_ifspec;
  66. #ifndef __IDownloadManager_INTERFACE_DEFINED__
  67. #define __IDownloadManager_INTERFACE_DEFINED__
  68. /* interface IDownloadManager */
  69. /* [unique][dual][uuid][object][helpstring] */
  70. EXTERN_C const IID IID_IDownloadManager;
  71. #if defined(__cplusplus) && !defined(CINTERFACE)
  72. MIDL_INTERFACE("988934A4-064B-11D3-BB80-00104B35E7F9")
  73. IDownloadManager : public IDispatch
  74. {
  75. public:
  76. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Start(
  77. /* [in] */ IMoniker *pmk,
  78. /* [in] */ IBindCtx *pbc,
  79. /* [in] */ BSTR bstrSaveTo,
  80. /* [in] */ VARIANT_BOOL fSaveAs,
  81. /* [in] */ VARIANT_BOOL fSafe,
  82. /* [in] */ BSTR bstrHeaders,
  83. /* [in] */ LONG dwVerb,
  84. /* [in] */ LONG grfBINDF,
  85. /* [in] */ VARIANT *pbinfo,
  86. /* [in] */ BSTR bstrRedir,
  87. /* [in] */ LONG uiCP,
  88. /* [in] */ LONG dwAttempt) = 0;
  89. virtual /* [id] */ HRESULT STDMETHODCALLTYPE StartURL(
  90. /* [in] */ BSTR bstrURL,
  91. /* [in] */ VARIANT_BOOL fSaveAs,
  92. /* [in] */ BSTR bstrSaveTo,
  93. /* [in] */ IBindCtx *pbc,
  94. /* [in] */ VARIANT_BOOL fSafe,
  95. /* [in] */ BSTR bstrHeaders,
  96. /* [in] */ LONG dwVerb,
  97. /* [in] */ LONG grfBINDF,
  98. /* [in] */ VARIANT *pbinfo,
  99. /* [in] */ BSTR bstrRedir,
  100. /* [in] */ LONG uiCP,
  101. /* [in] */ LONG dwAttempt) = 0;
  102. virtual /* [id] */ HRESULT STDMETHODCALLTYPE DownloadURL(
  103. /* [in] */ BSTR bstrURL,
  104. /* [in] */ VARIANT_BOOL fSaveAs) = 0;
  105. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_eventlock(
  106. /* [retval][out] */ VARIANT_BOOL *pfEventLock) = 0;
  107. virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_eventlock(
  108. /* [in] */ VARIANT_BOOL fEventLock) = 0;
  109. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CancelDownload(
  110. /* [in] */ LONG lID) = 0;
  111. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetState(
  112. /* [in] */ LONG lID,
  113. /* [in] */ LONG lState) = 0;
  114. virtual /* [id] */ HRESULT STDMETHODCALLTYPE StartPendingLaterDownloads( void) = 0;
  115. };
  116. #else /* C style interface */
  117. typedef struct IDownloadManagerVtbl
  118. {
  119. BEGIN_INTERFACE
  120. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  121. IDownloadManager * This,
  122. /* [in] */ REFIID riid,
  123. /* [iid_is][out] */ void **ppvObject);
  124. ULONG ( STDMETHODCALLTYPE *AddRef )(
  125. IDownloadManager * This);
  126. ULONG ( STDMETHODCALLTYPE *Release )(
  127. IDownloadManager * This);
  128. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  129. IDownloadManager * This,
  130. /* [out] */ UINT *pctinfo);
  131. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  132. IDownloadManager * This,
  133. /* [in] */ UINT iTInfo,
  134. /* [in] */ LCID lcid,
  135. /* [out] */ ITypeInfo **ppTInfo);
  136. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  137. IDownloadManager * This,
  138. /* [in] */ REFIID riid,
  139. /* [size_is][in] */ LPOLESTR *rgszNames,
  140. /* [in] */ UINT cNames,
  141. /* [in] */ LCID lcid,
  142. /* [size_is][out] */ DISPID *rgDispId);
  143. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  144. IDownloadManager * This,
  145. /* [in] */ DISPID dispIdMember,
  146. /* [in] */ REFIID riid,
  147. /* [in] */ LCID lcid,
  148. /* [in] */ WORD wFlags,
  149. /* [out][in] */ DISPPARAMS *pDispParams,
  150. /* [out] */ VARIANT *pVarResult,
  151. /* [out] */ EXCEPINFO *pExcepInfo,
  152. /* [out] */ UINT *puArgErr);
  153. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Start )(
  154. IDownloadManager * This,
  155. /* [in] */ IMoniker *pmk,
  156. /* [in] */ IBindCtx *pbc,
  157. /* [in] */ BSTR bstrSaveTo,
  158. /* [in] */ VARIANT_BOOL fSaveAs,
  159. /* [in] */ VARIANT_BOOL fSafe,
  160. /* [in] */ BSTR bstrHeaders,
  161. /* [in] */ LONG dwVerb,
  162. /* [in] */ LONG grfBINDF,
  163. /* [in] */ VARIANT *pbinfo,
  164. /* [in] */ BSTR bstrRedir,
  165. /* [in] */ LONG uiCP,
  166. /* [in] */ LONG dwAttempt);
  167. /* [id] */ HRESULT ( STDMETHODCALLTYPE *StartURL )(
  168. IDownloadManager * This,
  169. /* [in] */ BSTR bstrURL,
  170. /* [in] */ VARIANT_BOOL fSaveAs,
  171. /* [in] */ BSTR bstrSaveTo,
  172. /* [in] */ IBindCtx *pbc,
  173. /* [in] */ VARIANT_BOOL fSafe,
  174. /* [in] */ BSTR bstrHeaders,
  175. /* [in] */ LONG dwVerb,
  176. /* [in] */ LONG grfBINDF,
  177. /* [in] */ VARIANT *pbinfo,
  178. /* [in] */ BSTR bstrRedir,
  179. /* [in] */ LONG uiCP,
  180. /* [in] */ LONG dwAttempt);
  181. /* [id] */ HRESULT ( STDMETHODCALLTYPE *DownloadURL )(
  182. IDownloadManager * This,
  183. /* [in] */ BSTR bstrURL,
  184. /* [in] */ VARIANT_BOOL fSaveAs);
  185. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_eventlock )(
  186. IDownloadManager * This,
  187. /* [retval][out] */ VARIANT_BOOL *pfEventLock);
  188. /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_eventlock )(
  189. IDownloadManager * This,
  190. /* [in] */ VARIANT_BOOL fEventLock);
  191. /* [id] */ HRESULT ( STDMETHODCALLTYPE *CancelDownload )(
  192. IDownloadManager * This,
  193. /* [in] */ LONG lID);
  194. /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetState )(
  195. IDownloadManager * This,
  196. /* [in] */ LONG lID,
  197. /* [in] */ LONG lState);
  198. /* [id] */ HRESULT ( STDMETHODCALLTYPE *StartPendingLaterDownloads )(
  199. IDownloadManager * This);
  200. END_INTERFACE
  201. } IDownloadManagerVtbl;
  202. interface IDownloadManager
  203. {
  204. CONST_VTBL struct IDownloadManagerVtbl *lpVtbl;
  205. };
  206. #ifdef COBJMACROS
  207. #define IDownloadManager_QueryInterface(This,riid,ppvObject) \
  208. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  209. #define IDownloadManager_AddRef(This) \
  210. (This)->lpVtbl -> AddRef(This)
  211. #define IDownloadManager_Release(This) \
  212. (This)->lpVtbl -> Release(This)
  213. #define IDownloadManager_GetTypeInfoCount(This,pctinfo) \
  214. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  215. #define IDownloadManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  216. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  217. #define IDownloadManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  218. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  219. #define IDownloadManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  220. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  221. #define IDownloadManager_Start(This,pmk,pbc,bstrSaveTo,fSaveAs,fSafe,bstrHeaders,dwVerb,grfBINDF,pbinfo,bstrRedir,uiCP,dwAttempt) \
  222. (This)->lpVtbl -> Start(This,pmk,pbc,bstrSaveTo,fSaveAs,fSafe,bstrHeaders,dwVerb,grfBINDF,pbinfo,bstrRedir,uiCP,dwAttempt)
  223. #define IDownloadManager_StartURL(This,bstrURL,fSaveAs,bstrSaveTo,pbc,fSafe,bstrHeaders,dwVerb,grfBINDF,pbinfo,bstrRedir,uiCP,dwAttempt) \
  224. (This)->lpVtbl -> StartURL(This,bstrURL,fSaveAs,bstrSaveTo,pbc,fSafe,bstrHeaders,dwVerb,grfBINDF,pbinfo,bstrRedir,uiCP,dwAttempt)
  225. #define IDownloadManager_DownloadURL(This,bstrURL,fSaveAs) \
  226. (This)->lpVtbl -> DownloadURL(This,bstrURL,fSaveAs)
  227. #define IDownloadManager_get_eventlock(This,pfEventLock) \
  228. (This)->lpVtbl -> get_eventlock(This,pfEventLock)
  229. #define IDownloadManager_put_eventlock(This,fEventLock) \
  230. (This)->lpVtbl -> put_eventlock(This,fEventLock)
  231. #define IDownloadManager_CancelDownload(This,lID) \
  232. (This)->lpVtbl -> CancelDownload(This,lID)
  233. #define IDownloadManager_SetState(This,lID,lState) \
  234. (This)->lpVtbl -> SetState(This,lID,lState)
  235. #define IDownloadManager_StartPendingLaterDownloads(This) \
  236. (This)->lpVtbl -> StartPendingLaterDownloads(This)
  237. #endif /* COBJMACROS */
  238. #endif /* C style interface */
  239. /* [id] */ HRESULT STDMETHODCALLTYPE IDownloadManager_Start_Proxy(
  240. IDownloadManager * This,
  241. /* [in] */ IMoniker *pmk,
  242. /* [in] */ IBindCtx *pbc,
  243. /* [in] */ BSTR bstrSaveTo,
  244. /* [in] */ VARIANT_BOOL fSaveAs,
  245. /* [in] */ VARIANT_BOOL fSafe,
  246. /* [in] */ BSTR bstrHeaders,
  247. /* [in] */ LONG dwVerb,
  248. /* [in] */ LONG grfBINDF,
  249. /* [in] */ VARIANT *pbinfo,
  250. /* [in] */ BSTR bstrRedir,
  251. /* [in] */ LONG uiCP,
  252. /* [in] */ LONG dwAttempt);
  253. void __RPC_STUB IDownloadManager_Start_Stub(
  254. IRpcStubBuffer *This,
  255. IRpcChannelBuffer *_pRpcChannelBuffer,
  256. PRPC_MESSAGE _pRpcMessage,
  257. DWORD *_pdwStubPhase);
  258. /* [id] */ HRESULT STDMETHODCALLTYPE IDownloadManager_StartURL_Proxy(
  259. IDownloadManager * This,
  260. /* [in] */ BSTR bstrURL,
  261. /* [in] */ VARIANT_BOOL fSaveAs,
  262. /* [in] */ BSTR bstrSaveTo,
  263. /* [in] */ IBindCtx *pbc,
  264. /* [in] */ VARIANT_BOOL fSafe,
  265. /* [in] */ BSTR bstrHeaders,
  266. /* [in] */ LONG dwVerb,
  267. /* [in] */ LONG grfBINDF,
  268. /* [in] */ VARIANT *pbinfo,
  269. /* [in] */ BSTR bstrRedir,
  270. /* [in] */ LONG uiCP,
  271. /* [in] */ LONG dwAttempt);
  272. void __RPC_STUB IDownloadManager_StartURL_Stub(
  273. IRpcStubBuffer *This,
  274. IRpcChannelBuffer *_pRpcChannelBuffer,
  275. PRPC_MESSAGE _pRpcMessage,
  276. DWORD *_pdwStubPhase);
  277. /* [id] */ HRESULT STDMETHODCALLTYPE IDownloadManager_DownloadURL_Proxy(
  278. IDownloadManager * This,
  279. /* [in] */ BSTR bstrURL,
  280. /* [in] */ VARIANT_BOOL fSaveAs);
  281. void __RPC_STUB IDownloadManager_DownloadURL_Stub(
  282. IRpcStubBuffer *This,
  283. IRpcChannelBuffer *_pRpcChannelBuffer,
  284. PRPC_MESSAGE _pRpcMessage,
  285. DWORD *_pdwStubPhase);
  286. /* [id][propget] */ HRESULT STDMETHODCALLTYPE IDownloadManager_get_eventlock_Proxy(
  287. IDownloadManager * This,
  288. /* [retval][out] */ VARIANT_BOOL *pfEventLock);
  289. void __RPC_STUB IDownloadManager_get_eventlock_Stub(
  290. IRpcStubBuffer *This,
  291. IRpcChannelBuffer *_pRpcChannelBuffer,
  292. PRPC_MESSAGE _pRpcMessage,
  293. DWORD *_pdwStubPhase);
  294. /* [id][propput] */ HRESULT STDMETHODCALLTYPE IDownloadManager_put_eventlock_Proxy(
  295. IDownloadManager * This,
  296. /* [in] */ VARIANT_BOOL fEventLock);
  297. void __RPC_STUB IDownloadManager_put_eventlock_Stub(
  298. IRpcStubBuffer *This,
  299. IRpcChannelBuffer *_pRpcChannelBuffer,
  300. PRPC_MESSAGE _pRpcMessage,
  301. DWORD *_pdwStubPhase);
  302. /* [id] */ HRESULT STDMETHODCALLTYPE IDownloadManager_CancelDownload_Proxy(
  303. IDownloadManager * This,
  304. /* [in] */ LONG lID);
  305. void __RPC_STUB IDownloadManager_CancelDownload_Stub(
  306. IRpcStubBuffer *This,
  307. IRpcChannelBuffer *_pRpcChannelBuffer,
  308. PRPC_MESSAGE _pRpcMessage,
  309. DWORD *_pdwStubPhase);
  310. /* [id] */ HRESULT STDMETHODCALLTYPE IDownloadManager_SetState_Proxy(
  311. IDownloadManager * This,
  312. /* [in] */ LONG lID,
  313. /* [in] */ LONG lState);
  314. void __RPC_STUB IDownloadManager_SetState_Stub(
  315. IRpcStubBuffer *This,
  316. IRpcChannelBuffer *_pRpcChannelBuffer,
  317. PRPC_MESSAGE _pRpcMessage,
  318. DWORD *_pdwStubPhase);
  319. /* [id] */ HRESULT STDMETHODCALLTYPE IDownloadManager_StartPendingLaterDownloads_Proxy(
  320. IDownloadManager * This);
  321. void __RPC_STUB IDownloadManager_StartPendingLaterDownloads_Stub(
  322. IRpcStubBuffer *This,
  323. IRpcChannelBuffer *_pRpcChannelBuffer,
  324. PRPC_MESSAGE _pRpcMessage,
  325. DWORD *_pdwStubPhase);
  326. #endif /* __IDownloadManager_INTERFACE_DEFINED__ */
  327. /* Additional Prototypes for ALL interfaces */
  328. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  329. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  330. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  331. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  332. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  333. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  334. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  335. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  336. /* end of Additional Prototypes */
  337. #ifdef __cplusplus
  338. }
  339. #endif
  340. #endif