1552 lines
49 KiB
C++
1552 lines
49 KiB
C++
#pragma option push -b -a8 -pc -A- /*P_O_Push*/
|
|
|
|
#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 5.03.0279 */
|
|
/* at Fri Jul 30 19:36:47 1999
|
|
*/
|
|
/* Compiler settings for subsmgr.idl:
|
|
Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), 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 __subsmgr_h__
|
|
#define __subsmgr_h__
|
|
|
|
/* Forward Declarations */
|
|
|
|
#ifndef __IEnumItemProperties_FWD_DEFINED__
|
|
#define __IEnumItemProperties_FWD_DEFINED__
|
|
typedef interface IEnumItemProperties IEnumItemProperties;
|
|
#endif /* __IEnumItemProperties_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISubscriptionItem_FWD_DEFINED__
|
|
#define __ISubscriptionItem_FWD_DEFINED__
|
|
typedef interface ISubscriptionItem ISubscriptionItem;
|
|
#endif /* __ISubscriptionItem_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IEnumSubscription_FWD_DEFINED__
|
|
#define __IEnumSubscription_FWD_DEFINED__
|
|
typedef interface IEnumSubscription IEnumSubscription;
|
|
#endif /* __IEnumSubscription_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISubscriptionMgr_FWD_DEFINED__
|
|
#define __ISubscriptionMgr_FWD_DEFINED__
|
|
typedef interface ISubscriptionMgr ISubscriptionMgr;
|
|
#endif /* __ISubscriptionMgr_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISubscriptionMgr2_FWD_DEFINED__
|
|
#define __ISubscriptionMgr2_FWD_DEFINED__
|
|
typedef interface ISubscriptionMgr2 ISubscriptionMgr2;
|
|
#endif /* __ISubscriptionMgr2_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __SubscriptionMgr_FWD_DEFINED__
|
|
#define __SubscriptionMgr_FWD_DEFINED__
|
|
|
|
#ifdef __cplusplus
|
|
typedef class SubscriptionMgr SubscriptionMgr;
|
|
#else
|
|
typedef struct SubscriptionMgr SubscriptionMgr;
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __SubscriptionMgr_FWD_DEFINED__ */
|
|
|
|
|
|
/* header files for imported files */
|
|
#include "unknwn.h"
|
|
#include "ocidl.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"{
|
|
#endif
|
|
|
|
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
|
|
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
|
|
|
|
/* interface __MIDL_itf_subsmgr_0000 */
|
|
/* [local] */
|
|
|
|
//=--------------------------------------------------------------------------=
|
|
// subsmgr.h
|
|
//=--------------------------------------------------------------------------=
|
|
// (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.
|
|
//
|
|
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
|
|
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
|
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
|
// PARTICULAR PURPOSE.
|
|
//=--------------------------------------------------------------------------=
|
|
|
|
#pragma comment(lib,"uuid.lib")
|
|
|
|
//---------------------------------------------------------------------------=
|
|
// Channel Manager Interfaces.
|
|
|
|
typedef GUID SUBSCRIPTIONCOOKIE;
|
|
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_subsmgr_0000_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_subsmgr_0000_v0_0_s_ifspec;
|
|
|
|
#ifndef __IEnumItemProperties_INTERFACE_DEFINED__
|
|
#define __IEnumItemProperties_INTERFACE_DEFINED__
|
|
|
|
/* interface IEnumItemProperties */
|
|
/* [object][helpstring][uuid] */
|
|
|
|
typedef /* [unique] */ IEnumItemProperties __RPC_FAR *LPENUMITEMPROPERTIES;
|
|
|
|
typedef struct _tagITEMPROP
|
|
{
|
|
VARIANT variantValue;
|
|
LPWSTR pwszName;
|
|
} ITEMPROP;
|
|
|
|
typedef struct _tagITEMPROP __RPC_FAR *LPITEMPROP;
|
|
|
|
|
|
EXTERN_C const IID IID_IEnumItemProperties;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("F72C8D96-6DBD-11d1-A1E8-00C04FC2FBE1")
|
|
IEnumItemProperties : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE Next(
|
|
/* [in] */ ULONG celt,
|
|
/* [length_is][size_is][out] */ ITEMPROP __RPC_FAR *rgelt,
|
|
/* [out] */ ULONG __RPC_FAR *pceltFetched) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Skip(
|
|
/* [in] */ ULONG celt) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Clone(
|
|
/* [out] */ IEnumItemProperties __RPC_FAR *__RPC_FAR *ppenum) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetCount(
|
|
/* [out] */ ULONG __RPC_FAR *pnCount) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IEnumItemPropertiesVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
|
IEnumItemProperties __RPC_FAR * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
|
IEnumItemProperties __RPC_FAR * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
|
IEnumItemProperties __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
|
|
IEnumItemProperties __RPC_FAR * This,
|
|
/* [in] */ ULONG celt,
|
|
/* [length_is][size_is][out] */ ITEMPROP __RPC_FAR *rgelt,
|
|
/* [out] */ ULONG __RPC_FAR *pceltFetched);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Skip )(
|
|
IEnumItemProperties __RPC_FAR * This,
|
|
/* [in] */ ULONG celt);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )(
|
|
IEnumItemProperties __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )(
|
|
IEnumItemProperties __RPC_FAR * This,
|
|
/* [out] */ IEnumItemProperties __RPC_FAR *__RPC_FAR *ppenum);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )(
|
|
IEnumItemProperties __RPC_FAR * This,
|
|
/* [out] */ ULONG __RPC_FAR *pnCount);
|
|
|
|
END_INTERFACE
|
|
} IEnumItemPropertiesVtbl;
|
|
|
|
interface IEnumItemProperties
|
|
{
|
|
CONST_VTBL struct IEnumItemPropertiesVtbl __RPC_FAR *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IEnumItemProperties_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define IEnumItemProperties_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define IEnumItemProperties_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define IEnumItemProperties_Next(This,celt,rgelt,pceltFetched) \
|
|
(This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
|
|
|
|
#define IEnumItemProperties_Skip(This,celt) \
|
|
(This)->lpVtbl -> Skip(This,celt)
|
|
|
|
#define IEnumItemProperties_Reset(This) \
|
|
(This)->lpVtbl -> Reset(This)
|
|
|
|
#define IEnumItemProperties_Clone(This,ppenum) \
|
|
(This)->lpVtbl -> Clone(This,ppenum)
|
|
|
|
#define IEnumItemProperties_GetCount(This,pnCount) \
|
|
(This)->lpVtbl -> GetCount(This,pnCount)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IEnumItemProperties_Next_Proxy(
|
|
IEnumItemProperties __RPC_FAR * This,
|
|
/* [in] */ ULONG celt,
|
|
/* [length_is][size_is][out] */ ITEMPROP __RPC_FAR *rgelt,
|
|
/* [out] */ ULONG __RPC_FAR *pceltFetched);
|
|
|
|
|
|
void __RPC_STUB IEnumItemProperties_Next_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IEnumItemProperties_Skip_Proxy(
|
|
IEnumItemProperties __RPC_FAR * This,
|
|
/* [in] */ ULONG celt);
|
|
|
|
|
|
void __RPC_STUB IEnumItemProperties_Skip_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IEnumItemProperties_Reset_Proxy(
|
|
IEnumItemProperties __RPC_FAR * This);
|
|
|
|
|
|
void __RPC_STUB IEnumItemProperties_Reset_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IEnumItemProperties_Clone_Proxy(
|
|
IEnumItemProperties __RPC_FAR * This,
|
|
/* [out] */ IEnumItemProperties __RPC_FAR *__RPC_FAR *ppenum);
|
|
|
|
|
|
void __RPC_STUB IEnumItemProperties_Clone_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IEnumItemProperties_GetCount_Proxy(
|
|
IEnumItemProperties __RPC_FAR * This,
|
|
/* [out] */ ULONG __RPC_FAR *pnCount);
|
|
|
|
|
|
void __RPC_STUB IEnumItemProperties_GetCount_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __IEnumItemProperties_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* interface __MIDL_itf_subsmgr_0246 */
|
|
/* [local] */
|
|
|
|
// Subscription item flag values
|
|
// Temporary subscription item
|
|
#define SI_TEMPORARY 0x80000000
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_subsmgr_0246_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_subsmgr_0246_v0_0_s_ifspec;
|
|
|
|
#ifndef __ISubscriptionItem_INTERFACE_DEFINED__
|
|
#define __ISubscriptionItem_INTERFACE_DEFINED__
|
|
|
|
/* interface ISubscriptionItem */
|
|
/* [object][helpstring][uuid] */
|
|
|
|
typedef /* [unique] */ ISubscriptionItem __RPC_FAR *LPSUBSCRIPTIONITEM;
|
|
|
|
// SUBSCRIPTIONITEMINFO flags
|
|
// To specify that an item should only run on user idle
|
|
// use TASK_FLAG_START_ONLY_IF_IDLE
|
|
typedef struct tagSUBSCRIPTIONITEMINFO
|
|
{
|
|
ULONG cbSize;
|
|
DWORD dwFlags;
|
|
DWORD dwPriority;
|
|
SUBSCRIPTIONCOOKIE ScheduleGroup;
|
|
CLSID clsidAgent;
|
|
} SUBSCRIPTIONITEMINFO;
|
|
|
|
|
|
EXTERN_C const IID IID_ISubscriptionItem;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("A97559F8-6C4A-11d1-A1E8-00C04FC2FBE1")
|
|
ISubscriptionItem : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE GetCookie(
|
|
/* [out] */ SUBSCRIPTIONCOOKIE __RPC_FAR *pCookie) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetSubscriptionItemInfo(
|
|
/* [out] */ SUBSCRIPTIONITEMINFO __RPC_FAR *pSubscriptionItemInfo) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE SetSubscriptionItemInfo(
|
|
/* [in] */ const SUBSCRIPTIONITEMINFO __RPC_FAR *pSubscriptionItemInfo) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE ReadProperties(
|
|
ULONG nCount,
|
|
/* [size_is][in] */ const LPCWSTR __RPC_FAR rgwszName[ ],
|
|
/* [size_is][out] */ VARIANT __RPC_FAR rgValue[ ]) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE WriteProperties(
|
|
ULONG nCount,
|
|
/* [size_is][in] */ const LPCWSTR __RPC_FAR rgwszName[ ],
|
|
/* [size_is][in] */ const VARIANT __RPC_FAR rgValue[ ]) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE EnumProperties(
|
|
/* [out] */ IEnumItemProperties __RPC_FAR *__RPC_FAR *ppEnumItemProperties) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE NotifyChanged( void) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct ISubscriptionItemVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
|
ISubscriptionItem __RPC_FAR * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
|
ISubscriptionItem __RPC_FAR * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
|
ISubscriptionItem __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCookie )(
|
|
ISubscriptionItem __RPC_FAR * This,
|
|
/* [out] */ SUBSCRIPTIONCOOKIE __RPC_FAR *pCookie);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSubscriptionItemInfo )(
|
|
ISubscriptionItem __RPC_FAR * This,
|
|
/* [out] */ SUBSCRIPTIONITEMINFO __RPC_FAR *pSubscriptionItemInfo);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSubscriptionItemInfo )(
|
|
ISubscriptionItem __RPC_FAR * This,
|
|
/* [in] */ const SUBSCRIPTIONITEMINFO __RPC_FAR *pSubscriptionItemInfo);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReadProperties )(
|
|
ISubscriptionItem __RPC_FAR * This,
|
|
ULONG nCount,
|
|
/* [size_is][in] */ const LPCWSTR __RPC_FAR rgwszName[ ],
|
|
/* [size_is][out] */ VARIANT __RPC_FAR rgValue[ ]);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *WriteProperties )(
|
|
ISubscriptionItem __RPC_FAR * This,
|
|
ULONG nCount,
|
|
/* [size_is][in] */ const LPCWSTR __RPC_FAR rgwszName[ ],
|
|
/* [size_is][in] */ const VARIANT __RPC_FAR rgValue[ ]);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumProperties )(
|
|
ISubscriptionItem __RPC_FAR * This,
|
|
/* [out] */ IEnumItemProperties __RPC_FAR *__RPC_FAR *ppEnumItemProperties);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NotifyChanged )(
|
|
ISubscriptionItem __RPC_FAR * This);
|
|
|
|
END_INTERFACE
|
|
} ISubscriptionItemVtbl;
|
|
|
|
interface ISubscriptionItem
|
|
{
|
|
CONST_VTBL struct ISubscriptionItemVtbl __RPC_FAR *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define ISubscriptionItem_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define ISubscriptionItem_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define ISubscriptionItem_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define ISubscriptionItem_GetCookie(This,pCookie) \
|
|
(This)->lpVtbl -> GetCookie(This,pCookie)
|
|
|
|
#define ISubscriptionItem_GetSubscriptionItemInfo(This,pSubscriptionItemInfo) \
|
|
(This)->lpVtbl -> GetSubscriptionItemInfo(This,pSubscriptionItemInfo)
|
|
|
|
#define ISubscriptionItem_SetSubscriptionItemInfo(This,pSubscriptionItemInfo) \
|
|
(This)->lpVtbl -> SetSubscriptionItemInfo(This,pSubscriptionItemInfo)
|
|
|
|
#define ISubscriptionItem_ReadProperties(This,nCount,rgwszName,rgValue) \
|
|
(This)->lpVtbl -> ReadProperties(This,nCount,rgwszName,rgValue)
|
|
|
|
#define ISubscriptionItem_WriteProperties(This,nCount,rgwszName,rgValue) \
|
|
(This)->lpVtbl -> WriteProperties(This,nCount,rgwszName,rgValue)
|
|
|
|
#define ISubscriptionItem_EnumProperties(This,ppEnumItemProperties) \
|
|
(This)->lpVtbl -> EnumProperties(This,ppEnumItemProperties)
|
|
|
|
#define ISubscriptionItem_NotifyChanged(This) \
|
|
(This)->lpVtbl -> NotifyChanged(This)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionItem_GetCookie_Proxy(
|
|
ISubscriptionItem __RPC_FAR * This,
|
|
/* [out] */ SUBSCRIPTIONCOOKIE __RPC_FAR *pCookie);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionItem_GetCookie_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionItem_GetSubscriptionItemInfo_Proxy(
|
|
ISubscriptionItem __RPC_FAR * This,
|
|
/* [out] */ SUBSCRIPTIONITEMINFO __RPC_FAR *pSubscriptionItemInfo);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionItem_GetSubscriptionItemInfo_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionItem_SetSubscriptionItemInfo_Proxy(
|
|
ISubscriptionItem __RPC_FAR * This,
|
|
/* [in] */ const SUBSCRIPTIONITEMINFO __RPC_FAR *pSubscriptionItemInfo);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionItem_SetSubscriptionItemInfo_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionItem_ReadProperties_Proxy(
|
|
ISubscriptionItem __RPC_FAR * This,
|
|
ULONG nCount,
|
|
/* [size_is][in] */ const LPCWSTR __RPC_FAR rgwszName[ ],
|
|
/* [size_is][out] */ VARIANT __RPC_FAR rgValue[ ]);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionItem_ReadProperties_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionItem_WriteProperties_Proxy(
|
|
ISubscriptionItem __RPC_FAR * This,
|
|
ULONG nCount,
|
|
/* [size_is][in] */ const LPCWSTR __RPC_FAR rgwszName[ ],
|
|
/* [size_is][in] */ const VARIANT __RPC_FAR rgValue[ ]);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionItem_WriteProperties_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionItem_EnumProperties_Proxy(
|
|
ISubscriptionItem __RPC_FAR * This,
|
|
/* [out] */ IEnumItemProperties __RPC_FAR *__RPC_FAR *ppEnumItemProperties);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionItem_EnumProperties_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionItem_NotifyChanged_Proxy(
|
|
ISubscriptionItem __RPC_FAR * This);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionItem_NotifyChanged_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __ISubscriptionItem_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IEnumSubscription_INTERFACE_DEFINED__
|
|
#define __IEnumSubscription_INTERFACE_DEFINED__
|
|
|
|
/* interface IEnumSubscription */
|
|
/* [object][helpstring][uuid] */
|
|
|
|
typedef /* [unique] */ IEnumSubscription __RPC_FAR *LPENUMSUBSCRIPTION;
|
|
|
|
|
|
EXTERN_C const IID IID_IEnumSubscription;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("F72C8D97-6DBD-11d1-A1E8-00C04FC2FBE1")
|
|
IEnumSubscription : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE Next(
|
|
/* [in] */ ULONG celt,
|
|
/* [length_is][size_is][out] */ SUBSCRIPTIONCOOKIE __RPC_FAR *rgelt,
|
|
/* [out] */ ULONG __RPC_FAR *pceltFetched) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Skip(
|
|
/* [in] */ ULONG celt) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Clone(
|
|
/* [out] */ IEnumSubscription __RPC_FAR *__RPC_FAR *ppenum) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetCount(
|
|
/* [out] */ ULONG __RPC_FAR *pnCount) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IEnumSubscriptionVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
|
IEnumSubscription __RPC_FAR * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
|
IEnumSubscription __RPC_FAR * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
|
IEnumSubscription __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
|
|
IEnumSubscription __RPC_FAR * This,
|
|
/* [in] */ ULONG celt,
|
|
/* [length_is][size_is][out] */ SUBSCRIPTIONCOOKIE __RPC_FAR *rgelt,
|
|
/* [out] */ ULONG __RPC_FAR *pceltFetched);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Skip )(
|
|
IEnumSubscription __RPC_FAR * This,
|
|
/* [in] */ ULONG celt);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )(
|
|
IEnumSubscription __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )(
|
|
IEnumSubscription __RPC_FAR * This,
|
|
/* [out] */ IEnumSubscription __RPC_FAR *__RPC_FAR *ppenum);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )(
|
|
IEnumSubscription __RPC_FAR * This,
|
|
/* [out] */ ULONG __RPC_FAR *pnCount);
|
|
|
|
END_INTERFACE
|
|
} IEnumSubscriptionVtbl;
|
|
|
|
interface IEnumSubscription
|
|
{
|
|
CONST_VTBL struct IEnumSubscriptionVtbl __RPC_FAR *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IEnumSubscription_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define IEnumSubscription_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define IEnumSubscription_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define IEnumSubscription_Next(This,celt,rgelt,pceltFetched) \
|
|
(This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
|
|
|
|
#define IEnumSubscription_Skip(This,celt) \
|
|
(This)->lpVtbl -> Skip(This,celt)
|
|
|
|
#define IEnumSubscription_Reset(This) \
|
|
(This)->lpVtbl -> Reset(This)
|
|
|
|
#define IEnumSubscription_Clone(This,ppenum) \
|
|
(This)->lpVtbl -> Clone(This,ppenum)
|
|
|
|
#define IEnumSubscription_GetCount(This,pnCount) \
|
|
(This)->lpVtbl -> GetCount(This,pnCount)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IEnumSubscription_Next_Proxy(
|
|
IEnumSubscription __RPC_FAR * This,
|
|
/* [in] */ ULONG celt,
|
|
/* [length_is][size_is][out] */ SUBSCRIPTIONCOOKIE __RPC_FAR *rgelt,
|
|
/* [out] */ ULONG __RPC_FAR *pceltFetched);
|
|
|
|
|
|
void __RPC_STUB IEnumSubscription_Next_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IEnumSubscription_Skip_Proxy(
|
|
IEnumSubscription __RPC_FAR * This,
|
|
/* [in] */ ULONG celt);
|
|
|
|
|
|
void __RPC_STUB IEnumSubscription_Skip_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IEnumSubscription_Reset_Proxy(
|
|
IEnumSubscription __RPC_FAR * This);
|
|
|
|
|
|
void __RPC_STUB IEnumSubscription_Reset_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IEnumSubscription_Clone_Proxy(
|
|
IEnumSubscription __RPC_FAR * This,
|
|
/* [out] */ IEnumSubscription __RPC_FAR *__RPC_FAR *ppenum);
|
|
|
|
|
|
void __RPC_STUB IEnumSubscription_Clone_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IEnumSubscription_GetCount_Proxy(
|
|
IEnumSubscription __RPC_FAR * This,
|
|
/* [out] */ ULONG __RPC_FAR *pnCount);
|
|
|
|
|
|
void __RPC_STUB IEnumSubscription_GetCount_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __IEnumSubscription_INTERFACE_DEFINED__ */
|
|
|
|
|
|
|
|
#ifndef __SubscriptionMgr_LIBRARY_DEFINED__
|
|
#define __SubscriptionMgr_LIBRARY_DEFINED__
|
|
|
|
/* library SubscriptionMgr */
|
|
/* [version][lcid][helpstring][uuid] */
|
|
|
|
|
|
EXTERN_C const IID LIBID_SubscriptionMgr;
|
|
|
|
#ifndef __ISubscriptionMgr_INTERFACE_DEFINED__
|
|
#define __ISubscriptionMgr_INTERFACE_DEFINED__
|
|
|
|
/* interface ISubscriptionMgr */
|
|
/* [object][helpstring][uuid] */
|
|
|
|
typedef
|
|
enum SUBSCRIPTIONTYPE
|
|
{ SUBSTYPE_URL = 0,
|
|
SUBSTYPE_CHANNEL = 1,
|
|
SUBSTYPE_DESKTOPURL = 2,
|
|
SUBSTYPE_EXTERNAL = 3,
|
|
SUBSTYPE_DESKTOPCHANNEL = 4
|
|
} SUBSCRIPTIONTYPE;
|
|
|
|
typedef
|
|
enum SUBSCRIPTIONINFOFLAGS
|
|
{ SUBSINFO_SCHEDULE = 0x1,
|
|
SUBSINFO_RECURSE = 0x2,
|
|
SUBSINFO_WEBCRAWL = 0x4,
|
|
SUBSINFO_MAILNOT = 0x8,
|
|
SUBSINFO_MAXSIZEKB = 0x10,
|
|
SUBSINFO_USER = 0x20,
|
|
SUBSINFO_PASSWORD = 0x40,
|
|
SUBSINFO_TASKFLAGS = 0x100,
|
|
SUBSINFO_GLEAM = 0x200,
|
|
SUBSINFO_CHANGESONLY = 0x400,
|
|
SUBSINFO_CHANNELFLAGS = 0x800,
|
|
SUBSINFO_FRIENDLYNAME = 0x2000,
|
|
SUBSINFO_NEEDPASSWORD = 0x4000,
|
|
SUBSINFO_TYPE = 0x8000
|
|
} SUBSCRIPTIONINFOFLAGS;
|
|
|
|
#define SUBSINFO_ALLFLAGS 0x0000EF7F
|
|
typedef
|
|
enum CREATESUBSCRIPTIONFLAGS
|
|
{ CREATESUBS_ADDTOFAVORITES = 0x1,
|
|
CREATESUBS_FROMFAVORITES = 0x2,
|
|
CREATESUBS_NOUI = 0x4,
|
|
CREATESUBS_NOSAVE = 0x8,
|
|
CREATESUBS_SOFTWAREUPDATE = 0x10
|
|
} CREATESUBSCRIPTIONFLAGS;
|
|
|
|
typedef
|
|
enum SUBSCRIPTIONSCHEDULE
|
|
{ SUBSSCHED_AUTO = 0,
|
|
SUBSSCHED_DAILY = 1,
|
|
SUBSSCHED_WEEKLY = 2,
|
|
SUBSSCHED_CUSTOM = 3,
|
|
SUBSSCHED_MANUAL = 4
|
|
} SUBSCRIPTIONSCHEDULE;
|
|
|
|
typedef struct _tagSubscriptionInfo
|
|
{
|
|
DWORD cbSize;
|
|
DWORD fUpdateFlags;
|
|
SUBSCRIPTIONSCHEDULE schedule;
|
|
CLSID customGroupCookie;
|
|
LPVOID pTrigger;
|
|
DWORD dwRecurseLevels;
|
|
DWORD fWebcrawlerFlags;
|
|
BOOL bMailNotification;
|
|
BOOL bGleam;
|
|
BOOL bChangesOnly;
|
|
BOOL bNeedPassword;
|
|
DWORD fChannelFlags;
|
|
BSTR bstrUserName;
|
|
BSTR bstrPassword;
|
|
BSTR bstrFriendlyName;
|
|
DWORD dwMaxSizeKB;
|
|
SUBSCRIPTIONTYPE subType;
|
|
DWORD fTaskFlags;
|
|
DWORD dwReserved;
|
|
} SUBSCRIPTIONINFO;
|
|
|
|
typedef struct _tagSubscriptionInfo __RPC_FAR *LPSUBSCRIPTIONINFO;
|
|
|
|
typedef struct _tagSubscriptionInfo __RPC_FAR *PSUBSCRIPTIONINFO;
|
|
|
|
|
|
EXTERN_C const IID IID_ISubscriptionMgr;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("085FB2C0-0DF8-11d1-8F4B-00A0C905413F")
|
|
ISubscriptionMgr : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE DeleteSubscription(
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [in] */ HWND hwnd) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE UpdateSubscription(
|
|
/* [in] */ LPCWSTR pwszURL) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE UpdateAll( void) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE IsSubscribed(
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [out] */ BOOL __RPC_FAR *pfSubscribed) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetSubscriptionInfo(
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [out] */ SUBSCRIPTIONINFO __RPC_FAR *pInfo) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetDefaultInfo(
|
|
/* [in] */ SUBSCRIPTIONTYPE subType,
|
|
/* [out] */ SUBSCRIPTIONINFO __RPC_FAR *pInfo) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE ShowSubscriptionProperties(
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [in] */ HWND hwnd) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE CreateSubscription(
|
|
/* [in] */ HWND hwnd,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [in] */ LPCWSTR pwszFriendlyName,
|
|
/* [in] */ DWORD dwFlags,
|
|
/* [in] */ SUBSCRIPTIONTYPE subsType,
|
|
/* [out][in] */ SUBSCRIPTIONINFO __RPC_FAR *pInfo) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct ISubscriptionMgrVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
|
ISubscriptionMgr __RPC_FAR * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
|
ISubscriptionMgr __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteSubscription )(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [in] */ HWND hwnd);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateSubscription )(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateAll )(
|
|
ISubscriptionMgr __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsSubscribed )(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [out] */ BOOL __RPC_FAR *pfSubscribed);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSubscriptionInfo )(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [out] */ SUBSCRIPTIONINFO __RPC_FAR *pInfo);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDefaultInfo )(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ SUBSCRIPTIONTYPE subType,
|
|
/* [out] */ SUBSCRIPTIONINFO __RPC_FAR *pInfo);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowSubscriptionProperties )(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [in] */ HWND hwnd);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateSubscription )(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ HWND hwnd,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [in] */ LPCWSTR pwszFriendlyName,
|
|
/* [in] */ DWORD dwFlags,
|
|
/* [in] */ SUBSCRIPTIONTYPE subsType,
|
|
/* [out][in] */ SUBSCRIPTIONINFO __RPC_FAR *pInfo);
|
|
|
|
END_INTERFACE
|
|
} ISubscriptionMgrVtbl;
|
|
|
|
interface ISubscriptionMgr
|
|
{
|
|
CONST_VTBL struct ISubscriptionMgrVtbl __RPC_FAR *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define ISubscriptionMgr_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define ISubscriptionMgr_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define ISubscriptionMgr_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define ISubscriptionMgr_DeleteSubscription(This,pwszURL,hwnd) \
|
|
(This)->lpVtbl -> DeleteSubscription(This,pwszURL,hwnd)
|
|
|
|
#define ISubscriptionMgr_UpdateSubscription(This,pwszURL) \
|
|
(This)->lpVtbl -> UpdateSubscription(This,pwszURL)
|
|
|
|
#define ISubscriptionMgr_UpdateAll(This) \
|
|
(This)->lpVtbl -> UpdateAll(This)
|
|
|
|
#define ISubscriptionMgr_IsSubscribed(This,pwszURL,pfSubscribed) \
|
|
(This)->lpVtbl -> IsSubscribed(This,pwszURL,pfSubscribed)
|
|
|
|
#define ISubscriptionMgr_GetSubscriptionInfo(This,pwszURL,pInfo) \
|
|
(This)->lpVtbl -> GetSubscriptionInfo(This,pwszURL,pInfo)
|
|
|
|
#define ISubscriptionMgr_GetDefaultInfo(This,subType,pInfo) \
|
|
(This)->lpVtbl -> GetDefaultInfo(This,subType,pInfo)
|
|
|
|
#define ISubscriptionMgr_ShowSubscriptionProperties(This,pwszURL,hwnd) \
|
|
(This)->lpVtbl -> ShowSubscriptionProperties(This,pwszURL,hwnd)
|
|
|
|
#define ISubscriptionMgr_CreateSubscription(This,hwnd,pwszURL,pwszFriendlyName,dwFlags,subsType,pInfo) \
|
|
(This)->lpVtbl -> CreateSubscription(This,hwnd,pwszURL,pwszFriendlyName,dwFlags,subsType,pInfo)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr_DeleteSubscription_Proxy(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [in] */ HWND hwnd);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr_DeleteSubscription_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr_UpdateSubscription_Proxy(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr_UpdateSubscription_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr_UpdateAll_Proxy(
|
|
ISubscriptionMgr __RPC_FAR * This);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr_UpdateAll_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr_IsSubscribed_Proxy(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [out] */ BOOL __RPC_FAR *pfSubscribed);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr_IsSubscribed_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr_GetSubscriptionInfo_Proxy(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [out] */ SUBSCRIPTIONINFO __RPC_FAR *pInfo);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr_GetSubscriptionInfo_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr_GetDefaultInfo_Proxy(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ SUBSCRIPTIONTYPE subType,
|
|
/* [out] */ SUBSCRIPTIONINFO __RPC_FAR *pInfo);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr_GetDefaultInfo_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr_ShowSubscriptionProperties_Proxy(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [in] */ HWND hwnd);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr_ShowSubscriptionProperties_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr_CreateSubscription_Proxy(
|
|
ISubscriptionMgr __RPC_FAR * This,
|
|
/* [in] */ HWND hwnd,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [in] */ LPCWSTR pwszFriendlyName,
|
|
/* [in] */ DWORD dwFlags,
|
|
/* [in] */ SUBSCRIPTIONTYPE subsType,
|
|
/* [out][in] */ SUBSCRIPTIONINFO __RPC_FAR *pInfo);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr_CreateSubscription_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __ISubscriptionMgr_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISubscriptionMgr2_INTERFACE_DEFINED__
|
|
#define __ISubscriptionMgr2_INTERFACE_DEFINED__
|
|
|
|
/* interface ISubscriptionMgr2 */
|
|
/* [object][helpstring][uuid] */
|
|
|
|
// Run State flags
|
|
// Item is ready and queued to run
|
|
#define RS_READY 0x00000001
|
|
// Running item is paused
|
|
#define RS_SUSPENDED 0x00000002
|
|
// Item is updating
|
|
#define RS_UPDATING 0x00000004
|
|
// This item will be suspended while the user is not idle
|
|
#define RS_SUSPENDONIDLE 0x00010000
|
|
// This item is allowed to cause user interaction
|
|
#define RS_MAYBOTHERUSER 0x00020000
|
|
// Update is done
|
|
#define RS_COMPLETED 0x80000000
|
|
// Update flags
|
|
// Update window should start minimized
|
|
#define SUBSMGRUPDATE_MINIMIZE 0x00000001
|
|
|
|
#define SUBSMGRUPDATE_MASK 0x00000001
|
|
// Enumeration flags
|
|
// Include temporary items
|
|
#define SUBSMGRENUM_TEMP 0x00000001
|
|
|
|
#define SUBSMGRENUM_MASK 0x00000001
|
|
|
|
EXTERN_C const IID IID_ISubscriptionMgr2;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("614BC270-AEDF-11d1-A1F9-00C04FC2FBE1")
|
|
ISubscriptionMgr2 : public ISubscriptionMgr
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE GetItemFromURL(
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [out] */ ISubscriptionItem __RPC_FAR *__RPC_FAR *ppSubscriptionItem) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetItemFromCookie(
|
|
/* [in] */ const SUBSCRIPTIONCOOKIE __RPC_FAR *pSubscriptionCookie,
|
|
/* [out] */ ISubscriptionItem __RPC_FAR *__RPC_FAR *ppSubscriptionItem) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetSubscriptionRunState(
|
|
/* [in] */ DWORD dwNumCookies,
|
|
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE __RPC_FAR *pCookies,
|
|
/* [size_is][out] */ DWORD __RPC_FAR *pdwRunState) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE EnumSubscriptions(
|
|
/* [in] */ DWORD dwFlags,
|
|
/* [out] */ IEnumSubscription __RPC_FAR *__RPC_FAR *ppEnumSubscriptions) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE UpdateItems(
|
|
/* [in] */ DWORD dwFlags,
|
|
/* [in] */ DWORD dwNumCookies,
|
|
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE __RPC_FAR *pCookies) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE AbortItems(
|
|
/* [in] */ DWORD dwNumCookies,
|
|
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE __RPC_FAR *pCookies) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE AbortAll( void) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct ISubscriptionMgr2Vtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
|
ISubscriptionMgr2 __RPC_FAR * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
|
ISubscriptionMgr2 __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteSubscription )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [in] */ HWND hwnd);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateSubscription )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateAll )(
|
|
ISubscriptionMgr2 __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsSubscribed )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [out] */ BOOL __RPC_FAR *pfSubscribed);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSubscriptionInfo )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [out] */ SUBSCRIPTIONINFO __RPC_FAR *pInfo);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDefaultInfo )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ SUBSCRIPTIONTYPE subType,
|
|
/* [out] */ SUBSCRIPTIONINFO __RPC_FAR *pInfo);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowSubscriptionProperties )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [in] */ HWND hwnd);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateSubscription )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ HWND hwnd,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [in] */ LPCWSTR pwszFriendlyName,
|
|
/* [in] */ DWORD dwFlags,
|
|
/* [in] */ SUBSCRIPTIONTYPE subsType,
|
|
/* [out][in] */ SUBSCRIPTIONINFO __RPC_FAR *pInfo);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemFromURL )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [out] */ ISubscriptionItem __RPC_FAR *__RPC_FAR *ppSubscriptionItem);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemFromCookie )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ const SUBSCRIPTIONCOOKIE __RPC_FAR *pSubscriptionCookie,
|
|
/* [out] */ ISubscriptionItem __RPC_FAR *__RPC_FAR *ppSubscriptionItem);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSubscriptionRunState )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ DWORD dwNumCookies,
|
|
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE __RPC_FAR *pCookies,
|
|
/* [size_is][out] */ DWORD __RPC_FAR *pdwRunState);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumSubscriptions )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ DWORD dwFlags,
|
|
/* [out] */ IEnumSubscription __RPC_FAR *__RPC_FAR *ppEnumSubscriptions);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateItems )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ DWORD dwFlags,
|
|
/* [in] */ DWORD dwNumCookies,
|
|
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE __RPC_FAR *pCookies);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AbortItems )(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ DWORD dwNumCookies,
|
|
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE __RPC_FAR *pCookies);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AbortAll )(
|
|
ISubscriptionMgr2 __RPC_FAR * This);
|
|
|
|
END_INTERFACE
|
|
} ISubscriptionMgr2Vtbl;
|
|
|
|
interface ISubscriptionMgr2
|
|
{
|
|
CONST_VTBL struct ISubscriptionMgr2Vtbl __RPC_FAR *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define ISubscriptionMgr2_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define ISubscriptionMgr2_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define ISubscriptionMgr2_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define ISubscriptionMgr2_DeleteSubscription(This,pwszURL,hwnd) \
|
|
(This)->lpVtbl -> DeleteSubscription(This,pwszURL,hwnd)
|
|
|
|
#define ISubscriptionMgr2_UpdateSubscription(This,pwszURL) \
|
|
(This)->lpVtbl -> UpdateSubscription(This,pwszURL)
|
|
|
|
#define ISubscriptionMgr2_UpdateAll(This) \
|
|
(This)->lpVtbl -> UpdateAll(This)
|
|
|
|
#define ISubscriptionMgr2_IsSubscribed(This,pwszURL,pfSubscribed) \
|
|
(This)->lpVtbl -> IsSubscribed(This,pwszURL,pfSubscribed)
|
|
|
|
#define ISubscriptionMgr2_GetSubscriptionInfo(This,pwszURL,pInfo) \
|
|
(This)->lpVtbl -> GetSubscriptionInfo(This,pwszURL,pInfo)
|
|
|
|
#define ISubscriptionMgr2_GetDefaultInfo(This,subType,pInfo) \
|
|
(This)->lpVtbl -> GetDefaultInfo(This,subType,pInfo)
|
|
|
|
#define ISubscriptionMgr2_ShowSubscriptionProperties(This,pwszURL,hwnd) \
|
|
(This)->lpVtbl -> ShowSubscriptionProperties(This,pwszURL,hwnd)
|
|
|
|
#define ISubscriptionMgr2_CreateSubscription(This,hwnd,pwszURL,pwszFriendlyName,dwFlags,subsType,pInfo) \
|
|
(This)->lpVtbl -> CreateSubscription(This,hwnd,pwszURL,pwszFriendlyName,dwFlags,subsType,pInfo)
|
|
|
|
|
|
#define ISubscriptionMgr2_GetItemFromURL(This,pwszURL,ppSubscriptionItem) \
|
|
(This)->lpVtbl -> GetItemFromURL(This,pwszURL,ppSubscriptionItem)
|
|
|
|
#define ISubscriptionMgr2_GetItemFromCookie(This,pSubscriptionCookie,ppSubscriptionItem) \
|
|
(This)->lpVtbl -> GetItemFromCookie(This,pSubscriptionCookie,ppSubscriptionItem)
|
|
|
|
#define ISubscriptionMgr2_GetSubscriptionRunState(This,dwNumCookies,pCookies,pdwRunState) \
|
|
(This)->lpVtbl -> GetSubscriptionRunState(This,dwNumCookies,pCookies,pdwRunState)
|
|
|
|
#define ISubscriptionMgr2_EnumSubscriptions(This,dwFlags,ppEnumSubscriptions) \
|
|
(This)->lpVtbl -> EnumSubscriptions(This,dwFlags,ppEnumSubscriptions)
|
|
|
|
#define ISubscriptionMgr2_UpdateItems(This,dwFlags,dwNumCookies,pCookies) \
|
|
(This)->lpVtbl -> UpdateItems(This,dwFlags,dwNumCookies,pCookies)
|
|
|
|
#define ISubscriptionMgr2_AbortItems(This,dwNumCookies,pCookies) \
|
|
(This)->lpVtbl -> AbortItems(This,dwNumCookies,pCookies)
|
|
|
|
#define ISubscriptionMgr2_AbortAll(This) \
|
|
(This)->lpVtbl -> AbortAll(This)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr2_GetItemFromURL_Proxy(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ LPCWSTR pwszURL,
|
|
/* [out] */ ISubscriptionItem __RPC_FAR *__RPC_FAR *ppSubscriptionItem);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr2_GetItemFromURL_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr2_GetItemFromCookie_Proxy(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ const SUBSCRIPTIONCOOKIE __RPC_FAR *pSubscriptionCookie,
|
|
/* [out] */ ISubscriptionItem __RPC_FAR *__RPC_FAR *ppSubscriptionItem);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr2_GetItemFromCookie_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr2_GetSubscriptionRunState_Proxy(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ DWORD dwNumCookies,
|
|
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE __RPC_FAR *pCookies,
|
|
/* [size_is][out] */ DWORD __RPC_FAR *pdwRunState);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr2_GetSubscriptionRunState_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr2_EnumSubscriptions_Proxy(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ DWORD dwFlags,
|
|
/* [out] */ IEnumSubscription __RPC_FAR *__RPC_FAR *ppEnumSubscriptions);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr2_EnumSubscriptions_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr2_UpdateItems_Proxy(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ DWORD dwFlags,
|
|
/* [in] */ DWORD dwNumCookies,
|
|
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE __RPC_FAR *pCookies);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr2_UpdateItems_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr2_AbortItems_Proxy(
|
|
ISubscriptionMgr2 __RPC_FAR * This,
|
|
/* [in] */ DWORD dwNumCookies,
|
|
/* [size_is][in] */ const SUBSCRIPTIONCOOKIE __RPC_FAR *pCookies);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr2_AbortItems_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE ISubscriptionMgr2_AbortAll_Proxy(
|
|
ISubscriptionMgr2 __RPC_FAR * This);
|
|
|
|
|
|
void __RPC_STUB ISubscriptionMgr2_AbortAll_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __ISubscriptionMgr2_INTERFACE_DEFINED__ */
|
|
|
|
|
|
EXTERN_C const CLSID CLSID_SubscriptionMgr;
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class DECLSPEC_UUID("abbe31d0-6dae-11d0-beca-00c04fd940be")
|
|
SubscriptionMgr;
|
|
#endif
|
|
#endif /* __SubscriptionMgr_LIBRARY_DEFINED__ */
|
|
|
|
/* interface __MIDL_itf_subsmgr_0250 */
|
|
/* [local] */
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////
|
|
// Information Delivery Agent definitions
|
|
EXTERN_C const CLSID CLSID_WebCrawlerAgent;
|
|
EXTERN_C const CLSID CLSID_ChannelAgent;
|
|
EXTERN_C const CLSID CLSID_DialAgent;
|
|
EXTERN_C const CLSID CLSID_CDLAgent;
|
|
|
|
// AgentFlags property for all delivery agents
|
|
typedef
|
|
enum DELIVERY_AGENT_FLAGS
|
|
{ DELIVERY_AGENT_FLAG_NO_BROADCAST = 0x4,
|
|
DELIVERY_AGENT_FLAG_NO_RESTRICTIONS = 0x8,
|
|
DELIVERY_AGENT_FLAG_SILENT_DIAL = 0x10
|
|
} DELIVERY_AGENT_FLAGS;
|
|
|
|
|
|
// RecurseFlags property for web crawler
|
|
typedef
|
|
enum WEBCRAWL_RECURSEFLAGS
|
|
{ WEBCRAWL_DONT_MAKE_STICKY = 0x1,
|
|
WEBCRAWL_GET_IMAGES = 0x2,
|
|
WEBCRAWL_GET_VIDEOS = 0x4,
|
|
WEBCRAWL_GET_BGSOUNDS = 0x8,
|
|
WEBCRAWL_GET_CONTROLS = 0x10,
|
|
WEBCRAWL_LINKS_ELSEWHERE = 0x20,
|
|
WEBCRAWL_IGNORE_ROBOTSTXT = 0x80,
|
|
WEBCRAWL_ONLY_LINKS_TO_HTML = 0x100
|
|
} WEBCRAWL_RECURSEFLAGS;
|
|
|
|
|
|
// ChannelFlags property for channel agent
|
|
typedef
|
|
enum CHANNEL_AGENT_FLAGS
|
|
{ CHANNEL_AGENT_DYNAMIC_SCHEDULE = 0x1,
|
|
CHANNEL_AGENT_PRECACHE_SOME = 0x2,
|
|
CHANNEL_AGENT_PRECACHE_ALL = 0x4,
|
|
CHANNEL_AGENT_PRECACHE_SCRNSAVER = 0x8
|
|
} CHANNEL_AGENT_FLAGS;
|
|
|
|
|
|
// Status codes for completed delivery agents
|
|
|
|
// Maximum specified subscription size limit reached
|
|
#define INET_E_AGENT_MAX_SIZE_EXCEEDED _HRESULT_TYPEDEF_(0x800C0F80L)
|
|
|
|
// A few URLs failed but the base url and most sub-urls succeeded
|
|
#define INET_S_AGENT_PART_FAIL _HRESULT_TYPEDEF_(0x000C0F81L)
|
|
|
|
// Maximum cache limit reached
|
|
#define INET_E_AGENT_CACHE_SIZE_EXCEEDED _HRESULT_TYPEDEF_(0x800C0F82L)
|
|
|
|
// Connection to Internet failed
|
|
#define INET_E_AGENT_CONNECTION_FAILED _HRESULT_TYPEDEF_(0x800C0F83L)
|
|
|
|
// Scheduled updates are disabled
|
|
#define INET_E_SCHEDULED_UPDATES_DISABLED _HRESULT_TYPEDEF_(0x800C0F84L)
|
|
|
|
// Scheduled updates are restricted
|
|
#define INET_E_SCHEDULED_UPDATES_RESTRICTED _HRESULT_TYPEDEF_(0x800C0F85L)
|
|
|
|
// Scheduled update occurred before update interval elapse
|
|
#define INET_E_SCHEDULED_UPDATE_INTERVAL _HRESULT_TYPEDEF_(0x800C0F86L)
|
|
|
|
// Scheduled update occurred during a restricted time
|
|
#define INET_E_SCHEDULED_EXCLUDE_RANGE _HRESULT_TYPEDEF_(0x800C0F87L)
|
|
|
|
// Status codes used during updates
|
|
|
|
// We are about to exceed our size limit during operation
|
|
#define INET_E_AGENT_EXCEEDING_CACHE_SIZE _HRESULT_TYPEDEF_(0x800C0F90L)
|
|
|
|
// We extended the cache size
|
|
#define INET_S_AGENT_INCREASED_CACHE_SIZE _HRESULT_TYPEDEF_(0x000C0F90L)
|
|
|
|
// End Information Delivery Agent definitions
|
|
////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_subsmgr_0250_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_subsmgr_0250_v0_0_s_ifspec;
|
|
|
|
/* Additional Prototypes for ALL interfaces */
|
|
|
|
unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
|
|
unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
|
|
unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
|
|
void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
|
|
|
|
/* end of Additional Prototypes */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
#pragma option pop /*P_O_Pop*/
|