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.

1159 lines
34 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 webcheck.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext
  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__ 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 __webcheck_h__
  27. #define __webcheck_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ISubscriptionThrottler_FWD_DEFINED__
  33. #define __ISubscriptionThrottler_FWD_DEFINED__
  34. typedef interface ISubscriptionThrottler ISubscriptionThrottler;
  35. #endif /* __ISubscriptionThrottler_FWD_DEFINED__ */
  36. #ifndef __ISubscriptionAgentControl_FWD_DEFINED__
  37. #define __ISubscriptionAgentControl_FWD_DEFINED__
  38. typedef interface ISubscriptionAgentControl ISubscriptionAgentControl;
  39. #endif /* __ISubscriptionAgentControl_FWD_DEFINED__ */
  40. #ifndef __ISubscriptionAgentShellExt_FWD_DEFINED__
  41. #define __ISubscriptionAgentShellExt_FWD_DEFINED__
  42. typedef interface ISubscriptionAgentShellExt ISubscriptionAgentShellExt;
  43. #endif /* __ISubscriptionAgentShellExt_FWD_DEFINED__ */
  44. #ifndef __ISubscriptionAgentEvents_FWD_DEFINED__
  45. #define __ISubscriptionAgentEvents_FWD_DEFINED__
  46. typedef interface ISubscriptionAgentEvents ISubscriptionAgentEvents;
  47. #endif /* __ISubscriptionAgentEvents_FWD_DEFINED__ */
  48. #ifndef __ISubscriptionMgrPriv_FWD_DEFINED__
  49. #define __ISubscriptionMgrPriv_FWD_DEFINED__
  50. typedef interface ISubscriptionMgrPriv ISubscriptionMgrPriv;
  51. #endif /* __ISubscriptionMgrPriv_FWD_DEFINED__ */
  52. #ifndef __WebCheck_FWD_DEFINED__
  53. #define __WebCheck_FWD_DEFINED__
  54. #ifdef __cplusplus
  55. typedef class WebCheck WebCheck;
  56. #else
  57. typedef struct WebCheck WebCheck;
  58. #endif /* __cplusplus */
  59. #endif /* __WebCheck_FWD_DEFINED__ */
  60. #ifndef __WebCrawlerAgent_FWD_DEFINED__
  61. #define __WebCrawlerAgent_FWD_DEFINED__
  62. #ifdef __cplusplus
  63. typedef class WebCrawlerAgent WebCrawlerAgent;
  64. #else
  65. typedef struct WebCrawlerAgent WebCrawlerAgent;
  66. #endif /* __cplusplus */
  67. #endif /* __WebCrawlerAgent_FWD_DEFINED__ */
  68. #ifndef __ChannelAgent_FWD_DEFINED__
  69. #define __ChannelAgent_FWD_DEFINED__
  70. #ifdef __cplusplus
  71. typedef class ChannelAgent ChannelAgent;
  72. #else
  73. typedef struct ChannelAgent ChannelAgent;
  74. #endif /* __cplusplus */
  75. #endif /* __ChannelAgent_FWD_DEFINED__ */
  76. #ifndef __WebCheckOfflineSync_FWD_DEFINED__
  77. #define __WebCheckOfflineSync_FWD_DEFINED__
  78. #ifdef __cplusplus
  79. typedef class WebCheckOfflineSync WebCheckOfflineSync;
  80. #else
  81. typedef struct WebCheckOfflineSync WebCheckOfflineSync;
  82. #endif /* __cplusplus */
  83. #endif /* __WebCheckOfflineSync_FWD_DEFINED__ */
  84. #ifndef __PostAgent_FWD_DEFINED__
  85. #define __PostAgent_FWD_DEFINED__
  86. #ifdef __cplusplus
  87. typedef class PostAgent PostAgent;
  88. #else
  89. typedef struct PostAgent PostAgent;
  90. #endif /* __cplusplus */
  91. #endif /* __PostAgent_FWD_DEFINED__ */
  92. #ifndef __CDLAgent_FWD_DEFINED__
  93. #define __CDLAgent_FWD_DEFINED__
  94. #ifdef __cplusplus
  95. typedef class CDLAgent CDLAgent;
  96. #else
  97. typedef struct CDLAgent CDLAgent;
  98. #endif /* __cplusplus */
  99. #endif /* __CDLAgent_FWD_DEFINED__ */
  100. /* header files for imported files */
  101. #include "unknwn.h"
  102. #include "subsmgr.h"
  103. #ifdef __cplusplus
  104. extern "C"{
  105. #endif
  106. void * __RPC_USER MIDL_user_allocate(size_t);
  107. void __RPC_USER MIDL_user_free( void * );
  108. /* interface __MIDL_itf_webcheck_0000 */
  109. /* [local] */
  110. // Private File
  111. // This file is not included in the Internet SDK
  112. // Use subsmgr headers for public interfaces
  113. extern const GUID CLSID_SubscriptionThrottler;
  114. extern RPC_IF_HANDLE __MIDL_itf_webcheck_0000_v0_0_c_ifspec;
  115. extern RPC_IF_HANDLE __MIDL_itf_webcheck_0000_v0_0_s_ifspec;
  116. #ifndef __ISubscriptionThrottler_INTERFACE_DEFINED__
  117. #define __ISubscriptionThrottler_INTERFACE_DEFINED__
  118. /* interface ISubscriptionThrottler */
  119. /* [object][uuid] */
  120. EXTERN_C const IID IID_ISubscriptionThrottler;
  121. #if defined(__cplusplus) && !defined(CINTERFACE)
  122. MIDL_INTERFACE("1E9B00E4-9846-11d1-A1EE-00C04FC2FBE1")
  123. ISubscriptionThrottler : public IUnknown
  124. {
  125. public:
  126. virtual HRESULT STDMETHODCALLTYPE GetSubscriptionRunState(
  127. /* [in] */ DWORD dwNumCookies,
  128. /* [size_is][in] */ const SUBSCRIPTIONCOOKIE *pCookies,
  129. /* [size_is][out] */ DWORD *pdwRunState) = 0;
  130. virtual HRESULT STDMETHODCALLTYPE AbortItems(
  131. /* [in] */ DWORD dwNumCookies,
  132. /* [size_is][in] */ const SUBSCRIPTIONCOOKIE *pCookies) = 0;
  133. virtual HRESULT STDMETHODCALLTYPE AbortAll( void) = 0;
  134. };
  135. #else /* C style interface */
  136. typedef struct ISubscriptionThrottlerVtbl
  137. {
  138. BEGIN_INTERFACE
  139. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  140. ISubscriptionThrottler * This,
  141. /* [in] */ REFIID riid,
  142. /* [iid_is][out] */ void **ppvObject);
  143. ULONG ( STDMETHODCALLTYPE *AddRef )(
  144. ISubscriptionThrottler * This);
  145. ULONG ( STDMETHODCALLTYPE *Release )(
  146. ISubscriptionThrottler * This);
  147. HRESULT ( STDMETHODCALLTYPE *GetSubscriptionRunState )(
  148. ISubscriptionThrottler * This,
  149. /* [in] */ DWORD dwNumCookies,
  150. /* [size_is][in] */ const SUBSCRIPTIONCOOKIE *pCookies,
  151. /* [size_is][out] */ DWORD *pdwRunState);
  152. HRESULT ( STDMETHODCALLTYPE *AbortItems )(
  153. ISubscriptionThrottler * This,
  154. /* [in] */ DWORD dwNumCookies,
  155. /* [size_is][in] */ const SUBSCRIPTIONCOOKIE *pCookies);
  156. HRESULT ( STDMETHODCALLTYPE *AbortAll )(
  157. ISubscriptionThrottler * This);
  158. END_INTERFACE
  159. } ISubscriptionThrottlerVtbl;
  160. interface ISubscriptionThrottler
  161. {
  162. CONST_VTBL struct ISubscriptionThrottlerVtbl *lpVtbl;
  163. };
  164. #ifdef COBJMACROS
  165. #define ISubscriptionThrottler_QueryInterface(This,riid,ppvObject) \
  166. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  167. #define ISubscriptionThrottler_AddRef(This) \
  168. (This)->lpVtbl -> AddRef(This)
  169. #define ISubscriptionThrottler_Release(This) \
  170. (This)->lpVtbl -> Release(This)
  171. #define ISubscriptionThrottler_GetSubscriptionRunState(This,dwNumCookies,pCookies,pdwRunState) \
  172. (This)->lpVtbl -> GetSubscriptionRunState(This,dwNumCookies,pCookies,pdwRunState)
  173. #define ISubscriptionThrottler_AbortItems(This,dwNumCookies,pCookies) \
  174. (This)->lpVtbl -> AbortItems(This,dwNumCookies,pCookies)
  175. #define ISubscriptionThrottler_AbortAll(This) \
  176. (This)->lpVtbl -> AbortAll(This)
  177. #endif /* COBJMACROS */
  178. #endif /* C style interface */
  179. HRESULT STDMETHODCALLTYPE ISubscriptionThrottler_GetSubscriptionRunState_Proxy(
  180. ISubscriptionThrottler * This,
  181. /* [in] */ DWORD dwNumCookies,
  182. /* [size_is][in] */ const SUBSCRIPTIONCOOKIE *pCookies,
  183. /* [size_is][out] */ DWORD *pdwRunState);
  184. void __RPC_STUB ISubscriptionThrottler_GetSubscriptionRunState_Stub(
  185. IRpcStubBuffer *This,
  186. IRpcChannelBuffer *_pRpcChannelBuffer,
  187. PRPC_MESSAGE _pRpcMessage,
  188. DWORD *_pdwStubPhase);
  189. HRESULT STDMETHODCALLTYPE ISubscriptionThrottler_AbortItems_Proxy(
  190. ISubscriptionThrottler * This,
  191. /* [in] */ DWORD dwNumCookies,
  192. /* [size_is][in] */ const SUBSCRIPTIONCOOKIE *pCookies);
  193. void __RPC_STUB ISubscriptionThrottler_AbortItems_Stub(
  194. IRpcStubBuffer *This,
  195. IRpcChannelBuffer *_pRpcChannelBuffer,
  196. PRPC_MESSAGE _pRpcMessage,
  197. DWORD *_pdwStubPhase);
  198. HRESULT STDMETHODCALLTYPE ISubscriptionThrottler_AbortAll_Proxy(
  199. ISubscriptionThrottler * This);
  200. void __RPC_STUB ISubscriptionThrottler_AbortAll_Stub(
  201. IRpcStubBuffer *This,
  202. IRpcChannelBuffer *_pRpcChannelBuffer,
  203. PRPC_MESSAGE _pRpcMessage,
  204. DWORD *_pdwStubPhase);
  205. #endif /* __ISubscriptionThrottler_INTERFACE_DEFINED__ */
  206. /* interface __MIDL_itf_webcheck_0267 */
  207. /* [local] */
  208. extern const IID CLSID_WebCheckDefaultProcess;
  209. // Subscription Notifications
  210. // To register your IOleCommandTarget for notifications:
  211. //
  212. // Add your handler under:
  213. // HKLM\Software\Microsoft\Windows\CurrentVersion\Webcheck\Notification Handlers
  214. // as DWORD values with a mask specifying which SUBSNOTF_*
  215. // events you care about.
  216. //
  217. // So the Exec call will look like:
  218. //
  219. // pCmdTarget->Exec(&CLSID_SubscriptionMgr,
  220. // nCmdID,
  221. // 0,
  222. // &varSubsCookie,
  223. // NULL);
  224. //
  225. //
  226. #define SUBSNOTF_CREATE 0x00000001
  227. #define SUBSNOTF_DELETE 0x00000002
  228. #define SUBSNOTF_SYNC_START 0x00000004
  229. #define SUBSNOTF_SYNC_STOP 0x00000008
  230. extern RPC_IF_HANDLE __MIDL_itf_webcheck_0267_v0_0_c_ifspec;
  231. extern RPC_IF_HANDLE __MIDL_itf_webcheck_0267_v0_0_s_ifspec;
  232. #ifndef __WebCheck_LIBRARY_DEFINED__
  233. #define __WebCheck_LIBRARY_DEFINED__
  234. /* library WebCheck */
  235. /* [version][lcid][helpstring][uuid] */
  236. EXTERN_C const IID LIBID_WebCheck;
  237. #ifndef __ISubscriptionAgentControl_INTERFACE_DEFINED__
  238. #define __ISubscriptionAgentControl_INTERFACE_DEFINED__
  239. /* interface ISubscriptionAgentControl */
  240. /* [object][uuid] */
  241. enum SUBSCRIPTION_AGENT_CONTROL
  242. { SUBSCRIPTION_AGENT_DELETE = 0x1
  243. } ;
  244. enum SUBSCRIPTION_AGENT_RESUME_FLAGS
  245. { SUBSCRIPTION_AGENT_RESUME_INCREASED_CACHE = 0x80
  246. } ;
  247. EXTERN_C const IID IID_ISubscriptionAgentControl;
  248. #if defined(__cplusplus) && !defined(CINTERFACE)
  249. MIDL_INTERFACE("A89E8FF0-70F4-11d1-BC7F-00C04FD929DB")
  250. ISubscriptionAgentControl : public IUnknown
  251. {
  252. public:
  253. virtual HRESULT STDMETHODCALLTYPE StartUpdate(
  254. IUnknown *pItem,
  255. IUnknown *punkAdvise) = 0;
  256. virtual HRESULT STDMETHODCALLTYPE PauseUpdate(
  257. DWORD dwFlags) = 0;
  258. virtual HRESULT STDMETHODCALLTYPE ResumeUpdate(
  259. DWORD dwFlags) = 0;
  260. virtual HRESULT STDMETHODCALLTYPE AbortUpdate(
  261. DWORD dwFlags) = 0;
  262. virtual HRESULT STDMETHODCALLTYPE SubscriptionControl(
  263. IUnknown *pItem,
  264. DWORD dwControl) = 0;
  265. };
  266. #else /* C style interface */
  267. typedef struct ISubscriptionAgentControlVtbl
  268. {
  269. BEGIN_INTERFACE
  270. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  271. ISubscriptionAgentControl * This,
  272. /* [in] */ REFIID riid,
  273. /* [iid_is][out] */ void **ppvObject);
  274. ULONG ( STDMETHODCALLTYPE *AddRef )(
  275. ISubscriptionAgentControl * This);
  276. ULONG ( STDMETHODCALLTYPE *Release )(
  277. ISubscriptionAgentControl * This);
  278. HRESULT ( STDMETHODCALLTYPE *StartUpdate )(
  279. ISubscriptionAgentControl * This,
  280. IUnknown *pItem,
  281. IUnknown *punkAdvise);
  282. HRESULT ( STDMETHODCALLTYPE *PauseUpdate )(
  283. ISubscriptionAgentControl * This,
  284. DWORD dwFlags);
  285. HRESULT ( STDMETHODCALLTYPE *ResumeUpdate )(
  286. ISubscriptionAgentControl * This,
  287. DWORD dwFlags);
  288. HRESULT ( STDMETHODCALLTYPE *AbortUpdate )(
  289. ISubscriptionAgentControl * This,
  290. DWORD dwFlags);
  291. HRESULT ( STDMETHODCALLTYPE *SubscriptionControl )(
  292. ISubscriptionAgentControl * This,
  293. IUnknown *pItem,
  294. DWORD dwControl);
  295. END_INTERFACE
  296. } ISubscriptionAgentControlVtbl;
  297. interface ISubscriptionAgentControl
  298. {
  299. CONST_VTBL struct ISubscriptionAgentControlVtbl *lpVtbl;
  300. };
  301. #ifdef COBJMACROS
  302. #define ISubscriptionAgentControl_QueryInterface(This,riid,ppvObject) \
  303. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  304. #define ISubscriptionAgentControl_AddRef(This) \
  305. (This)->lpVtbl -> AddRef(This)
  306. #define ISubscriptionAgentControl_Release(This) \
  307. (This)->lpVtbl -> Release(This)
  308. #define ISubscriptionAgentControl_StartUpdate(This,pItem,punkAdvise) \
  309. (This)->lpVtbl -> StartUpdate(This,pItem,punkAdvise)
  310. #define ISubscriptionAgentControl_PauseUpdate(This,dwFlags) \
  311. (This)->lpVtbl -> PauseUpdate(This,dwFlags)
  312. #define ISubscriptionAgentControl_ResumeUpdate(This,dwFlags) \
  313. (This)->lpVtbl -> ResumeUpdate(This,dwFlags)
  314. #define ISubscriptionAgentControl_AbortUpdate(This,dwFlags) \
  315. (This)->lpVtbl -> AbortUpdate(This,dwFlags)
  316. #define ISubscriptionAgentControl_SubscriptionControl(This,pItem,dwControl) \
  317. (This)->lpVtbl -> SubscriptionControl(This,pItem,dwControl)
  318. #endif /* COBJMACROS */
  319. #endif /* C style interface */
  320. HRESULT STDMETHODCALLTYPE ISubscriptionAgentControl_StartUpdate_Proxy(
  321. ISubscriptionAgentControl * This,
  322. IUnknown *pItem,
  323. IUnknown *punkAdvise);
  324. void __RPC_STUB ISubscriptionAgentControl_StartUpdate_Stub(
  325. IRpcStubBuffer *This,
  326. IRpcChannelBuffer *_pRpcChannelBuffer,
  327. PRPC_MESSAGE _pRpcMessage,
  328. DWORD *_pdwStubPhase);
  329. HRESULT STDMETHODCALLTYPE ISubscriptionAgentControl_PauseUpdate_Proxy(
  330. ISubscriptionAgentControl * This,
  331. DWORD dwFlags);
  332. void __RPC_STUB ISubscriptionAgentControl_PauseUpdate_Stub(
  333. IRpcStubBuffer *This,
  334. IRpcChannelBuffer *_pRpcChannelBuffer,
  335. PRPC_MESSAGE _pRpcMessage,
  336. DWORD *_pdwStubPhase);
  337. HRESULT STDMETHODCALLTYPE ISubscriptionAgentControl_ResumeUpdate_Proxy(
  338. ISubscriptionAgentControl * This,
  339. DWORD dwFlags);
  340. void __RPC_STUB ISubscriptionAgentControl_ResumeUpdate_Stub(
  341. IRpcStubBuffer *This,
  342. IRpcChannelBuffer *_pRpcChannelBuffer,
  343. PRPC_MESSAGE _pRpcMessage,
  344. DWORD *_pdwStubPhase);
  345. HRESULT STDMETHODCALLTYPE ISubscriptionAgentControl_AbortUpdate_Proxy(
  346. ISubscriptionAgentControl * This,
  347. DWORD dwFlags);
  348. void __RPC_STUB ISubscriptionAgentControl_AbortUpdate_Stub(
  349. IRpcStubBuffer *This,
  350. IRpcChannelBuffer *_pRpcChannelBuffer,
  351. PRPC_MESSAGE _pRpcMessage,
  352. DWORD *_pdwStubPhase);
  353. HRESULT STDMETHODCALLTYPE ISubscriptionAgentControl_SubscriptionControl_Proxy(
  354. ISubscriptionAgentControl * This,
  355. IUnknown *pItem,
  356. DWORD dwControl);
  357. void __RPC_STUB ISubscriptionAgentControl_SubscriptionControl_Stub(
  358. IRpcStubBuffer *This,
  359. IRpcChannelBuffer *_pRpcChannelBuffer,
  360. PRPC_MESSAGE _pRpcMessage,
  361. DWORD *_pdwStubPhase);
  362. #endif /* __ISubscriptionAgentControl_INTERFACE_DEFINED__ */
  363. #ifndef __ISubscriptionAgentShellExt_INTERFACE_DEFINED__
  364. #define __ISubscriptionAgentShellExt_INTERFACE_DEFINED__
  365. /* interface ISubscriptionAgentShellExt */
  366. /* [object][uuid] */
  367. EXTERN_C const IID IID_ISubscriptionAgentShellExt;
  368. #if defined(__cplusplus) && !defined(CINTERFACE)
  369. MIDL_INTERFACE("81B184BA-B302-11d1-8552-00C04FA35C89")
  370. ISubscriptionAgentShellExt : public IUnknown
  371. {
  372. public:
  373. virtual HRESULT STDMETHODCALLTYPE Initialize(
  374. /* [in] */ SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
  375. /* [in] */ LPCWSTR pwszURL,
  376. /* [in] */ LPCWSTR pwszName,
  377. /* [in] */ SUBSCRIPTIONTYPE subsType) = 0;
  378. virtual HRESULT STDMETHODCALLTYPE RemovePages(
  379. /* [in] */ HWND hdlg) = 0;
  380. virtual HRESULT STDMETHODCALLTYPE SaveSubscription( void) = 0;
  381. virtual HRESULT STDMETHODCALLTYPE URLChange(
  382. /* [in] */ LPCWSTR pwszNewURL) = 0;
  383. };
  384. #else /* C style interface */
  385. typedef struct ISubscriptionAgentShellExtVtbl
  386. {
  387. BEGIN_INTERFACE
  388. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  389. ISubscriptionAgentShellExt * This,
  390. /* [in] */ REFIID riid,
  391. /* [iid_is][out] */ void **ppvObject);
  392. ULONG ( STDMETHODCALLTYPE *AddRef )(
  393. ISubscriptionAgentShellExt * This);
  394. ULONG ( STDMETHODCALLTYPE *Release )(
  395. ISubscriptionAgentShellExt * This);
  396. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  397. ISubscriptionAgentShellExt * This,
  398. /* [in] */ SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
  399. /* [in] */ LPCWSTR pwszURL,
  400. /* [in] */ LPCWSTR pwszName,
  401. /* [in] */ SUBSCRIPTIONTYPE subsType);
  402. HRESULT ( STDMETHODCALLTYPE *RemovePages )(
  403. ISubscriptionAgentShellExt * This,
  404. /* [in] */ HWND hdlg);
  405. HRESULT ( STDMETHODCALLTYPE *SaveSubscription )(
  406. ISubscriptionAgentShellExt * This);
  407. HRESULT ( STDMETHODCALLTYPE *URLChange )(
  408. ISubscriptionAgentShellExt * This,
  409. /* [in] */ LPCWSTR pwszNewURL);
  410. END_INTERFACE
  411. } ISubscriptionAgentShellExtVtbl;
  412. interface ISubscriptionAgentShellExt
  413. {
  414. CONST_VTBL struct ISubscriptionAgentShellExtVtbl *lpVtbl;
  415. };
  416. #ifdef COBJMACROS
  417. #define ISubscriptionAgentShellExt_QueryInterface(This,riid,ppvObject) \
  418. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  419. #define ISubscriptionAgentShellExt_AddRef(This) \
  420. (This)->lpVtbl -> AddRef(This)
  421. #define ISubscriptionAgentShellExt_Release(This) \
  422. (This)->lpVtbl -> Release(This)
  423. #define ISubscriptionAgentShellExt_Initialize(This,pSubscriptionCookie,pwszURL,pwszName,subsType) \
  424. (This)->lpVtbl -> Initialize(This,pSubscriptionCookie,pwszURL,pwszName,subsType)
  425. #define ISubscriptionAgentShellExt_RemovePages(This,hdlg) \
  426. (This)->lpVtbl -> RemovePages(This,hdlg)
  427. #define ISubscriptionAgentShellExt_SaveSubscription(This) \
  428. (This)->lpVtbl -> SaveSubscription(This)
  429. #define ISubscriptionAgentShellExt_URLChange(This,pwszNewURL) \
  430. (This)->lpVtbl -> URLChange(This,pwszNewURL)
  431. #endif /* COBJMACROS */
  432. #endif /* C style interface */
  433. HRESULT STDMETHODCALLTYPE ISubscriptionAgentShellExt_Initialize_Proxy(
  434. ISubscriptionAgentShellExt * This,
  435. /* [in] */ SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
  436. /* [in] */ LPCWSTR pwszURL,
  437. /* [in] */ LPCWSTR pwszName,
  438. /* [in] */ SUBSCRIPTIONTYPE subsType);
  439. void __RPC_STUB ISubscriptionAgentShellExt_Initialize_Stub(
  440. IRpcStubBuffer *This,
  441. IRpcChannelBuffer *_pRpcChannelBuffer,
  442. PRPC_MESSAGE _pRpcMessage,
  443. DWORD *_pdwStubPhase);
  444. HRESULT STDMETHODCALLTYPE ISubscriptionAgentShellExt_RemovePages_Proxy(
  445. ISubscriptionAgentShellExt * This,
  446. /* [in] */ HWND hdlg);
  447. void __RPC_STUB ISubscriptionAgentShellExt_RemovePages_Stub(
  448. IRpcStubBuffer *This,
  449. IRpcChannelBuffer *_pRpcChannelBuffer,
  450. PRPC_MESSAGE _pRpcMessage,
  451. DWORD *_pdwStubPhase);
  452. HRESULT STDMETHODCALLTYPE ISubscriptionAgentShellExt_SaveSubscription_Proxy(
  453. ISubscriptionAgentShellExt * This);
  454. void __RPC_STUB ISubscriptionAgentShellExt_SaveSubscription_Stub(
  455. IRpcStubBuffer *This,
  456. IRpcChannelBuffer *_pRpcChannelBuffer,
  457. PRPC_MESSAGE _pRpcMessage,
  458. DWORD *_pdwStubPhase);
  459. HRESULT STDMETHODCALLTYPE ISubscriptionAgentShellExt_URLChange_Proxy(
  460. ISubscriptionAgentShellExt * This,
  461. /* [in] */ LPCWSTR pwszNewURL);
  462. void __RPC_STUB ISubscriptionAgentShellExt_URLChange_Stub(
  463. IRpcStubBuffer *This,
  464. IRpcChannelBuffer *_pRpcChannelBuffer,
  465. PRPC_MESSAGE _pRpcMessage,
  466. DWORD *_pdwStubPhase);
  467. #endif /* __ISubscriptionAgentShellExt_INTERFACE_DEFINED__ */
  468. #ifndef __ISubscriptionAgentEvents_INTERFACE_DEFINED__
  469. #define __ISubscriptionAgentEvents_INTERFACE_DEFINED__
  470. /* interface ISubscriptionAgentEvents */
  471. /* [object][uuid] */
  472. EXTERN_C const IID IID_ISubscriptionAgentEvents;
  473. #if defined(__cplusplus) && !defined(CINTERFACE)
  474. MIDL_INTERFACE("A89E8FF1-70F4-11d1-BC7F-00C04FD929DB")
  475. ISubscriptionAgentEvents : public IUnknown
  476. {
  477. public:
  478. virtual HRESULT STDMETHODCALLTYPE UpdateBegin(
  479. const SUBSCRIPTIONCOOKIE *pSubscriptionCookie) = 0;
  480. virtual HRESULT STDMETHODCALLTYPE UpdateProgress(
  481. const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
  482. long lSizeDownloaded,
  483. long lProgressCurrent,
  484. long lProgressMax,
  485. HRESULT hrStatus,
  486. LPCWSTR wszStatus) = 0;
  487. virtual HRESULT STDMETHODCALLTYPE UpdateEnd(
  488. const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
  489. long lSizeDownloaded,
  490. HRESULT hrResult,
  491. LPCWSTR wszResult) = 0;
  492. virtual HRESULT STDMETHODCALLTYPE ReportError(
  493. const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
  494. HRESULT hrError,
  495. LPCWSTR wszError) = 0;
  496. };
  497. #else /* C style interface */
  498. typedef struct ISubscriptionAgentEventsVtbl
  499. {
  500. BEGIN_INTERFACE
  501. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  502. ISubscriptionAgentEvents * This,
  503. /* [in] */ REFIID riid,
  504. /* [iid_is][out] */ void **ppvObject);
  505. ULONG ( STDMETHODCALLTYPE *AddRef )(
  506. ISubscriptionAgentEvents * This);
  507. ULONG ( STDMETHODCALLTYPE *Release )(
  508. ISubscriptionAgentEvents * This);
  509. HRESULT ( STDMETHODCALLTYPE *UpdateBegin )(
  510. ISubscriptionAgentEvents * This,
  511. const SUBSCRIPTIONCOOKIE *pSubscriptionCookie);
  512. HRESULT ( STDMETHODCALLTYPE *UpdateProgress )(
  513. ISubscriptionAgentEvents * This,
  514. const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
  515. long lSizeDownloaded,
  516. long lProgressCurrent,
  517. long lProgressMax,
  518. HRESULT hrStatus,
  519. LPCWSTR wszStatus);
  520. HRESULT ( STDMETHODCALLTYPE *UpdateEnd )(
  521. ISubscriptionAgentEvents * This,
  522. const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
  523. long lSizeDownloaded,
  524. HRESULT hrResult,
  525. LPCWSTR wszResult);
  526. HRESULT ( STDMETHODCALLTYPE *ReportError )(
  527. ISubscriptionAgentEvents * This,
  528. const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
  529. HRESULT hrError,
  530. LPCWSTR wszError);
  531. END_INTERFACE
  532. } ISubscriptionAgentEventsVtbl;
  533. interface ISubscriptionAgentEvents
  534. {
  535. CONST_VTBL struct ISubscriptionAgentEventsVtbl *lpVtbl;
  536. };
  537. #ifdef COBJMACROS
  538. #define ISubscriptionAgentEvents_QueryInterface(This,riid,ppvObject) \
  539. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  540. #define ISubscriptionAgentEvents_AddRef(This) \
  541. (This)->lpVtbl -> AddRef(This)
  542. #define ISubscriptionAgentEvents_Release(This) \
  543. (This)->lpVtbl -> Release(This)
  544. #define ISubscriptionAgentEvents_UpdateBegin(This,pSubscriptionCookie) \
  545. (This)->lpVtbl -> UpdateBegin(This,pSubscriptionCookie)
  546. #define ISubscriptionAgentEvents_UpdateProgress(This,pSubscriptionCookie,lSizeDownloaded,lProgressCurrent,lProgressMax,hrStatus,wszStatus) \
  547. (This)->lpVtbl -> UpdateProgress(This,pSubscriptionCookie,lSizeDownloaded,lProgressCurrent,lProgressMax,hrStatus,wszStatus)
  548. #define ISubscriptionAgentEvents_UpdateEnd(This,pSubscriptionCookie,lSizeDownloaded,hrResult,wszResult) \
  549. (This)->lpVtbl -> UpdateEnd(This,pSubscriptionCookie,lSizeDownloaded,hrResult,wszResult)
  550. #define ISubscriptionAgentEvents_ReportError(This,pSubscriptionCookie,hrError,wszError) \
  551. (This)->lpVtbl -> ReportError(This,pSubscriptionCookie,hrError,wszError)
  552. #endif /* COBJMACROS */
  553. #endif /* C style interface */
  554. HRESULT STDMETHODCALLTYPE ISubscriptionAgentEvents_UpdateBegin_Proxy(
  555. ISubscriptionAgentEvents * This,
  556. const SUBSCRIPTIONCOOKIE *pSubscriptionCookie);
  557. void __RPC_STUB ISubscriptionAgentEvents_UpdateBegin_Stub(
  558. IRpcStubBuffer *This,
  559. IRpcChannelBuffer *_pRpcChannelBuffer,
  560. PRPC_MESSAGE _pRpcMessage,
  561. DWORD *_pdwStubPhase);
  562. HRESULT STDMETHODCALLTYPE ISubscriptionAgentEvents_UpdateProgress_Proxy(
  563. ISubscriptionAgentEvents * This,
  564. const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
  565. long lSizeDownloaded,
  566. long lProgressCurrent,
  567. long lProgressMax,
  568. HRESULT hrStatus,
  569. LPCWSTR wszStatus);
  570. void __RPC_STUB ISubscriptionAgentEvents_UpdateProgress_Stub(
  571. IRpcStubBuffer *This,
  572. IRpcChannelBuffer *_pRpcChannelBuffer,
  573. PRPC_MESSAGE _pRpcMessage,
  574. DWORD *_pdwStubPhase);
  575. HRESULT STDMETHODCALLTYPE ISubscriptionAgentEvents_UpdateEnd_Proxy(
  576. ISubscriptionAgentEvents * This,
  577. const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
  578. long lSizeDownloaded,
  579. HRESULT hrResult,
  580. LPCWSTR wszResult);
  581. void __RPC_STUB ISubscriptionAgentEvents_UpdateEnd_Stub(
  582. IRpcStubBuffer *This,
  583. IRpcChannelBuffer *_pRpcChannelBuffer,
  584. PRPC_MESSAGE _pRpcMessage,
  585. DWORD *_pdwStubPhase);
  586. HRESULT STDMETHODCALLTYPE ISubscriptionAgentEvents_ReportError_Proxy(
  587. ISubscriptionAgentEvents * This,
  588. const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
  589. HRESULT hrError,
  590. LPCWSTR wszError);
  591. void __RPC_STUB ISubscriptionAgentEvents_ReportError_Stub(
  592. IRpcStubBuffer *This,
  593. IRpcChannelBuffer *_pRpcChannelBuffer,
  594. PRPC_MESSAGE _pRpcMessage,
  595. DWORD *_pdwStubPhase);
  596. #endif /* __ISubscriptionAgentEvents_INTERFACE_DEFINED__ */
  597. #ifndef __ISubscriptionMgrPriv_INTERFACE_DEFINED__
  598. #define __ISubscriptionMgrPriv_INTERFACE_DEFINED__
  599. /* interface ISubscriptionMgrPriv */
  600. /* [object][uuid] */
  601. EXTERN_C const IID IID_ISubscriptionMgrPriv;
  602. #if defined(__cplusplus) && !defined(CINTERFACE)
  603. MIDL_INTERFACE("D66B399E-AF1D-11d1-A1F9-00C04FC2FBE1")
  604. ISubscriptionMgrPriv : public IUnknown
  605. {
  606. public:
  607. virtual HRESULT STDMETHODCALLTYPE CreateSubscriptionItem(
  608. /* [in] */ const SUBSCRIPTIONITEMINFO *pSubscriptionItemInfo,
  609. /* [out] */ SUBSCRIPTIONCOOKIE *pNewCookie,
  610. /* [out] */ ISubscriptionItem **ppSubscriptionItem) = 0;
  611. virtual HRESULT STDMETHODCALLTYPE CloneSubscriptionItem(
  612. /* [in] */ ISubscriptionItem *pSubscriptionItem,
  613. /* [out] */ SUBSCRIPTIONCOOKIE *pNewCookie,
  614. /* [out] */ ISubscriptionItem **ppSubscriptionItem) = 0;
  615. virtual HRESULT STDMETHODCALLTYPE DeleteSubscriptionItem(
  616. /* [in] */ const SUBSCRIPTIONCOOKIE *pCookie) = 0;
  617. virtual HRESULT STDMETHODCALLTYPE RemovePages(
  618. /* [in] */ HWND hdlg) = 0;
  619. virtual HRESULT STDMETHODCALLTYPE SaveSubscription( void) = 0;
  620. virtual HRESULT STDMETHODCALLTYPE URLChange(
  621. LPCWSTR pwszNewURL) = 0;
  622. };
  623. #else /* C style interface */
  624. typedef struct ISubscriptionMgrPrivVtbl
  625. {
  626. BEGIN_INTERFACE
  627. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  628. ISubscriptionMgrPriv * This,
  629. /* [in] */ REFIID riid,
  630. /* [iid_is][out] */ void **ppvObject);
  631. ULONG ( STDMETHODCALLTYPE *AddRef )(
  632. ISubscriptionMgrPriv * This);
  633. ULONG ( STDMETHODCALLTYPE *Release )(
  634. ISubscriptionMgrPriv * This);
  635. HRESULT ( STDMETHODCALLTYPE *CreateSubscriptionItem )(
  636. ISubscriptionMgrPriv * This,
  637. /* [in] */ const SUBSCRIPTIONITEMINFO *pSubscriptionItemInfo,
  638. /* [out] */ SUBSCRIPTIONCOOKIE *pNewCookie,
  639. /* [out] */ ISubscriptionItem **ppSubscriptionItem);
  640. HRESULT ( STDMETHODCALLTYPE *CloneSubscriptionItem )(
  641. ISubscriptionMgrPriv * This,
  642. /* [in] */ ISubscriptionItem *pSubscriptionItem,
  643. /* [out] */ SUBSCRIPTIONCOOKIE *pNewCookie,
  644. /* [out] */ ISubscriptionItem **ppSubscriptionItem);
  645. HRESULT ( STDMETHODCALLTYPE *DeleteSubscriptionItem )(
  646. ISubscriptionMgrPriv * This,
  647. /* [in] */ const SUBSCRIPTIONCOOKIE *pCookie);
  648. HRESULT ( STDMETHODCALLTYPE *RemovePages )(
  649. ISubscriptionMgrPriv * This,
  650. /* [in] */ HWND hdlg);
  651. HRESULT ( STDMETHODCALLTYPE *SaveSubscription )(
  652. ISubscriptionMgrPriv * This);
  653. HRESULT ( STDMETHODCALLTYPE *URLChange )(
  654. ISubscriptionMgrPriv * This,
  655. LPCWSTR pwszNewURL);
  656. END_INTERFACE
  657. } ISubscriptionMgrPrivVtbl;
  658. interface ISubscriptionMgrPriv
  659. {
  660. CONST_VTBL struct ISubscriptionMgrPrivVtbl *lpVtbl;
  661. };
  662. #ifdef COBJMACROS
  663. #define ISubscriptionMgrPriv_QueryInterface(This,riid,ppvObject) \
  664. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  665. #define ISubscriptionMgrPriv_AddRef(This) \
  666. (This)->lpVtbl -> AddRef(This)
  667. #define ISubscriptionMgrPriv_Release(This) \
  668. (This)->lpVtbl -> Release(This)
  669. #define ISubscriptionMgrPriv_CreateSubscriptionItem(This,pSubscriptionItemInfo,pNewCookie,ppSubscriptionItem) \
  670. (This)->lpVtbl -> CreateSubscriptionItem(This,pSubscriptionItemInfo,pNewCookie,ppSubscriptionItem)
  671. #define ISubscriptionMgrPriv_CloneSubscriptionItem(This,pSubscriptionItem,pNewCookie,ppSubscriptionItem) \
  672. (This)->lpVtbl -> CloneSubscriptionItem(This,pSubscriptionItem,pNewCookie,ppSubscriptionItem)
  673. #define ISubscriptionMgrPriv_DeleteSubscriptionItem(This,pCookie) \
  674. (This)->lpVtbl -> DeleteSubscriptionItem(This,pCookie)
  675. #define ISubscriptionMgrPriv_RemovePages(This,hdlg) \
  676. (This)->lpVtbl -> RemovePages(This,hdlg)
  677. #define ISubscriptionMgrPriv_SaveSubscription(This) \
  678. (This)->lpVtbl -> SaveSubscription(This)
  679. #define ISubscriptionMgrPriv_URLChange(This,pwszNewURL) \
  680. (This)->lpVtbl -> URLChange(This,pwszNewURL)
  681. #endif /* COBJMACROS */
  682. #endif /* C style interface */
  683. HRESULT STDMETHODCALLTYPE ISubscriptionMgrPriv_CreateSubscriptionItem_Proxy(
  684. ISubscriptionMgrPriv * This,
  685. /* [in] */ const SUBSCRIPTIONITEMINFO *pSubscriptionItemInfo,
  686. /* [out] */ SUBSCRIPTIONCOOKIE *pNewCookie,
  687. /* [out] */ ISubscriptionItem **ppSubscriptionItem);
  688. void __RPC_STUB ISubscriptionMgrPriv_CreateSubscriptionItem_Stub(
  689. IRpcStubBuffer *This,
  690. IRpcChannelBuffer *_pRpcChannelBuffer,
  691. PRPC_MESSAGE _pRpcMessage,
  692. DWORD *_pdwStubPhase);
  693. HRESULT STDMETHODCALLTYPE ISubscriptionMgrPriv_CloneSubscriptionItem_Proxy(
  694. ISubscriptionMgrPriv * This,
  695. /* [in] */ ISubscriptionItem *pSubscriptionItem,
  696. /* [out] */ SUBSCRIPTIONCOOKIE *pNewCookie,
  697. /* [out] */ ISubscriptionItem **ppSubscriptionItem);
  698. void __RPC_STUB ISubscriptionMgrPriv_CloneSubscriptionItem_Stub(
  699. IRpcStubBuffer *This,
  700. IRpcChannelBuffer *_pRpcChannelBuffer,
  701. PRPC_MESSAGE _pRpcMessage,
  702. DWORD *_pdwStubPhase);
  703. HRESULT STDMETHODCALLTYPE ISubscriptionMgrPriv_DeleteSubscriptionItem_Proxy(
  704. ISubscriptionMgrPriv * This,
  705. /* [in] */ const SUBSCRIPTIONCOOKIE *pCookie);
  706. void __RPC_STUB ISubscriptionMgrPriv_DeleteSubscriptionItem_Stub(
  707. IRpcStubBuffer *This,
  708. IRpcChannelBuffer *_pRpcChannelBuffer,
  709. PRPC_MESSAGE _pRpcMessage,
  710. DWORD *_pdwStubPhase);
  711. HRESULT STDMETHODCALLTYPE ISubscriptionMgrPriv_RemovePages_Proxy(
  712. ISubscriptionMgrPriv * This,
  713. /* [in] */ HWND hdlg);
  714. void __RPC_STUB ISubscriptionMgrPriv_RemovePages_Stub(
  715. IRpcStubBuffer *This,
  716. IRpcChannelBuffer *_pRpcChannelBuffer,
  717. PRPC_MESSAGE _pRpcMessage,
  718. DWORD *_pdwStubPhase);
  719. HRESULT STDMETHODCALLTYPE ISubscriptionMgrPriv_SaveSubscription_Proxy(
  720. ISubscriptionMgrPriv * This);
  721. void __RPC_STUB ISubscriptionMgrPriv_SaveSubscription_Stub(
  722. IRpcStubBuffer *This,
  723. IRpcChannelBuffer *_pRpcChannelBuffer,
  724. PRPC_MESSAGE _pRpcMessage,
  725. DWORD *_pdwStubPhase);
  726. HRESULT STDMETHODCALLTYPE ISubscriptionMgrPriv_URLChange_Proxy(
  727. ISubscriptionMgrPriv * This,
  728. LPCWSTR pwszNewURL);
  729. void __RPC_STUB ISubscriptionMgrPriv_URLChange_Stub(
  730. IRpcStubBuffer *This,
  731. IRpcChannelBuffer *_pRpcChannelBuffer,
  732. PRPC_MESSAGE _pRpcMessage,
  733. DWORD *_pdwStubPhase);
  734. #endif /* __ISubscriptionMgrPriv_INTERFACE_DEFINED__ */
  735. EXTERN_C const CLSID CLSID_WebCheck;
  736. #ifdef __cplusplus
  737. class DECLSPEC_UUID("E6FB5E20-DE35-11CF-9C87-00AA005127ED")
  738. WebCheck;
  739. #endif
  740. EXTERN_C const CLSID CLSID_WebCrawlerAgent;
  741. #ifdef __cplusplus
  742. class DECLSPEC_UUID("08165EA0-E946-11CF-9C87-00AA005127ED")
  743. WebCrawlerAgent;
  744. #endif
  745. EXTERN_C const CLSID CLSID_ChannelAgent;
  746. #ifdef __cplusplus
  747. class DECLSPEC_UUID("E3A8BDE6-ABCE-11d0-BC4B-00C04FD929DB")
  748. ChannelAgent;
  749. #endif
  750. EXTERN_C const CLSID CLSID_WebCheckOfflineSync;
  751. #ifdef __cplusplus
  752. class DECLSPEC_UUID("7FC0B86E-5FA7-11d1-BC7C-00C04FD929DB")
  753. WebCheckOfflineSync;
  754. #endif
  755. EXTERN_C const CLSID CLSID_PostAgent;
  756. #ifdef __cplusplus
  757. class DECLSPEC_UUID("d8bd2030-6fC9-11d0-864f-00aa006809d9")
  758. PostAgent;
  759. #endif
  760. EXTERN_C const CLSID CLSID_CDLAgent;
  761. #ifdef __cplusplus
  762. class DECLSPEC_UUID("7D559C10-9FE9-11d0-93F7-00AA0059CE02")
  763. CDLAgent;
  764. #endif
  765. #endif /* __WebCheck_LIBRARY_DEFINED__ */
  766. /* Additional Prototypes for ALL interfaces */
  767. /* end of Additional Prototypes */
  768. #ifdef __cplusplus
  769. }
  770. #endif
  771. #endif