windows-nt/Source/XPSP1/NT/public/sdk/inc/webcheck.h
2020-09-26 16:20:57 +08:00

1159 lines
33 KiB
C++

#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 6.00.0347 */
/* Compiler settings for webcheck.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING( )
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __webcheck_h__
#define __webcheck_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __ISubscriptionThrottler_FWD_DEFINED__
#define __ISubscriptionThrottler_FWD_DEFINED__
typedef interface ISubscriptionThrottler ISubscriptionThrottler;
#endif /* __ISubscriptionThrottler_FWD_DEFINED__ */
#ifndef __ISubscriptionAgentControl_FWD_DEFINED__
#define __ISubscriptionAgentControl_FWD_DEFINED__
typedef interface ISubscriptionAgentControl ISubscriptionAgentControl;
#endif /* __ISubscriptionAgentControl_FWD_DEFINED__ */
#ifndef __ISubscriptionAgentShellExt_FWD_DEFINED__
#define __ISubscriptionAgentShellExt_FWD_DEFINED__
typedef interface ISubscriptionAgentShellExt ISubscriptionAgentShellExt;
#endif /* __ISubscriptionAgentShellExt_FWD_DEFINED__ */
#ifndef __ISubscriptionAgentEvents_FWD_DEFINED__
#define __ISubscriptionAgentEvents_FWD_DEFINED__
typedef interface ISubscriptionAgentEvents ISubscriptionAgentEvents;
#endif /* __ISubscriptionAgentEvents_FWD_DEFINED__ */
#ifndef __ISubscriptionMgrPriv_FWD_DEFINED__
#define __ISubscriptionMgrPriv_FWD_DEFINED__
typedef interface ISubscriptionMgrPriv ISubscriptionMgrPriv;
#endif /* __ISubscriptionMgrPriv_FWD_DEFINED__ */
#ifndef __WebCheck_FWD_DEFINED__
#define __WebCheck_FWD_DEFINED__
#ifdef __cplusplus
typedef class WebCheck WebCheck;
#else
typedef struct WebCheck WebCheck;
#endif /* __cplusplus */
#endif /* __WebCheck_FWD_DEFINED__ */
#ifndef __WebCrawlerAgent_FWD_DEFINED__
#define __WebCrawlerAgent_FWD_DEFINED__
#ifdef __cplusplus
typedef class WebCrawlerAgent WebCrawlerAgent;
#else
typedef struct WebCrawlerAgent WebCrawlerAgent;
#endif /* __cplusplus */
#endif /* __WebCrawlerAgent_FWD_DEFINED__ */
#ifndef __ChannelAgent_FWD_DEFINED__
#define __ChannelAgent_FWD_DEFINED__
#ifdef __cplusplus
typedef class ChannelAgent ChannelAgent;
#else
typedef struct ChannelAgent ChannelAgent;
#endif /* __cplusplus */
#endif /* __ChannelAgent_FWD_DEFINED__ */
#ifndef __WebCheckOfflineSync_FWD_DEFINED__
#define __WebCheckOfflineSync_FWD_DEFINED__
#ifdef __cplusplus
typedef class WebCheckOfflineSync WebCheckOfflineSync;
#else
typedef struct WebCheckOfflineSync WebCheckOfflineSync;
#endif /* __cplusplus */
#endif /* __WebCheckOfflineSync_FWD_DEFINED__ */
#ifndef __PostAgent_FWD_DEFINED__
#define __PostAgent_FWD_DEFINED__
#ifdef __cplusplus
typedef class PostAgent PostAgent;
#else
typedef struct PostAgent PostAgent;
#endif /* __cplusplus */
#endif /* __PostAgent_FWD_DEFINED__ */
#ifndef __CDLAgent_FWD_DEFINED__
#define __CDLAgent_FWD_DEFINED__
#ifdef __cplusplus
typedef class CDLAgent CDLAgent;
#else
typedef struct CDLAgent CDLAgent;
#endif /* __cplusplus */
#endif /* __CDLAgent_FWD_DEFINED__ */
/* header files for imported files */
#include "unknwn.h"
#include "subsmgr.h"
#ifdef __cplusplus
extern "C"{
#endif
void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * );
/* interface __MIDL_itf_webcheck_0000 */
/* [local] */
// Private File
// This file is not included in the Internet SDK
// Use subsmgr headers for public interfaces
extern const GUID CLSID_SubscriptionThrottler;
extern RPC_IF_HANDLE __MIDL_itf_webcheck_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_webcheck_0000_v0_0_s_ifspec;
#ifndef __ISubscriptionThrottler_INTERFACE_DEFINED__
#define __ISubscriptionThrottler_INTERFACE_DEFINED__
/* interface ISubscriptionThrottler */
/* [object][uuid] */
EXTERN_C const IID IID_ISubscriptionThrottler;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1E9B00E4-9846-11d1-A1EE-00C04FC2FBE1")
ISubscriptionThrottler : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE GetSubscriptionRunState(
/* [in] */ DWORD dwNumCookies,
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE *pCookies,
/* [size_is][out] */ DWORD *pdwRunState) = 0;
virtual HRESULT STDMETHODCALLTYPE AbortItems(
/* [in] */ DWORD dwNumCookies,
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE *pCookies) = 0;
virtual HRESULT STDMETHODCALLTYPE AbortAll( void) = 0;
};
#else /* C style interface */
typedef struct ISubscriptionThrottlerVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISubscriptionThrottler * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISubscriptionThrottler * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISubscriptionThrottler * This);
HRESULT ( STDMETHODCALLTYPE *GetSubscriptionRunState )(
ISubscriptionThrottler * This,
/* [in] */ DWORD dwNumCookies,
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE *pCookies,
/* [size_is][out] */ DWORD *pdwRunState);
HRESULT ( STDMETHODCALLTYPE *AbortItems )(
ISubscriptionThrottler * This,
/* [in] */ DWORD dwNumCookies,
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE *pCookies);
HRESULT ( STDMETHODCALLTYPE *AbortAll )(
ISubscriptionThrottler * This);
END_INTERFACE
} ISubscriptionThrottlerVtbl;
interface ISubscriptionThrottler
{
CONST_VTBL struct ISubscriptionThrottlerVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISubscriptionThrottler_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ISubscriptionThrottler_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ISubscriptionThrottler_Release(This) \
(This)->lpVtbl -> Release(This)
#define ISubscriptionThrottler_GetSubscriptionRunState(This,dwNumCookies,pCookies,pdwRunState) \
(This)->lpVtbl -> GetSubscriptionRunState(This,dwNumCookies,pCookies,pdwRunState)
#define ISubscriptionThrottler_AbortItems(This,dwNumCookies,pCookies) \
(This)->lpVtbl -> AbortItems(This,dwNumCookies,pCookies)
#define ISubscriptionThrottler_AbortAll(This) \
(This)->lpVtbl -> AbortAll(This)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE ISubscriptionThrottler_GetSubscriptionRunState_Proxy(
ISubscriptionThrottler * This,
/* [in] */ DWORD dwNumCookies,
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE *pCookies,
/* [size_is][out] */ DWORD *pdwRunState);
void __RPC_STUB ISubscriptionThrottler_GetSubscriptionRunState_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionThrottler_AbortItems_Proxy(
ISubscriptionThrottler * This,
/* [in] */ DWORD dwNumCookies,
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE *pCookies);
void __RPC_STUB ISubscriptionThrottler_AbortItems_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionThrottler_AbortAll_Proxy(
ISubscriptionThrottler * This);
void __RPC_STUB ISubscriptionThrottler_AbortAll_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ISubscriptionThrottler_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_webcheck_0262 */
/* [local] */
extern const IID CLSID_WebCheckDefaultProcess;
// Subscription Notifications
// To register your IOleCommandTarget for notifications:
//
// Add your handler under:
// HKLM\Software\Microsoft\Windows\CurrentVersion\Webcheck\Notification Handlers
// as DWORD values with a mask specifying which SUBSNOTF_*
// events you care about.
//
// So the Exec call will look like:
//
// pCmdTarget->Exec(&CLSID_SubscriptionMgr,
// nCmdID,
// 0,
// &varSubsCookie,
// NULL);
//
//
#define SUBSNOTF_CREATE 0x00000001
#define SUBSNOTF_DELETE 0x00000002
#define SUBSNOTF_SYNC_START 0x00000004
#define SUBSNOTF_SYNC_STOP 0x00000008
extern RPC_IF_HANDLE __MIDL_itf_webcheck_0262_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_webcheck_0262_v0_0_s_ifspec;
#ifndef __WebCheck_LIBRARY_DEFINED__
#define __WebCheck_LIBRARY_DEFINED__
/* library WebCheck */
/* [version][lcid][helpstring][uuid] */
EXTERN_C const IID LIBID_WebCheck;
#ifndef __ISubscriptionAgentControl_INTERFACE_DEFINED__
#define __ISubscriptionAgentControl_INTERFACE_DEFINED__
/* interface ISubscriptionAgentControl */
/* [object][uuid] */
enum SUBSCRIPTION_AGENT_CONTROL
{ SUBSCRIPTION_AGENT_DELETE = 0x1
} ;
enum SUBSCRIPTION_AGENT_RESUME_FLAGS
{ SUBSCRIPTION_AGENT_RESUME_INCREASED_CACHE = 0x80
} ;
EXTERN_C const IID IID_ISubscriptionAgentControl;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A89E8FF0-70F4-11d1-BC7F-00C04FD929DB")
ISubscriptionAgentControl : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE StartUpdate(
IUnknown *pItem,
IUnknown *punkAdvise) = 0;
virtual HRESULT STDMETHODCALLTYPE PauseUpdate(
DWORD dwFlags) = 0;
virtual HRESULT STDMETHODCALLTYPE ResumeUpdate(
DWORD dwFlags) = 0;
virtual HRESULT STDMETHODCALLTYPE AbortUpdate(
DWORD dwFlags) = 0;
virtual HRESULT STDMETHODCALLTYPE SubscriptionControl(
IUnknown *pItem,
DWORD dwControl) = 0;
};
#else /* C style interface */
typedef struct ISubscriptionAgentControlVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISubscriptionAgentControl * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISubscriptionAgentControl * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISubscriptionAgentControl * This);
HRESULT ( STDMETHODCALLTYPE *StartUpdate )(
ISubscriptionAgentControl * This,
IUnknown *pItem,
IUnknown *punkAdvise);
HRESULT ( STDMETHODCALLTYPE *PauseUpdate )(
ISubscriptionAgentControl * This,
DWORD dwFlags);
HRESULT ( STDMETHODCALLTYPE *ResumeUpdate )(
ISubscriptionAgentControl * This,
DWORD dwFlags);
HRESULT ( STDMETHODCALLTYPE *AbortUpdate )(
ISubscriptionAgentControl * This,
DWORD dwFlags);
HRESULT ( STDMETHODCALLTYPE *SubscriptionControl )(
ISubscriptionAgentControl * This,
IUnknown *pItem,
DWORD dwControl);
END_INTERFACE
} ISubscriptionAgentControlVtbl;
interface ISubscriptionAgentControl
{
CONST_VTBL struct ISubscriptionAgentControlVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISubscriptionAgentControl_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ISubscriptionAgentControl_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ISubscriptionAgentControl_Release(This) \
(This)->lpVtbl -> Release(This)
#define ISubscriptionAgentControl_StartUpdate(This,pItem,punkAdvise) \
(This)->lpVtbl -> StartUpdate(This,pItem,punkAdvise)
#define ISubscriptionAgentControl_PauseUpdate(This,dwFlags) \
(This)->lpVtbl -> PauseUpdate(This,dwFlags)
#define ISubscriptionAgentControl_ResumeUpdate(This,dwFlags) \
(This)->lpVtbl -> ResumeUpdate(This,dwFlags)
#define ISubscriptionAgentControl_AbortUpdate(This,dwFlags) \
(This)->lpVtbl -> AbortUpdate(This,dwFlags)
#define ISubscriptionAgentControl_SubscriptionControl(This,pItem,dwControl) \
(This)->lpVtbl -> SubscriptionControl(This,pItem,dwControl)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE ISubscriptionAgentControl_StartUpdate_Proxy(
ISubscriptionAgentControl * This,
IUnknown *pItem,
IUnknown *punkAdvise);
void __RPC_STUB ISubscriptionAgentControl_StartUpdate_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionAgentControl_PauseUpdate_Proxy(
ISubscriptionAgentControl * This,
DWORD dwFlags);
void __RPC_STUB ISubscriptionAgentControl_PauseUpdate_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionAgentControl_ResumeUpdate_Proxy(
ISubscriptionAgentControl * This,
DWORD dwFlags);
void __RPC_STUB ISubscriptionAgentControl_ResumeUpdate_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionAgentControl_AbortUpdate_Proxy(
ISubscriptionAgentControl * This,
DWORD dwFlags);
void __RPC_STUB ISubscriptionAgentControl_AbortUpdate_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionAgentControl_SubscriptionControl_Proxy(
ISubscriptionAgentControl * This,
IUnknown *pItem,
DWORD dwControl);
void __RPC_STUB ISubscriptionAgentControl_SubscriptionControl_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ISubscriptionAgentControl_INTERFACE_DEFINED__ */
#ifndef __ISubscriptionAgentShellExt_INTERFACE_DEFINED__
#define __ISubscriptionAgentShellExt_INTERFACE_DEFINED__
/* interface ISubscriptionAgentShellExt */
/* [object][uuid] */
EXTERN_C const IID IID_ISubscriptionAgentShellExt;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("81B184BA-B302-11d1-8552-00C04FA35C89")
ISubscriptionAgentShellExt : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE Initialize(
/* [in] */ SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
/* [in] */ LPCWSTR pwszURL,
/* [in] */ LPCWSTR pwszName,
/* [in] */ SUBSCRIPTIONTYPE subsType) = 0;
virtual HRESULT STDMETHODCALLTYPE RemovePages(
/* [in] */ HWND hdlg) = 0;
virtual HRESULT STDMETHODCALLTYPE SaveSubscription( void) = 0;
virtual HRESULT STDMETHODCALLTYPE URLChange(
/* [in] */ LPCWSTR pwszNewURL) = 0;
};
#else /* C style interface */
typedef struct ISubscriptionAgentShellExtVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISubscriptionAgentShellExt * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISubscriptionAgentShellExt * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISubscriptionAgentShellExt * This);
HRESULT ( STDMETHODCALLTYPE *Initialize )(
ISubscriptionAgentShellExt * This,
/* [in] */ SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
/* [in] */ LPCWSTR pwszURL,
/* [in] */ LPCWSTR pwszName,
/* [in] */ SUBSCRIPTIONTYPE subsType);
HRESULT ( STDMETHODCALLTYPE *RemovePages )(
ISubscriptionAgentShellExt * This,
/* [in] */ HWND hdlg);
HRESULT ( STDMETHODCALLTYPE *SaveSubscription )(
ISubscriptionAgentShellExt * This);
HRESULT ( STDMETHODCALLTYPE *URLChange )(
ISubscriptionAgentShellExt * This,
/* [in] */ LPCWSTR pwszNewURL);
END_INTERFACE
} ISubscriptionAgentShellExtVtbl;
interface ISubscriptionAgentShellExt
{
CONST_VTBL struct ISubscriptionAgentShellExtVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISubscriptionAgentShellExt_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ISubscriptionAgentShellExt_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ISubscriptionAgentShellExt_Release(This) \
(This)->lpVtbl -> Release(This)
#define ISubscriptionAgentShellExt_Initialize(This,pSubscriptionCookie,pwszURL,pwszName,subsType) \
(This)->lpVtbl -> Initialize(This,pSubscriptionCookie,pwszURL,pwszName,subsType)
#define ISubscriptionAgentShellExt_RemovePages(This,hdlg) \
(This)->lpVtbl -> RemovePages(This,hdlg)
#define ISubscriptionAgentShellExt_SaveSubscription(This) \
(This)->lpVtbl -> SaveSubscription(This)
#define ISubscriptionAgentShellExt_URLChange(This,pwszNewURL) \
(This)->lpVtbl -> URLChange(This,pwszNewURL)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE ISubscriptionAgentShellExt_Initialize_Proxy(
ISubscriptionAgentShellExt * This,
/* [in] */ SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
/* [in] */ LPCWSTR pwszURL,
/* [in] */ LPCWSTR pwszName,
/* [in] */ SUBSCRIPTIONTYPE subsType);
void __RPC_STUB ISubscriptionAgentShellExt_Initialize_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionAgentShellExt_RemovePages_Proxy(
ISubscriptionAgentShellExt * This,
/* [in] */ HWND hdlg);
void __RPC_STUB ISubscriptionAgentShellExt_RemovePages_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionAgentShellExt_SaveSubscription_Proxy(
ISubscriptionAgentShellExt * This);
void __RPC_STUB ISubscriptionAgentShellExt_SaveSubscription_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionAgentShellExt_URLChange_Proxy(
ISubscriptionAgentShellExt * This,
/* [in] */ LPCWSTR pwszNewURL);
void __RPC_STUB ISubscriptionAgentShellExt_URLChange_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ISubscriptionAgentShellExt_INTERFACE_DEFINED__ */
#ifndef __ISubscriptionAgentEvents_INTERFACE_DEFINED__
#define __ISubscriptionAgentEvents_INTERFACE_DEFINED__
/* interface ISubscriptionAgentEvents */
/* [object][uuid] */
EXTERN_C const IID IID_ISubscriptionAgentEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A89E8FF1-70F4-11d1-BC7F-00C04FD929DB")
ISubscriptionAgentEvents : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE UpdateBegin(
const SUBSCRIPTIONCOOKIE *pSubscriptionCookie) = 0;
virtual HRESULT STDMETHODCALLTYPE UpdateProgress(
const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
long lSizeDownloaded,
long lProgressCurrent,
long lProgressMax,
HRESULT hrStatus,
LPCWSTR wszStatus) = 0;
virtual HRESULT STDMETHODCALLTYPE UpdateEnd(
const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
long lSizeDownloaded,
HRESULT hrResult,
LPCWSTR wszResult) = 0;
virtual HRESULT STDMETHODCALLTYPE ReportError(
const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
HRESULT hrError,
LPCWSTR wszError) = 0;
};
#else /* C style interface */
typedef struct ISubscriptionAgentEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISubscriptionAgentEvents * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISubscriptionAgentEvents * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISubscriptionAgentEvents * This);
HRESULT ( STDMETHODCALLTYPE *UpdateBegin )(
ISubscriptionAgentEvents * This,
const SUBSCRIPTIONCOOKIE *pSubscriptionCookie);
HRESULT ( STDMETHODCALLTYPE *UpdateProgress )(
ISubscriptionAgentEvents * This,
const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
long lSizeDownloaded,
long lProgressCurrent,
long lProgressMax,
HRESULT hrStatus,
LPCWSTR wszStatus);
HRESULT ( STDMETHODCALLTYPE *UpdateEnd )(
ISubscriptionAgentEvents * This,
const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
long lSizeDownloaded,
HRESULT hrResult,
LPCWSTR wszResult);
HRESULT ( STDMETHODCALLTYPE *ReportError )(
ISubscriptionAgentEvents * This,
const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
HRESULT hrError,
LPCWSTR wszError);
END_INTERFACE
} ISubscriptionAgentEventsVtbl;
interface ISubscriptionAgentEvents
{
CONST_VTBL struct ISubscriptionAgentEventsVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISubscriptionAgentEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ISubscriptionAgentEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ISubscriptionAgentEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define ISubscriptionAgentEvents_UpdateBegin(This,pSubscriptionCookie) \
(This)->lpVtbl -> UpdateBegin(This,pSubscriptionCookie)
#define ISubscriptionAgentEvents_UpdateProgress(This,pSubscriptionCookie,lSizeDownloaded,lProgressCurrent,lProgressMax,hrStatus,wszStatus) \
(This)->lpVtbl -> UpdateProgress(This,pSubscriptionCookie,lSizeDownloaded,lProgressCurrent,lProgressMax,hrStatus,wszStatus)
#define ISubscriptionAgentEvents_UpdateEnd(This,pSubscriptionCookie,lSizeDownloaded,hrResult,wszResult) \
(This)->lpVtbl -> UpdateEnd(This,pSubscriptionCookie,lSizeDownloaded,hrResult,wszResult)
#define ISubscriptionAgentEvents_ReportError(This,pSubscriptionCookie,hrError,wszError) \
(This)->lpVtbl -> ReportError(This,pSubscriptionCookie,hrError,wszError)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE ISubscriptionAgentEvents_UpdateBegin_Proxy(
ISubscriptionAgentEvents * This,
const SUBSCRIPTIONCOOKIE *pSubscriptionCookie);
void __RPC_STUB ISubscriptionAgentEvents_UpdateBegin_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionAgentEvents_UpdateProgress_Proxy(
ISubscriptionAgentEvents * This,
const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
long lSizeDownloaded,
long lProgressCurrent,
long lProgressMax,
HRESULT hrStatus,
LPCWSTR wszStatus);
void __RPC_STUB ISubscriptionAgentEvents_UpdateProgress_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionAgentEvents_UpdateEnd_Proxy(
ISubscriptionAgentEvents * This,
const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
long lSizeDownloaded,
HRESULT hrResult,
LPCWSTR wszResult);
void __RPC_STUB ISubscriptionAgentEvents_UpdateEnd_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionAgentEvents_ReportError_Proxy(
ISubscriptionAgentEvents * This,
const SUBSCRIPTIONCOOKIE *pSubscriptionCookie,
HRESULT hrError,
LPCWSTR wszError);
void __RPC_STUB ISubscriptionAgentEvents_ReportError_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ISubscriptionAgentEvents_INTERFACE_DEFINED__ */
#ifndef __ISubscriptionMgrPriv_INTERFACE_DEFINED__
#define __ISubscriptionMgrPriv_INTERFACE_DEFINED__
/* interface ISubscriptionMgrPriv */
/* [object][uuid] */
EXTERN_C const IID IID_ISubscriptionMgrPriv;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("D66B399E-AF1D-11d1-A1F9-00C04FC2FBE1")
ISubscriptionMgrPriv : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE CreateSubscriptionItem(
/* [in] */ const SUBSCRIPTIONITEMINFO *pSubscriptionItemInfo,
/* [out] */ SUBSCRIPTIONCOOKIE *pNewCookie,
/* [out] */ ISubscriptionItem **ppSubscriptionItem) = 0;
virtual HRESULT STDMETHODCALLTYPE CloneSubscriptionItem(
/* [in] */ ISubscriptionItem *pSubscriptionItem,
/* [out] */ SUBSCRIPTIONCOOKIE *pNewCookie,
/* [out] */ ISubscriptionItem **ppSubscriptionItem) = 0;
virtual HRESULT STDMETHODCALLTYPE DeleteSubscriptionItem(
/* [in] */ const SUBSCRIPTIONCOOKIE *pCookie) = 0;
virtual HRESULT STDMETHODCALLTYPE RemovePages(
/* [in] */ HWND hdlg) = 0;
virtual HRESULT STDMETHODCALLTYPE SaveSubscription( void) = 0;
virtual HRESULT STDMETHODCALLTYPE URLChange(
LPCWSTR pwszNewURL) = 0;
};
#else /* C style interface */
typedef struct ISubscriptionMgrPrivVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISubscriptionMgrPriv * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISubscriptionMgrPriv * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISubscriptionMgrPriv * This);
HRESULT ( STDMETHODCALLTYPE *CreateSubscriptionItem )(
ISubscriptionMgrPriv * This,
/* [in] */ const SUBSCRIPTIONITEMINFO *pSubscriptionItemInfo,
/* [out] */ SUBSCRIPTIONCOOKIE *pNewCookie,
/* [out] */ ISubscriptionItem **ppSubscriptionItem);
HRESULT ( STDMETHODCALLTYPE *CloneSubscriptionItem )(
ISubscriptionMgrPriv * This,
/* [in] */ ISubscriptionItem *pSubscriptionItem,
/* [out] */ SUBSCRIPTIONCOOKIE *pNewCookie,
/* [out] */ ISubscriptionItem **ppSubscriptionItem);
HRESULT ( STDMETHODCALLTYPE *DeleteSubscriptionItem )(
ISubscriptionMgrPriv * This,
/* [in] */ const SUBSCRIPTIONCOOKIE *pCookie);
HRESULT ( STDMETHODCALLTYPE *RemovePages )(
ISubscriptionMgrPriv * This,
/* [in] */ HWND hdlg);
HRESULT ( STDMETHODCALLTYPE *SaveSubscription )(
ISubscriptionMgrPriv * This);
HRESULT ( STDMETHODCALLTYPE *URLChange )(
ISubscriptionMgrPriv * This,
LPCWSTR pwszNewURL);
END_INTERFACE
} ISubscriptionMgrPrivVtbl;
interface ISubscriptionMgrPriv
{
CONST_VTBL struct ISubscriptionMgrPrivVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISubscriptionMgrPriv_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ISubscriptionMgrPriv_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ISubscriptionMgrPriv_Release(This) \
(This)->lpVtbl -> Release(This)
#define ISubscriptionMgrPriv_CreateSubscriptionItem(This,pSubscriptionItemInfo,pNewCookie,ppSubscriptionItem) \
(This)->lpVtbl -> CreateSubscriptionItem(This,pSubscriptionItemInfo,pNewCookie,ppSubscriptionItem)
#define ISubscriptionMgrPriv_CloneSubscriptionItem(This,pSubscriptionItem,pNewCookie,ppSubscriptionItem) \
(This)->lpVtbl -> CloneSubscriptionItem(This,pSubscriptionItem,pNewCookie,ppSubscriptionItem)
#define ISubscriptionMgrPriv_DeleteSubscriptionItem(This,pCookie) \
(This)->lpVtbl -> DeleteSubscriptionItem(This,pCookie)
#define ISubscriptionMgrPriv_RemovePages(This,hdlg) \
(This)->lpVtbl -> RemovePages(This,hdlg)
#define ISubscriptionMgrPriv_SaveSubscription(This) \
(This)->lpVtbl -> SaveSubscription(This)
#define ISubscriptionMgrPriv_URLChange(This,pwszNewURL) \
(This)->lpVtbl -> URLChange(This,pwszNewURL)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE ISubscriptionMgrPriv_CreateSubscriptionItem_Proxy(
ISubscriptionMgrPriv * This,
/* [in] */ const SUBSCRIPTIONITEMINFO *pSubscriptionItemInfo,
/* [out] */ SUBSCRIPTIONCOOKIE *pNewCookie,
/* [out] */ ISubscriptionItem **ppSubscriptionItem);
void __RPC_STUB ISubscriptionMgrPriv_CreateSubscriptionItem_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionMgrPriv_CloneSubscriptionItem_Proxy(
ISubscriptionMgrPriv * This,
/* [in] */ ISubscriptionItem *pSubscriptionItem,
/* [out] */ SUBSCRIPTIONCOOKIE *pNewCookie,
/* [out] */ ISubscriptionItem **ppSubscriptionItem);
void __RPC_STUB ISubscriptionMgrPriv_CloneSubscriptionItem_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionMgrPriv_DeleteSubscriptionItem_Proxy(
ISubscriptionMgrPriv * This,
/* [in] */ const SUBSCRIPTIONCOOKIE *pCookie);
void __RPC_STUB ISubscriptionMgrPriv_DeleteSubscriptionItem_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionMgrPriv_RemovePages_Proxy(
ISubscriptionMgrPriv * This,
/* [in] */ HWND hdlg);
void __RPC_STUB ISubscriptionMgrPriv_RemovePages_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionMgrPriv_SaveSubscription_Proxy(
ISubscriptionMgrPriv * This);
void __RPC_STUB ISubscriptionMgrPriv_SaveSubscription_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE ISubscriptionMgrPriv_URLChange_Proxy(
ISubscriptionMgrPriv * This,
LPCWSTR pwszNewURL);
void __RPC_STUB ISubscriptionMgrPriv_URLChange_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ISubscriptionMgrPriv_INTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_WebCheck;
#ifdef __cplusplus
class DECLSPEC_UUID("E6FB5E20-DE35-11CF-9C87-00AA005127ED")
WebCheck;
#endif
EXTERN_C const CLSID CLSID_WebCrawlerAgent;
#ifdef __cplusplus
class DECLSPEC_UUID("08165EA0-E946-11CF-9C87-00AA005127ED")
WebCrawlerAgent;
#endif
EXTERN_C const CLSID CLSID_ChannelAgent;
#ifdef __cplusplus
class DECLSPEC_UUID("E3A8BDE6-ABCE-11d0-BC4B-00C04FD929DB")
ChannelAgent;
#endif
EXTERN_C const CLSID CLSID_WebCheckOfflineSync;
#ifdef __cplusplus
class DECLSPEC_UUID("7FC0B86E-5FA7-11d1-BC7C-00C04FD929DB")
WebCheckOfflineSync;
#endif
EXTERN_C const CLSID CLSID_PostAgent;
#ifdef __cplusplus
class DECLSPEC_UUID("d8bd2030-6fC9-11d0-864f-00aa006809d9")
PostAgent;
#endif
EXTERN_C const CLSID CLSID_CDLAgent;
#ifdef __cplusplus
class DECLSPEC_UUID("7D559C10-9FE9-11d0-93F7-00AA0059CE02")
CDLAgent;
#endif
#endif /* __WebCheck_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif