JD2022-TU1/main/extern/Camcam/PlatformSDK/Include/SearchAPI.h

4336 lines
148 KiB
C++

/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0499 */
/* Compiler settings for searchapi.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext, robust
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( )
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
/* verify that the <rpcsal.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCSAL_H_VERSION__
#define __REQUIRED_RPCSAL_H_VERSION__ 100
#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 __searchapi_h__
#define __searchapi_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IUrlAccessor_FWD_DEFINED__
#define __IUrlAccessor_FWD_DEFINED__
typedef interface IUrlAccessor IUrlAccessor;
#endif /* __IUrlAccessor_FWD_DEFINED__ */
#ifndef __IUrlAccessor2_FWD_DEFINED__
#define __IUrlAccessor2_FWD_DEFINED__
typedef interface IUrlAccessor2 IUrlAccessor2;
#endif /* __IUrlAccessor2_FWD_DEFINED__ */
#ifndef __IOpLockStatus_FWD_DEFINED__
#define __IOpLockStatus_FWD_DEFINED__
typedef interface IOpLockStatus IOpLockStatus;
#endif /* __IOpLockStatus_FWD_DEFINED__ */
#ifndef __ISearchProtocolThreadContext_FWD_DEFINED__
#define __ISearchProtocolThreadContext_FWD_DEFINED__
typedef interface ISearchProtocolThreadContext ISearchProtocolThreadContext;
#endif /* __ISearchProtocolThreadContext_FWD_DEFINED__ */
#ifndef __ISearchProtocol_FWD_DEFINED__
#define __ISearchProtocol_FWD_DEFINED__
typedef interface ISearchProtocol ISearchProtocol;
#endif /* __ISearchProtocol_FWD_DEFINED__ */
#ifndef __ISearchProtocol2_FWD_DEFINED__
#define __ISearchProtocol2_FWD_DEFINED__
typedef interface ISearchProtocol2 ISearchProtocol2;
#endif /* __ISearchProtocol2_FWD_DEFINED__ */
#ifndef __IProtocolHandlerSite_FWD_DEFINED__
#define __IProtocolHandlerSite_FWD_DEFINED__
typedef interface IProtocolHandlerSite IProtocolHandlerSite;
#endif /* __IProtocolHandlerSite_FWD_DEFINED__ */
#ifndef __IProtocolHandlerServices_FWD_DEFINED__
#define __IProtocolHandlerServices_FWD_DEFINED__
typedef interface IProtocolHandlerServices IProtocolHandlerServices;
#endif /* __IProtocolHandlerServices_FWD_DEFINED__ */
#ifndef __ISearchRoot_FWD_DEFINED__
#define __ISearchRoot_FWD_DEFINED__
typedef interface ISearchRoot ISearchRoot;
#endif /* __ISearchRoot_FWD_DEFINED__ */
#ifndef __IEnumSearchRoots_FWD_DEFINED__
#define __IEnumSearchRoots_FWD_DEFINED__
typedef interface IEnumSearchRoots IEnumSearchRoots;
#endif /* __IEnumSearchRoots_FWD_DEFINED__ */
#ifndef __ISearchScopeRule_FWD_DEFINED__
#define __ISearchScopeRule_FWD_DEFINED__
typedef interface ISearchScopeRule ISearchScopeRule;
#endif /* __ISearchScopeRule_FWD_DEFINED__ */
#ifndef __IEnumSearchScopeRules_FWD_DEFINED__
#define __IEnumSearchScopeRules_FWD_DEFINED__
typedef interface IEnumSearchScopeRules IEnumSearchScopeRules;
#endif /* __IEnumSearchScopeRules_FWD_DEFINED__ */
#ifndef __ISearchCrawlScopeManager_FWD_DEFINED__
#define __ISearchCrawlScopeManager_FWD_DEFINED__
typedef interface ISearchCrawlScopeManager ISearchCrawlScopeManager;
#endif /* __ISearchCrawlScopeManager_FWD_DEFINED__ */
#ifndef __ISearchItemsChangedSink_FWD_DEFINED__
#define __ISearchItemsChangedSink_FWD_DEFINED__
typedef interface ISearchItemsChangedSink ISearchItemsChangedSink;
#endif /* __ISearchItemsChangedSink_FWD_DEFINED__ */
#ifndef __ISearchPersistentItemsChangedSink_FWD_DEFINED__
#define __ISearchPersistentItemsChangedSink_FWD_DEFINED__
typedef interface ISearchPersistentItemsChangedSink ISearchPersistentItemsChangedSink;
#endif /* __ISearchPersistentItemsChangedSink_FWD_DEFINED__ */
#ifndef __ISearchViewChangedSink_FWD_DEFINED__
#define __ISearchViewChangedSink_FWD_DEFINED__
typedef interface ISearchViewChangedSink ISearchViewChangedSink;
#endif /* __ISearchViewChangedSink_FWD_DEFINED__ */
#ifndef __IGatherNotifyInline_FWD_DEFINED__
#define __IGatherNotifyInline_FWD_DEFINED__
typedef interface IGatherNotifyInline IGatherNotifyInline;
#endif /* __IGatherNotifyInline_FWD_DEFINED__ */
#ifndef __ISearchNotifyInlineSite_FWD_DEFINED__
#define __ISearchNotifyInlineSite_FWD_DEFINED__
typedef interface ISearchNotifyInlineSite ISearchNotifyInlineSite;
#endif /* __ISearchNotifyInlineSite_FWD_DEFINED__ */
#ifndef __IGatherNotifyInlineInternal_FWD_DEFINED__
#define __IGatherNotifyInlineInternal_FWD_DEFINED__
typedef interface IGatherNotifyInlineInternal IGatherNotifyInlineInternal;
#endif /* __IGatherNotifyInlineInternal_FWD_DEFINED__ */
#ifndef __IGatherInlineStatus_FWD_DEFINED__
#define __IGatherInlineStatus_FWD_DEFINED__
typedef interface IGatherInlineStatus IGatherInlineStatus;
#endif /* __IGatherInlineStatus_FWD_DEFINED__ */
#ifndef __ISearchCatalogManager_FWD_DEFINED__
#define __ISearchCatalogManager_FWD_DEFINED__
typedef interface ISearchCatalogManager ISearchCatalogManager;
#endif /* __ISearchCatalogManager_FWD_DEFINED__ */
#ifndef __ISearchQueryHelper_FWD_DEFINED__
#define __ISearchQueryHelper_FWD_DEFINED__
typedef interface ISearchQueryHelper ISearchQueryHelper;
#endif /* __ISearchQueryHelper_FWD_DEFINED__ */
#ifndef __ISearchManager_FWD_DEFINED__
#define __ISearchManager_FWD_DEFINED__
typedef interface ISearchManager ISearchManager;
#endif /* __ISearchManager_FWD_DEFINED__ */
#ifndef __ISearchLanguageSupport_FWD_DEFINED__
#define __ISearchLanguageSupport_FWD_DEFINED__
typedef interface ISearchLanguageSupport ISearchLanguageSupport;
#endif /* __ISearchLanguageSupport_FWD_DEFINED__ */
#ifndef __CSearchManager_FWD_DEFINED__
#define __CSearchManager_FWD_DEFINED__
#ifdef __cplusplus
typedef class CSearchManager CSearchManager;
#else
typedef struct CSearchManager CSearchManager;
#endif /* __cplusplus */
#endif /* __CSearchManager_FWD_DEFINED__ */
#ifndef __CSearchCatalogManager_FWD_DEFINED__
#define __CSearchCatalogManager_FWD_DEFINED__
#ifdef __cplusplus
typedef class CSearchCatalogManager CSearchCatalogManager;
#else
typedef struct CSearchCatalogManager CSearchCatalogManager;
#endif /* __cplusplus */
#endif /* __CSearchCatalogManager_FWD_DEFINED__ */
#ifndef __CSearchQueryHelper_FWD_DEFINED__
#define __CSearchQueryHelper_FWD_DEFINED__
#ifdef __cplusplus
typedef class CSearchQueryHelper CSearchQueryHelper;
#else
typedef struct CSearchQueryHelper CSearchQueryHelper;
#endif /* __cplusplus */
#endif /* __CSearchQueryHelper_FWD_DEFINED__ */
#ifndef __CSearchItemsChangedSink_FWD_DEFINED__
#define __CSearchItemsChangedSink_FWD_DEFINED__
#ifdef __cplusplus
typedef class CSearchItemsChangedSink CSearchItemsChangedSink;
#else
typedef struct CSearchItemsChangedSink CSearchItemsChangedSink;
#endif /* __cplusplus */
#endif /* __CSearchItemsChangedSink_FWD_DEFINED__ */
#ifndef __CSearchCrawlScopeManager_FWD_DEFINED__
#define __CSearchCrawlScopeManager_FWD_DEFINED__
#ifdef __cplusplus
typedef class CSearchCrawlScopeManager CSearchCrawlScopeManager;
#else
typedef struct CSearchCrawlScopeManager CSearchCrawlScopeManager;
#endif /* __cplusplus */
#endif /* __CSearchCrawlScopeManager_FWD_DEFINED__ */
#ifndef __CEnumSearchRoots_FWD_DEFINED__
#define __CEnumSearchRoots_FWD_DEFINED__
#ifdef __cplusplus
typedef class CEnumSearchRoots CEnumSearchRoots;
#else
typedef struct CEnumSearchRoots CEnumSearchRoots;
#endif /* __cplusplus */
#endif /* __CEnumSearchRoots_FWD_DEFINED__ */
#ifndef __CEnumSearchScopeRules_FWD_DEFINED__
#define __CEnumSearchScopeRules_FWD_DEFINED__
#ifdef __cplusplus
typedef class CEnumSearchScopeRules CEnumSearchScopeRules;
#else
typedef struct CEnumSearchScopeRules CEnumSearchScopeRules;
#endif /* __cplusplus */
#endif /* __CEnumSearchScopeRules_FWD_DEFINED__ */
#ifndef __CSearchRoot_FWD_DEFINED__
#define __CSearchRoot_FWD_DEFINED__
#ifdef __cplusplus
typedef class CSearchRoot CSearchRoot;
#else
typedef struct CSearchRoot CSearchRoot;
#endif /* __cplusplus */
#endif /* __CSearchRoot_FWD_DEFINED__ */
#ifndef __CSearchScopeRule_FWD_DEFINED__
#define __CSearchScopeRule_FWD_DEFINED__
#ifdef __cplusplus
typedef class CSearchScopeRule CSearchScopeRule;
#else
typedef struct CSearchScopeRule CSearchScopeRule;
#endif /* __cplusplus */
#endif /* __CSearchScopeRule_FWD_DEFINED__ */
#ifndef __CSearchPersistentItemsChangedSink_FWD_DEFINED__
#define __CSearchPersistentItemsChangedSink_FWD_DEFINED__
#ifdef __cplusplus
typedef class CSearchPersistentItemsChangedSink CSearchPersistentItemsChangedSink;
#else
typedef struct CSearchPersistentItemsChangedSink CSearchPersistentItemsChangedSink;
#endif /* __cplusplus */
#endif /* __CSearchPersistentItemsChangedSink_FWD_DEFINED__ */
/* header files for imported files */
#include "unknwn.h"
#include "objidl.h"
#include "ocidl.h"
#include "propidl.h"
#include "filter.h"
#include "oledb.h"
#include "StructuredQuery.h"
#ifdef __cplusplus
extern "C"{
#endif
/* interface __MIDL_itf_searchapi_0000_0000 */
/* [local] */
//+----------------------------------------------------------------------------
//
// Copyright (c) 2005 Microsoft Corporation.
// Search API Interface
//
//-----------------------------------------------------------------------------
typedef LONG ITEMID;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0000_v0_0_s_ifspec;
#ifndef __IUrlAccessor_INTERFACE_DEFINED__
#define __IUrlAccessor_INTERFACE_DEFINED__
/* interface IUrlAccessor */
/* [unique][public][helpstring][uuid][object] */
EXTERN_C const IID IID_IUrlAccessor;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0b63e318-9ccc-11d0-bcdb-00805fccce04")
IUrlAccessor : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE AddRequestParameter(
/* [in] */ __RPC__in PROPSPEC *pSpec,
/* [in] */ __RPC__in PROPVARIANT *pVar) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDocFormat(
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszDocFormat[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCLSID(
/* [out] */ __RPC__out CLSID *pClsid) = 0;
virtual HRESULT STDMETHODCALLTYPE GetHost(
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszHost[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength) = 0;
virtual HRESULT STDMETHODCALLTYPE IsDirectory( void) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSize(
/* [out] */ __RPC__out ULONGLONG *pllSize) = 0;
virtual HRESULT STDMETHODCALLTYPE GetLastModified(
/* [out] */ __RPC__out FILETIME *pftLastModified) = 0;
virtual HRESULT STDMETHODCALLTYPE GetFileName(
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszFileName[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSecurityDescriptor(
/* [size_is][out] */ __RPC__out_ecount_full(dwSize) BYTE *pSD,
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength) = 0;
virtual HRESULT STDMETHODCALLTYPE GetRedirectedURL(
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszRedirectedURL[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSecurityProvider(
/* [out] */ __RPC__out CLSID *pSPClsid) = 0;
virtual HRESULT STDMETHODCALLTYPE BindToStream(
/* [out] */ __RPC__deref_out_opt IStream **ppStream) = 0;
virtual HRESULT STDMETHODCALLTYPE BindToFilter(
/* [out] */ __RPC__deref_out_opt IFilter **ppFilter) = 0;
};
#else /* C style interface */
typedef struct IUrlAccessorVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IUrlAccessor * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IUrlAccessor * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IUrlAccessor * This);
HRESULT ( STDMETHODCALLTYPE *AddRequestParameter )(
IUrlAccessor * This,
/* [in] */ __RPC__in PROPSPEC *pSpec,
/* [in] */ __RPC__in PROPVARIANT *pVar);
HRESULT ( STDMETHODCALLTYPE *GetDocFormat )(
IUrlAccessor * This,
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszDocFormat[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength);
HRESULT ( STDMETHODCALLTYPE *GetCLSID )(
IUrlAccessor * This,
/* [out] */ __RPC__out CLSID *pClsid);
HRESULT ( STDMETHODCALLTYPE *GetHost )(
IUrlAccessor * This,
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszHost[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength);
HRESULT ( STDMETHODCALLTYPE *IsDirectory )(
IUrlAccessor * This);
HRESULT ( STDMETHODCALLTYPE *GetSize )(
IUrlAccessor * This,
/* [out] */ __RPC__out ULONGLONG *pllSize);
HRESULT ( STDMETHODCALLTYPE *GetLastModified )(
IUrlAccessor * This,
/* [out] */ __RPC__out FILETIME *pftLastModified);
HRESULT ( STDMETHODCALLTYPE *GetFileName )(
IUrlAccessor * This,
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszFileName[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength);
HRESULT ( STDMETHODCALLTYPE *GetSecurityDescriptor )(
IUrlAccessor * This,
/* [size_is][out] */ __RPC__out_ecount_full(dwSize) BYTE *pSD,
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength);
HRESULT ( STDMETHODCALLTYPE *GetRedirectedURL )(
IUrlAccessor * This,
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszRedirectedURL[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength);
HRESULT ( STDMETHODCALLTYPE *GetSecurityProvider )(
IUrlAccessor * This,
/* [out] */ __RPC__out CLSID *pSPClsid);
HRESULT ( STDMETHODCALLTYPE *BindToStream )(
IUrlAccessor * This,
/* [out] */ __RPC__deref_out_opt IStream **ppStream);
HRESULT ( STDMETHODCALLTYPE *BindToFilter )(
IUrlAccessor * This,
/* [out] */ __RPC__deref_out_opt IFilter **ppFilter);
END_INTERFACE
} IUrlAccessorVtbl;
interface IUrlAccessor
{
CONST_VTBL struct IUrlAccessorVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IUrlAccessor_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IUrlAccessor_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IUrlAccessor_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IUrlAccessor_AddRequestParameter(This,pSpec,pVar) \
( (This)->lpVtbl -> AddRequestParameter(This,pSpec,pVar) )
#define IUrlAccessor_GetDocFormat(This,wszDocFormat,dwSize,pdwLength) \
( (This)->lpVtbl -> GetDocFormat(This,wszDocFormat,dwSize,pdwLength) )
#define IUrlAccessor_GetCLSID(This,pClsid) \
( (This)->lpVtbl -> GetCLSID(This,pClsid) )
#define IUrlAccessor_GetHost(This,wszHost,dwSize,pdwLength) \
( (This)->lpVtbl -> GetHost(This,wszHost,dwSize,pdwLength) )
#define IUrlAccessor_IsDirectory(This) \
( (This)->lpVtbl -> IsDirectory(This) )
#define IUrlAccessor_GetSize(This,pllSize) \
( (This)->lpVtbl -> GetSize(This,pllSize) )
#define IUrlAccessor_GetLastModified(This,pftLastModified) \
( (This)->lpVtbl -> GetLastModified(This,pftLastModified) )
#define IUrlAccessor_GetFileName(This,wszFileName,dwSize,pdwLength) \
( (This)->lpVtbl -> GetFileName(This,wszFileName,dwSize,pdwLength) )
#define IUrlAccessor_GetSecurityDescriptor(This,pSD,dwSize,pdwLength) \
( (This)->lpVtbl -> GetSecurityDescriptor(This,pSD,dwSize,pdwLength) )
#define IUrlAccessor_GetRedirectedURL(This,wszRedirectedURL,dwSize,pdwLength) \
( (This)->lpVtbl -> GetRedirectedURL(This,wszRedirectedURL,dwSize,pdwLength) )
#define IUrlAccessor_GetSecurityProvider(This,pSPClsid) \
( (This)->lpVtbl -> GetSecurityProvider(This,pSPClsid) )
#define IUrlAccessor_BindToStream(This,ppStream) \
( (This)->lpVtbl -> BindToStream(This,ppStream) )
#define IUrlAccessor_BindToFilter(This,ppFilter) \
( (This)->lpVtbl -> BindToFilter(This,ppFilter) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IUrlAccessor_INTERFACE_DEFINED__ */
#ifndef __IUrlAccessor2_INTERFACE_DEFINED__
#define __IUrlAccessor2_INTERFACE_DEFINED__
/* interface IUrlAccessor2 */
/* [unique][public][helpstring][uuid][object] */
EXTERN_C const IID IID_IUrlAccessor2;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("c7310734-ac80-11d1-8df3-00c04fb6ef4f")
IUrlAccessor2 : public IUrlAccessor
{
public:
virtual HRESULT STDMETHODCALLTYPE GetDisplayUrl(
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszDocUrl[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength) = 0;
virtual HRESULT STDMETHODCALLTYPE IsDocument( void) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCodePage(
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszCodePage[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength) = 0;
};
#else /* C style interface */
typedef struct IUrlAccessor2Vtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IUrlAccessor2 * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IUrlAccessor2 * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IUrlAccessor2 * This);
HRESULT ( STDMETHODCALLTYPE *AddRequestParameter )(
IUrlAccessor2 * This,
/* [in] */ __RPC__in PROPSPEC *pSpec,
/* [in] */ __RPC__in PROPVARIANT *pVar);
HRESULT ( STDMETHODCALLTYPE *GetDocFormat )(
IUrlAccessor2 * This,
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszDocFormat[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength);
HRESULT ( STDMETHODCALLTYPE *GetCLSID )(
IUrlAccessor2 * This,
/* [out] */ __RPC__out CLSID *pClsid);
HRESULT ( STDMETHODCALLTYPE *GetHost )(
IUrlAccessor2 * This,
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszHost[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength);
HRESULT ( STDMETHODCALLTYPE *IsDirectory )(
IUrlAccessor2 * This);
HRESULT ( STDMETHODCALLTYPE *GetSize )(
IUrlAccessor2 * This,
/* [out] */ __RPC__out ULONGLONG *pllSize);
HRESULT ( STDMETHODCALLTYPE *GetLastModified )(
IUrlAccessor2 * This,
/* [out] */ __RPC__out FILETIME *pftLastModified);
HRESULT ( STDMETHODCALLTYPE *GetFileName )(
IUrlAccessor2 * This,
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszFileName[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength);
HRESULT ( STDMETHODCALLTYPE *GetSecurityDescriptor )(
IUrlAccessor2 * This,
/* [size_is][out] */ __RPC__out_ecount_full(dwSize) BYTE *pSD,
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength);
HRESULT ( STDMETHODCALLTYPE *GetRedirectedURL )(
IUrlAccessor2 * This,
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszRedirectedURL[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength);
HRESULT ( STDMETHODCALLTYPE *GetSecurityProvider )(
IUrlAccessor2 * This,
/* [out] */ __RPC__out CLSID *pSPClsid);
HRESULT ( STDMETHODCALLTYPE *BindToStream )(
IUrlAccessor2 * This,
/* [out] */ __RPC__deref_out_opt IStream **ppStream);
HRESULT ( STDMETHODCALLTYPE *BindToFilter )(
IUrlAccessor2 * This,
/* [out] */ __RPC__deref_out_opt IFilter **ppFilter);
HRESULT ( STDMETHODCALLTYPE *GetDisplayUrl )(
IUrlAccessor2 * This,
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszDocUrl[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength);
HRESULT ( STDMETHODCALLTYPE *IsDocument )(
IUrlAccessor2 * This);
HRESULT ( STDMETHODCALLTYPE *GetCodePage )(
IUrlAccessor2 * This,
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszCodePage[ ],
/* [in] */ DWORD dwSize,
/* [out] */ __RPC__out DWORD *pdwLength);
END_INTERFACE
} IUrlAccessor2Vtbl;
interface IUrlAccessor2
{
CONST_VTBL struct IUrlAccessor2Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IUrlAccessor2_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IUrlAccessor2_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IUrlAccessor2_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IUrlAccessor2_AddRequestParameter(This,pSpec,pVar) \
( (This)->lpVtbl -> AddRequestParameter(This,pSpec,pVar) )
#define IUrlAccessor2_GetDocFormat(This,wszDocFormat,dwSize,pdwLength) \
( (This)->lpVtbl -> GetDocFormat(This,wszDocFormat,dwSize,pdwLength) )
#define IUrlAccessor2_GetCLSID(This,pClsid) \
( (This)->lpVtbl -> GetCLSID(This,pClsid) )
#define IUrlAccessor2_GetHost(This,wszHost,dwSize,pdwLength) \
( (This)->lpVtbl -> GetHost(This,wszHost,dwSize,pdwLength) )
#define IUrlAccessor2_IsDirectory(This) \
( (This)->lpVtbl -> IsDirectory(This) )
#define IUrlAccessor2_GetSize(This,pllSize) \
( (This)->lpVtbl -> GetSize(This,pllSize) )
#define IUrlAccessor2_GetLastModified(This,pftLastModified) \
( (This)->lpVtbl -> GetLastModified(This,pftLastModified) )
#define IUrlAccessor2_GetFileName(This,wszFileName,dwSize,pdwLength) \
( (This)->lpVtbl -> GetFileName(This,wszFileName,dwSize,pdwLength) )
#define IUrlAccessor2_GetSecurityDescriptor(This,pSD,dwSize,pdwLength) \
( (This)->lpVtbl -> GetSecurityDescriptor(This,pSD,dwSize,pdwLength) )
#define IUrlAccessor2_GetRedirectedURL(This,wszRedirectedURL,dwSize,pdwLength) \
( (This)->lpVtbl -> GetRedirectedURL(This,wszRedirectedURL,dwSize,pdwLength) )
#define IUrlAccessor2_GetSecurityProvider(This,pSPClsid) \
( (This)->lpVtbl -> GetSecurityProvider(This,pSPClsid) )
#define IUrlAccessor2_BindToStream(This,ppStream) \
( (This)->lpVtbl -> BindToStream(This,ppStream) )
#define IUrlAccessor2_BindToFilter(This,ppFilter) \
( (This)->lpVtbl -> BindToFilter(This,ppFilter) )
#define IUrlAccessor2_GetDisplayUrl(This,wszDocUrl,dwSize,pdwLength) \
( (This)->lpVtbl -> GetDisplayUrl(This,wszDocUrl,dwSize,pdwLength) )
#define IUrlAccessor2_IsDocument(This) \
( (This)->lpVtbl -> IsDocument(This) )
#define IUrlAccessor2_GetCodePage(This,wszCodePage,dwSize,pdwLength) \
( (This)->lpVtbl -> GetCodePage(This,wszCodePage,dwSize,pdwLength) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IUrlAccessor2_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_searchapi_0000_0002 */
/* [local] */
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0002_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0002_v0_0_s_ifspec;
#ifndef __IOpLockStatus_INTERFACE_DEFINED__
#define __IOpLockStatus_INTERFACE_DEFINED__
/* interface IOpLockStatus */
/* [unique][local][helpstring][uuid][object] */
EXTERN_C const IID IID_IOpLockStatus;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("c731065d-ac80-11d1-8df3-00c04fb6ef4f")
IOpLockStatus : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE IsOplockValid(
/* [out] */
__out BOOL *pfIsOplockValid) = 0;
virtual HRESULT STDMETHODCALLTYPE IsOplockBroken(
/* [out] */
__out BOOL *pfIsOplockBroken) = 0;
virtual HRESULT STDMETHODCALLTYPE GetOplockEventHandle(
/* [out] */
__deref_out HANDLE *phOplockEv) = 0;
};
#else /* C style interface */
typedef struct IOpLockStatusVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IOpLockStatus * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IOpLockStatus * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IOpLockStatus * This);
HRESULT ( STDMETHODCALLTYPE *IsOplockValid )(
IOpLockStatus * This,
/* [out] */
__out BOOL *pfIsOplockValid);
HRESULT ( STDMETHODCALLTYPE *IsOplockBroken )(
IOpLockStatus * This,
/* [out] */
__out BOOL *pfIsOplockBroken);
HRESULT ( STDMETHODCALLTYPE *GetOplockEventHandle )(
IOpLockStatus * This,
/* [out] */
__deref_out HANDLE *phOplockEv);
END_INTERFACE
} IOpLockStatusVtbl;
interface IOpLockStatus
{
CONST_VTBL struct IOpLockStatusVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IOpLockStatus_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IOpLockStatus_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IOpLockStatus_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IOpLockStatus_IsOplockValid(This,pfIsOplockValid) \
( (This)->lpVtbl -> IsOplockValid(This,pfIsOplockValid) )
#define IOpLockStatus_IsOplockBroken(This,pfIsOplockBroken) \
( (This)->lpVtbl -> IsOplockBroken(This,pfIsOplockBroken) )
#define IOpLockStatus_GetOplockEventHandle(This,phOplockEv) \
( (This)->lpVtbl -> GetOplockEventHandle(This,phOplockEv) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IOpLockStatus_INTERFACE_DEFINED__ */
#ifndef __ISearchProtocolThreadContext_INTERFACE_DEFINED__
#define __ISearchProtocolThreadContext_INTERFACE_DEFINED__
/* interface ISearchProtocolThreadContext */
/* [unique][local][helpstring][uuid][object] */
EXTERN_C const IID IID_ISearchProtocolThreadContext;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("c73106e1-ac80-11d1-8df3-00c04fb6ef4f")
ISearchProtocolThreadContext : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE ThreadInit( void) = 0;
virtual HRESULT STDMETHODCALLTYPE ThreadShutdown( void) = 0;
virtual HRESULT STDMETHODCALLTYPE ThreadIdle(
/* [in] */ DWORD dwTimeElaspedSinceLastCallInMS) = 0;
};
#else /* C style interface */
typedef struct ISearchProtocolThreadContextVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchProtocolThreadContext * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchProtocolThreadContext * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchProtocolThreadContext * This);
HRESULT ( STDMETHODCALLTYPE *ThreadInit )(
ISearchProtocolThreadContext * This);
HRESULT ( STDMETHODCALLTYPE *ThreadShutdown )(
ISearchProtocolThreadContext * This);
HRESULT ( STDMETHODCALLTYPE *ThreadIdle )(
ISearchProtocolThreadContext * This,
/* [in] */ DWORD dwTimeElaspedSinceLastCallInMS);
END_INTERFACE
} ISearchProtocolThreadContextVtbl;
interface ISearchProtocolThreadContext
{
CONST_VTBL struct ISearchProtocolThreadContextVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchProtocolThreadContext_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchProtocolThreadContext_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchProtocolThreadContext_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchProtocolThreadContext_ThreadInit(This) \
( (This)->lpVtbl -> ThreadInit(This) )
#define ISearchProtocolThreadContext_ThreadShutdown(This) \
( (This)->lpVtbl -> ThreadShutdown(This) )
#define ISearchProtocolThreadContext_ThreadIdle(This,dwTimeElaspedSinceLastCallInMS) \
( (This)->lpVtbl -> ThreadIdle(This,dwTimeElaspedSinceLastCallInMS) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchProtocolThreadContext_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_searchapi_0000_0004 */
/* [local] */
#pragma pack(8)
typedef struct _TIMEOUT_INFO
{
DWORD dwSize;
DWORD dwConnectTimeout;
DWORD dwDataTimeout;
} TIMEOUT_INFO;
typedef
enum _PROXY_ACCESS
{ PROXY_ACCESS_PRECONFIG = 0,
PROXY_ACCESS_DIRECT = ( PROXY_ACCESS_PRECONFIG + 1 ) ,
PROXY_ACCESS_PROXY = ( PROXY_ACCESS_DIRECT + 1 )
} PROXY_ACCESS;
typedef struct _PROXY_INFO
{
DWORD dwSize;
LPCWSTR pcwszUserAgent;
PROXY_ACCESS paUseProxy;
BOOL fLocalBypass;
DWORD dwPortNumber;
LPCWSTR pcwszProxyName;
LPCWSTR pcwszBypassList;
} PROXY_INFO;
typedef
enum _AUTH_TYPE
{ eAUTH_TYPE_ANONYMOUS = 0,
eAUTH_TYPE_NTLM = ( eAUTH_TYPE_ANONYMOUS + 1 ) ,
eAUTH_TYPE_BASIC = ( eAUTH_TYPE_NTLM + 1 )
} AUTH_TYPE;
typedef struct _AUTHENTICATION_INFO
{
DWORD dwSize;
AUTH_TYPE atAuthenticationType;
LPCWSTR pcwszUser;
LPCWSTR pcwszPassword;
} AUTHENTICATION_INFO;
typedef struct _INCREMENTAL_ACCESS_INFO
{
DWORD dwSize;
FILETIME ftLastModifiedTime;
} INCREMENTAL_ACCESS_INFO;
typedef struct _ITEM_INFO
{
DWORD dwSize;
LPCWSTR pcwszFromEMail;
LPCWSTR pcwszApplicationName;
LPCWSTR pcwszCatalogName;
LPCWSTR pcwszContentClass;
} ITEM_INFO;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0004_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0004_v0_0_s_ifspec;
#ifndef __ISearchProtocol_INTERFACE_DEFINED__
#define __ISearchProtocol_INTERFACE_DEFINED__
/* interface ISearchProtocol */
/* [unique][helpstring][uuid][local][object] */
EXTERN_C const IID IID_ISearchProtocol;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("c73106ba-ac80-11d1-8df3-00c04fb6ef4f")
ISearchProtocol : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE Init(
/* [in] */ TIMEOUT_INFO *pTimeoutInfo,
/* [in] */ IProtocolHandlerSite *pProtocolHandlerSite,
/* [in] */ PROXY_INFO *pProxyInfo) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateAccessor(
/* [in] */ LPCWSTR pcwszURL,
/* [in] */ AUTHENTICATION_INFO *pAuthenticationInfo,
/* [in] */ INCREMENTAL_ACCESS_INFO *pIncrementalAccessInfo,
/* [in] */ ITEM_INFO *pItemInfo,
/* [out] */ IUrlAccessor **ppAccessor) = 0;
virtual HRESULT STDMETHODCALLTYPE CloseAccessor(
/* [in] */ IUrlAccessor *pAccessor) = 0;
virtual HRESULT STDMETHODCALLTYPE ShutDown( void) = 0;
};
#else /* C style interface */
typedef struct ISearchProtocolVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchProtocol * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchProtocol * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchProtocol * This);
HRESULT ( STDMETHODCALLTYPE *Init )(
ISearchProtocol * This,
/* [in] */ TIMEOUT_INFO *pTimeoutInfo,
/* [in] */ IProtocolHandlerSite *pProtocolHandlerSite,
/* [in] */ PROXY_INFO *pProxyInfo);
HRESULT ( STDMETHODCALLTYPE *CreateAccessor )(
ISearchProtocol * This,
/* [in] */ LPCWSTR pcwszURL,
/* [in] */ AUTHENTICATION_INFO *pAuthenticationInfo,
/* [in] */ INCREMENTAL_ACCESS_INFO *pIncrementalAccessInfo,
/* [in] */ ITEM_INFO *pItemInfo,
/* [out] */ IUrlAccessor **ppAccessor);
HRESULT ( STDMETHODCALLTYPE *CloseAccessor )(
ISearchProtocol * This,
/* [in] */ IUrlAccessor *pAccessor);
HRESULT ( STDMETHODCALLTYPE *ShutDown )(
ISearchProtocol * This);
END_INTERFACE
} ISearchProtocolVtbl;
interface ISearchProtocol
{
CONST_VTBL struct ISearchProtocolVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchProtocol_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchProtocol_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchProtocol_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchProtocol_Init(This,pTimeoutInfo,pProtocolHandlerSite,pProxyInfo) \
( (This)->lpVtbl -> Init(This,pTimeoutInfo,pProtocolHandlerSite,pProxyInfo) )
#define ISearchProtocol_CreateAccessor(This,pcwszURL,pAuthenticationInfo,pIncrementalAccessInfo,pItemInfo,ppAccessor) \
( (This)->lpVtbl -> CreateAccessor(This,pcwszURL,pAuthenticationInfo,pIncrementalAccessInfo,pItemInfo,ppAccessor) )
#define ISearchProtocol_CloseAccessor(This,pAccessor) \
( (This)->lpVtbl -> CloseAccessor(This,pAccessor) )
#define ISearchProtocol_ShutDown(This) \
( (This)->lpVtbl -> ShutDown(This) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchProtocol_INTERFACE_DEFINED__ */
#ifndef __ISearchProtocol2_INTERFACE_DEFINED__
#define __ISearchProtocol2_INTERFACE_DEFINED__
/* interface ISearchProtocol2 */
/* [unique][helpstring][uuid][local][object] */
EXTERN_C const IID IID_ISearchProtocol2;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7789F0B2-B5B2-4722-8B65-5DBD150697A9")
ISearchProtocol2 : public ISearchProtocol
{
public:
virtual HRESULT STDMETHODCALLTYPE CreateAccessorEx(
/* [in] */ LPCWSTR pcwszURL,
/* [in] */ AUTHENTICATION_INFO *pAuthenticationInfo,
/* [in] */ INCREMENTAL_ACCESS_INFO *pIncrementalAccessInfo,
/* [in] */ ITEM_INFO *pItemInfo,
/* [in] */ const BLOB *pUserData,
/* [out] */ IUrlAccessor **ppAccessor) = 0;
};
#else /* C style interface */
typedef struct ISearchProtocol2Vtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchProtocol2 * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchProtocol2 * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchProtocol2 * This);
HRESULT ( STDMETHODCALLTYPE *Init )(
ISearchProtocol2 * This,
/* [in] */ TIMEOUT_INFO *pTimeoutInfo,
/* [in] */ IProtocolHandlerSite *pProtocolHandlerSite,
/* [in] */ PROXY_INFO *pProxyInfo);
HRESULT ( STDMETHODCALLTYPE *CreateAccessor )(
ISearchProtocol2 * This,
/* [in] */ LPCWSTR pcwszURL,
/* [in] */ AUTHENTICATION_INFO *pAuthenticationInfo,
/* [in] */ INCREMENTAL_ACCESS_INFO *pIncrementalAccessInfo,
/* [in] */ ITEM_INFO *pItemInfo,
/* [out] */ IUrlAccessor **ppAccessor);
HRESULT ( STDMETHODCALLTYPE *CloseAccessor )(
ISearchProtocol2 * This,
/* [in] */ IUrlAccessor *pAccessor);
HRESULT ( STDMETHODCALLTYPE *ShutDown )(
ISearchProtocol2 * This);
HRESULT ( STDMETHODCALLTYPE *CreateAccessorEx )(
ISearchProtocol2 * This,
/* [in] */ LPCWSTR pcwszURL,
/* [in] */ AUTHENTICATION_INFO *pAuthenticationInfo,
/* [in] */ INCREMENTAL_ACCESS_INFO *pIncrementalAccessInfo,
/* [in] */ ITEM_INFO *pItemInfo,
/* [in] */ const BLOB *pUserData,
/* [out] */ IUrlAccessor **ppAccessor);
END_INTERFACE
} ISearchProtocol2Vtbl;
interface ISearchProtocol2
{
CONST_VTBL struct ISearchProtocol2Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchProtocol2_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchProtocol2_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchProtocol2_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchProtocol2_Init(This,pTimeoutInfo,pProtocolHandlerSite,pProxyInfo) \
( (This)->lpVtbl -> Init(This,pTimeoutInfo,pProtocolHandlerSite,pProxyInfo) )
#define ISearchProtocol2_CreateAccessor(This,pcwszURL,pAuthenticationInfo,pIncrementalAccessInfo,pItemInfo,ppAccessor) \
( (This)->lpVtbl -> CreateAccessor(This,pcwszURL,pAuthenticationInfo,pIncrementalAccessInfo,pItemInfo,ppAccessor) )
#define ISearchProtocol2_CloseAccessor(This,pAccessor) \
( (This)->lpVtbl -> CloseAccessor(This,pAccessor) )
#define ISearchProtocol2_ShutDown(This) \
( (This)->lpVtbl -> ShutDown(This) )
#define ISearchProtocol2_CreateAccessorEx(This,pcwszURL,pAuthenticationInfo,pIncrementalAccessInfo,pItemInfo,pUserData,ppAccessor) \
( (This)->lpVtbl -> CreateAccessorEx(This,pcwszURL,pAuthenticationInfo,pIncrementalAccessInfo,pItemInfo,pUserData,ppAccessor) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchProtocol2_INTERFACE_DEFINED__ */
#ifndef __IProtocolHandlerSite_INTERFACE_DEFINED__
#define __IProtocolHandlerSite_INTERFACE_DEFINED__
/* interface IProtocolHandlerSite */
/* [unique][helpstring][uuid][local][object] */
EXTERN_C const IID IID_IProtocolHandlerSite;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0b63e385-9ccc-11d0-bcdb-00805fccce04")
IProtocolHandlerSite : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE GetFilter(
/* [in] */ CLSID *pclsidObj,
/* [in] */ LPCWSTR pcwszContentType,
/* [in] */ LPCWSTR pcwszExtension,
/* [out] */ IFilter **ppFilter) = 0;
};
#else /* C style interface */
typedef struct IProtocolHandlerSiteVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IProtocolHandlerSite * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IProtocolHandlerSite * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IProtocolHandlerSite * This);
HRESULT ( STDMETHODCALLTYPE *GetFilter )(
IProtocolHandlerSite * This,
/* [in] */ CLSID *pclsidObj,
/* [in] */ LPCWSTR pcwszContentType,
/* [in] */ LPCWSTR pcwszExtension,
/* [out] */ IFilter **ppFilter);
END_INTERFACE
} IProtocolHandlerSiteVtbl;
interface IProtocolHandlerSite
{
CONST_VTBL struct IProtocolHandlerSiteVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IProtocolHandlerSite_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IProtocolHandlerSite_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IProtocolHandlerSite_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IProtocolHandlerSite_GetFilter(This,pclsidObj,pcwszContentType,pcwszExtension,ppFilter) \
( (This)->lpVtbl -> GetFilter(This,pclsidObj,pcwszContentType,pcwszExtension,ppFilter) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IProtocolHandlerSite_INTERFACE_DEFINED__ */
#ifndef __IProtocolHandlerServices_INTERFACE_DEFINED__
#define __IProtocolHandlerServices_INTERFACE_DEFINED__
/* interface IProtocolHandlerServices */
/* [unique][helpstring][uuid][local][object] */
EXTERN_C const IID IID_IProtocolHandlerServices;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("C9FCD6B1-8B41-4D4D-8E65-4A33FBAD8DE0")
IProtocolHandlerServices : public IProtocolHandlerSite
{
public:
virtual HRESULT STDMETHODCALLTYPE CreateAccessor(
/* [in] */ LPWSTR url,
/* [out] */ IUrlAccessor **ppAccessor) = 0;
};
#else /* C style interface */
typedef struct IProtocolHandlerServicesVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IProtocolHandlerServices * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IProtocolHandlerServices * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IProtocolHandlerServices * This);
HRESULT ( STDMETHODCALLTYPE *GetFilter )(
IProtocolHandlerServices * This,
/* [in] */ CLSID *pclsidObj,
/* [in] */ LPCWSTR pcwszContentType,
/* [in] */ LPCWSTR pcwszExtension,
/* [out] */ IFilter **ppFilter);
HRESULT ( STDMETHODCALLTYPE *CreateAccessor )(
IProtocolHandlerServices * This,
/* [in] */ LPWSTR url,
/* [out] */ IUrlAccessor **ppAccessor);
END_INTERFACE
} IProtocolHandlerServicesVtbl;
interface IProtocolHandlerServices
{
CONST_VTBL struct IProtocolHandlerServicesVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IProtocolHandlerServices_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IProtocolHandlerServices_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IProtocolHandlerServices_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IProtocolHandlerServices_GetFilter(This,pclsidObj,pcwszContentType,pcwszExtension,ppFilter) \
( (This)->lpVtbl -> GetFilter(This,pclsidObj,pcwszContentType,pcwszExtension,ppFilter) )
#define IProtocolHandlerServices_CreateAccessor(This,url,ppAccessor) \
( (This)->lpVtbl -> CreateAccessor(This,url,ppAccessor) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IProtocolHandlerServices_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_searchapi_0000_0008 */
/* [local] */
#pragma pack()
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0008_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0008_v0_0_s_ifspec;
#ifndef __ISearchRoot_INTERFACE_DEFINED__
#define __ISearchRoot_INTERFACE_DEFINED__
/* interface ISearchRoot */
/* [unique][uuid][object] */
EXTERN_C const IID IID_ISearchRoot;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("04C18CCF-1F57-4CBD-88CC-3900F5195CE3")
ISearchRoot : public IUnknown
{
public:
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Schedule(
/* [string][in] */ __RPC__in LPCWSTR pszTaskArg) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Schedule(
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszTaskArg) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_RootURL(
/* [string][in] */ __RPC__in LPCWSTR pszURL) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_RootURL(
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszURL) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_IsHierarchical(
/* [in] */ BOOL fIsHierarchical) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_IsHierarchical(
/* [retval][out] */ __RPC__out BOOL *pfIsHierarchical) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_ProvidesNotifications(
/* [in] */ BOOL fProvidesNotifications) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ProvidesNotifications(
/* [retval][out] */ __RPC__out BOOL *pfProvidesNotifications) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_UseNotificationsOnly(
/* [in] */ BOOL fUseNotificationsOnly) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_UseNotificationsOnly(
/* [retval][out] */ __RPC__out BOOL *pfUseNotificationsOnly) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_EnumerationDepth(
/* [in] */ DWORD dwDepth) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_EnumerationDepth(
/* [retval][out] */ __RPC__out DWORD *pdwDepth) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_HostDepth(
/* [in] */ DWORD dwDepth) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_HostDepth(
/* [retval][out] */ __RPC__out DWORD *pdwDepth) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_FollowDirectories(
/* [in] */ BOOL fFollowDirectories) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_FollowDirectories(
/* [retval][out] */ __RPC__out BOOL *pfFollowDirectories) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_AuthenticationType(
/* [in] */ AUTH_TYPE authType) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_AuthenticationType(
/* [retval][out] */ __RPC__out AUTH_TYPE *pAuthType) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_User(
/* [string][in] */ __RPC__in LPCWSTR pszUser) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_User(
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszUser) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Password(
/* [string][in] */ __RPC__in LPCWSTR pszPassword) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Password(
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszPassword) = 0;
};
#else /* C style interface */
typedef struct ISearchRootVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchRoot * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchRoot * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchRoot * This);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Schedule )(
ISearchRoot * This,
/* [string][in] */ __RPC__in LPCWSTR pszTaskArg);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Schedule )(
ISearchRoot * This,
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszTaskArg);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_RootURL )(
ISearchRoot * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_RootURL )(
ISearchRoot * This,
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszURL);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_IsHierarchical )(
ISearchRoot * This,
/* [in] */ BOOL fIsHierarchical);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsHierarchical )(
ISearchRoot * This,
/* [retval][out] */ __RPC__out BOOL *pfIsHierarchical);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_ProvidesNotifications )(
ISearchRoot * This,
/* [in] */ BOOL fProvidesNotifications);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ProvidesNotifications )(
ISearchRoot * This,
/* [retval][out] */ __RPC__out BOOL *pfProvidesNotifications);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_UseNotificationsOnly )(
ISearchRoot * This,
/* [in] */ BOOL fUseNotificationsOnly);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_UseNotificationsOnly )(
ISearchRoot * This,
/* [retval][out] */ __RPC__out BOOL *pfUseNotificationsOnly);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_EnumerationDepth )(
ISearchRoot * This,
/* [in] */ DWORD dwDepth);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnumerationDepth )(
ISearchRoot * This,
/* [retval][out] */ __RPC__out DWORD *pdwDepth);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_HostDepth )(
ISearchRoot * This,
/* [in] */ DWORD dwDepth);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_HostDepth )(
ISearchRoot * This,
/* [retval][out] */ __RPC__out DWORD *pdwDepth);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_FollowDirectories )(
ISearchRoot * This,
/* [in] */ BOOL fFollowDirectories);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_FollowDirectories )(
ISearchRoot * This,
/* [retval][out] */ __RPC__out BOOL *pfFollowDirectories);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_AuthenticationType )(
ISearchRoot * This,
/* [in] */ AUTH_TYPE authType);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_AuthenticationType )(
ISearchRoot * This,
/* [retval][out] */ __RPC__out AUTH_TYPE *pAuthType);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_User )(
ISearchRoot * This,
/* [string][in] */ __RPC__in LPCWSTR pszUser);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_User )(
ISearchRoot * This,
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszUser);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Password )(
ISearchRoot * This,
/* [string][in] */ __RPC__in LPCWSTR pszPassword);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Password )(
ISearchRoot * This,
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszPassword);
END_INTERFACE
} ISearchRootVtbl;
interface ISearchRoot
{
CONST_VTBL struct ISearchRootVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchRoot_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchRoot_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchRoot_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchRoot_put_Schedule(This,pszTaskArg) \
( (This)->lpVtbl -> put_Schedule(This,pszTaskArg) )
#define ISearchRoot_get_Schedule(This,ppszTaskArg) \
( (This)->lpVtbl -> get_Schedule(This,ppszTaskArg) )
#define ISearchRoot_put_RootURL(This,pszURL) \
( (This)->lpVtbl -> put_RootURL(This,pszURL) )
#define ISearchRoot_get_RootURL(This,ppszURL) \
( (This)->lpVtbl -> get_RootURL(This,ppszURL) )
#define ISearchRoot_put_IsHierarchical(This,fIsHierarchical) \
( (This)->lpVtbl -> put_IsHierarchical(This,fIsHierarchical) )
#define ISearchRoot_get_IsHierarchical(This,pfIsHierarchical) \
( (This)->lpVtbl -> get_IsHierarchical(This,pfIsHierarchical) )
#define ISearchRoot_put_ProvidesNotifications(This,fProvidesNotifications) \
( (This)->lpVtbl -> put_ProvidesNotifications(This,fProvidesNotifications) )
#define ISearchRoot_get_ProvidesNotifications(This,pfProvidesNotifications) \
( (This)->lpVtbl -> get_ProvidesNotifications(This,pfProvidesNotifications) )
#define ISearchRoot_put_UseNotificationsOnly(This,fUseNotificationsOnly) \
( (This)->lpVtbl -> put_UseNotificationsOnly(This,fUseNotificationsOnly) )
#define ISearchRoot_get_UseNotificationsOnly(This,pfUseNotificationsOnly) \
( (This)->lpVtbl -> get_UseNotificationsOnly(This,pfUseNotificationsOnly) )
#define ISearchRoot_put_EnumerationDepth(This,dwDepth) \
( (This)->lpVtbl -> put_EnumerationDepth(This,dwDepth) )
#define ISearchRoot_get_EnumerationDepth(This,pdwDepth) \
( (This)->lpVtbl -> get_EnumerationDepth(This,pdwDepth) )
#define ISearchRoot_put_HostDepth(This,dwDepth) \
( (This)->lpVtbl -> put_HostDepth(This,dwDepth) )
#define ISearchRoot_get_HostDepth(This,pdwDepth) \
( (This)->lpVtbl -> get_HostDepth(This,pdwDepth) )
#define ISearchRoot_put_FollowDirectories(This,fFollowDirectories) \
( (This)->lpVtbl -> put_FollowDirectories(This,fFollowDirectories) )
#define ISearchRoot_get_FollowDirectories(This,pfFollowDirectories) \
( (This)->lpVtbl -> get_FollowDirectories(This,pfFollowDirectories) )
#define ISearchRoot_put_AuthenticationType(This,authType) \
( (This)->lpVtbl -> put_AuthenticationType(This,authType) )
#define ISearchRoot_get_AuthenticationType(This,pAuthType) \
( (This)->lpVtbl -> get_AuthenticationType(This,pAuthType) )
#define ISearchRoot_put_User(This,pszUser) \
( (This)->lpVtbl -> put_User(This,pszUser) )
#define ISearchRoot_get_User(This,ppszUser) \
( (This)->lpVtbl -> get_User(This,ppszUser) )
#define ISearchRoot_put_Password(This,pszPassword) \
( (This)->lpVtbl -> put_Password(This,pszPassword) )
#define ISearchRoot_get_Password(This,ppszPassword) \
( (This)->lpVtbl -> get_Password(This,ppszPassword) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchRoot_INTERFACE_DEFINED__ */
#ifndef __IEnumSearchRoots_INTERFACE_DEFINED__
#define __IEnumSearchRoots_INTERFACE_DEFINED__
/* interface IEnumSearchRoots */
/* [unique][uuid][object] */
EXTERN_C const IID IID_IEnumSearchRoots;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ab310581-ac80-11d1-8df3-00c04fb6ef52")
IEnumSearchRoots : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE Next(
/* [in] */ ULONG celt,
/* [size_is][out] */ __RPC__out_ecount_full(celt) ISearchRoot **rgelt,
/* [unique][out][in] */ __RPC__inout_opt ULONG *pceltFetched) = 0;
virtual HRESULT STDMETHODCALLTYPE Skip(
/* [in] */ ULONG celt) = 0;
virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
virtual HRESULT STDMETHODCALLTYPE Clone(
/* [retval][out] */ __RPC__deref_out_opt IEnumSearchRoots **ppenum) = 0;
};
#else /* C style interface */
typedef struct IEnumSearchRootsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IEnumSearchRoots * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IEnumSearchRoots * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IEnumSearchRoots * This);
HRESULT ( STDMETHODCALLTYPE *Next )(
IEnumSearchRoots * This,
/* [in] */ ULONG celt,
/* [size_is][out] */ __RPC__out_ecount_full(celt) ISearchRoot **rgelt,
/* [unique][out][in] */ __RPC__inout_opt ULONG *pceltFetched);
HRESULT ( STDMETHODCALLTYPE *Skip )(
IEnumSearchRoots * This,
/* [in] */ ULONG celt);
HRESULT ( STDMETHODCALLTYPE *Reset )(
IEnumSearchRoots * This);
HRESULT ( STDMETHODCALLTYPE *Clone )(
IEnumSearchRoots * This,
/* [retval][out] */ __RPC__deref_out_opt IEnumSearchRoots **ppenum);
END_INTERFACE
} IEnumSearchRootsVtbl;
interface IEnumSearchRoots
{
CONST_VTBL struct IEnumSearchRootsVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IEnumSearchRoots_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IEnumSearchRoots_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IEnumSearchRoots_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IEnumSearchRoots_Next(This,celt,rgelt,pceltFetched) \
( (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched) )
#define IEnumSearchRoots_Skip(This,celt) \
( (This)->lpVtbl -> Skip(This,celt) )
#define IEnumSearchRoots_Reset(This) \
( (This)->lpVtbl -> Reset(This) )
#define IEnumSearchRoots_Clone(This,ppenum) \
( (This)->lpVtbl -> Clone(This,ppenum) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IEnumSearchRoots_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_searchapi_0000_0010 */
/* [local] */
typedef /* [v1_enum] */
enum _FOLLOW_FLAGS
{ FF_INDEXCOMPLEXURLS = 0x1,
FF_SUPPRESSINDEXING = 0x2
} FOLLOW_FLAGS;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0010_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0010_v0_0_s_ifspec;
#ifndef __ISearchScopeRule_INTERFACE_DEFINED__
#define __ISearchScopeRule_INTERFACE_DEFINED__
/* interface ISearchScopeRule */
/* [unique][uuid][object] */
EXTERN_C const IID IID_ISearchScopeRule;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ab310581-ac80-11d1-8df3-00c04fb6ef53")
ISearchScopeRule : public IUnknown
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PatternOrURL(
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszPatternOrURL) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_IsIncluded(
/* [retval][out] */ __RPC__out BOOL *pfIsIncluded) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_IsDefault(
/* [retval][out] */ __RPC__out BOOL *pfIsDefault) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_FollowFlags(
/* [retval][out] */ __RPC__out DWORD *pFollowFlags) = 0;
};
#else /* C style interface */
typedef struct ISearchScopeRuleVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchScopeRule * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchScopeRule * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchScopeRule * This);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_PatternOrURL )(
ISearchScopeRule * This,
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszPatternOrURL);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsIncluded )(
ISearchScopeRule * This,
/* [retval][out] */ __RPC__out BOOL *pfIsIncluded);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsDefault )(
ISearchScopeRule * This,
/* [retval][out] */ __RPC__out BOOL *pfIsDefault);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_FollowFlags )(
ISearchScopeRule * This,
/* [retval][out] */ __RPC__out DWORD *pFollowFlags);
END_INTERFACE
} ISearchScopeRuleVtbl;
interface ISearchScopeRule
{
CONST_VTBL struct ISearchScopeRuleVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchScopeRule_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchScopeRule_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchScopeRule_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchScopeRule_get_PatternOrURL(This,ppszPatternOrURL) \
( (This)->lpVtbl -> get_PatternOrURL(This,ppszPatternOrURL) )
#define ISearchScopeRule_get_IsIncluded(This,pfIsIncluded) \
( (This)->lpVtbl -> get_IsIncluded(This,pfIsIncluded) )
#define ISearchScopeRule_get_IsDefault(This,pfIsDefault) \
( (This)->lpVtbl -> get_IsDefault(This,pfIsDefault) )
#define ISearchScopeRule_get_FollowFlags(This,pFollowFlags) \
( (This)->lpVtbl -> get_FollowFlags(This,pFollowFlags) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchScopeRule_INTERFACE_DEFINED__ */
#ifndef __IEnumSearchScopeRules_INTERFACE_DEFINED__
#define __IEnumSearchScopeRules_INTERFACE_DEFINED__
/* interface IEnumSearchScopeRules */
/* [unique][uuid][object] */
EXTERN_C const IID IID_IEnumSearchScopeRules;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ab310581-ac80-11d1-8df3-00c04fb6ef54")
IEnumSearchScopeRules : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE Next(
/* [in] */ ULONG celt,
/* [size_is][out] */ __RPC__out_ecount_full(celt) ISearchScopeRule **pprgelt,
/* [unique][out][in] */ __RPC__inout_opt ULONG *pceltFetched) = 0;
virtual HRESULT STDMETHODCALLTYPE Skip(
/* [in] */ ULONG celt) = 0;
virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
virtual HRESULT STDMETHODCALLTYPE Clone(
/* [retval][out] */ __RPC__deref_out_opt IEnumSearchScopeRules **ppenum) = 0;
};
#else /* C style interface */
typedef struct IEnumSearchScopeRulesVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IEnumSearchScopeRules * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IEnumSearchScopeRules * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IEnumSearchScopeRules * This);
HRESULT ( STDMETHODCALLTYPE *Next )(
IEnumSearchScopeRules * This,
/* [in] */ ULONG celt,
/* [size_is][out] */ __RPC__out_ecount_full(celt) ISearchScopeRule **pprgelt,
/* [unique][out][in] */ __RPC__inout_opt ULONG *pceltFetched);
HRESULT ( STDMETHODCALLTYPE *Skip )(
IEnumSearchScopeRules * This,
/* [in] */ ULONG celt);
HRESULT ( STDMETHODCALLTYPE *Reset )(
IEnumSearchScopeRules * This);
HRESULT ( STDMETHODCALLTYPE *Clone )(
IEnumSearchScopeRules * This,
/* [retval][out] */ __RPC__deref_out_opt IEnumSearchScopeRules **ppenum);
END_INTERFACE
} IEnumSearchScopeRulesVtbl;
interface IEnumSearchScopeRules
{
CONST_VTBL struct IEnumSearchScopeRulesVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IEnumSearchScopeRules_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IEnumSearchScopeRules_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IEnumSearchScopeRules_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IEnumSearchScopeRules_Next(This,celt,pprgelt,pceltFetched) \
( (This)->lpVtbl -> Next(This,celt,pprgelt,pceltFetched) )
#define IEnumSearchScopeRules_Skip(This,celt) \
( (This)->lpVtbl -> Skip(This,celt) )
#define IEnumSearchScopeRules_Reset(This) \
( (This)->lpVtbl -> Reset(This) )
#define IEnumSearchScopeRules_Clone(This,ppenum) \
( (This)->lpVtbl -> Clone(This,ppenum) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IEnumSearchScopeRules_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_searchapi_0000_0012 */
/* [local] */
typedef /* [public][public] */
enum __MIDL___MIDL_itf_searchapi_0000_0012_0001
{ CLUSIONREASON_UNKNOWNSCOPE = 0,
CLUSIONREASON_DEFAULT = 1,
CLUSIONREASON_USER = 2,
CLUSIONREASON_GROUPPOLICY = 3
} CLUSION_REASON;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0012_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0012_v0_0_s_ifspec;
#ifndef __ISearchCrawlScopeManager_INTERFACE_DEFINED__
#define __ISearchCrawlScopeManager_INTERFACE_DEFINED__
/* interface ISearchCrawlScopeManager */
/* [unique][uuid][object] */
EXTERN_C const IID IID_ISearchCrawlScopeManager;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ab310581-ac80-11d1-8df3-00c04fb6ef55")
ISearchCrawlScopeManager : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE AddDefaultScopeRule(
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [in] */ BOOL fInclude,
/* [in] */ DWORD fFollowFlags) = 0;
virtual HRESULT STDMETHODCALLTYPE AddRoot(
/* [in] */ __RPC__in_opt ISearchRoot *pSearchRoot) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveRoot(
/* [in] */ __RPC__in LPCWSTR pszURL) = 0;
virtual HRESULT STDMETHODCALLTYPE EnumerateRoots(
/* [retval][out] */ __RPC__deref_out_opt IEnumSearchRoots **ppSearchRoots) = 0;
virtual HRESULT STDMETHODCALLTYPE AddHierarchicalScope(
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [in] */ BOOL fInclude,
/* [in] */ BOOL fDefault,
/* [in] */ BOOL fOverrideChildren) = 0;
virtual HRESULT STDMETHODCALLTYPE AddUserScopeRule(
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [in] */ BOOL fInclude,
/* [in] */ BOOL fOverrideChildren,
/* [in] */ DWORD fFollowFlags) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveScopeRule(
/* [string][in] */ __RPC__in LPCWSTR pszRule) = 0;
virtual HRESULT STDMETHODCALLTYPE EnumerateScopeRules(
/* [retval][out] */ __RPC__deref_out_opt IEnumSearchScopeRules **ppSearchScopeRules) = 0;
virtual HRESULT STDMETHODCALLTYPE HasParentScopeRule(
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [retval][out] */ __RPC__out BOOL *pfHasParentRule) = 0;
virtual HRESULT STDMETHODCALLTYPE HasChildScopeRule(
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [retval][out] */ __RPC__out BOOL *pfHasChildRule) = 0;
virtual HRESULT STDMETHODCALLTYPE IncludedInCrawlScope(
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [retval][out] */ __RPC__out BOOL *pfIsIncluded) = 0;
virtual HRESULT STDMETHODCALLTYPE IncludedInCrawlScopeEx(
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [out] */ __RPC__out BOOL *pfIsIncluded,
/* [out] */ __RPC__out CLUSION_REASON *pReason) = 0;
virtual HRESULT STDMETHODCALLTYPE RevertToDefaultScopes( void) = 0;
virtual HRESULT STDMETHODCALLTYPE SaveAll( void) = 0;
virtual HRESULT STDMETHODCALLTYPE GetParentScopeVersionId(
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [retval][out] */ __RPC__out LONG *plScopeId) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveDefaultScopeRule(
/* [string][in] */ __RPC__in LPCWSTR pszURL) = 0;
};
#else /* C style interface */
typedef struct ISearchCrawlScopeManagerVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchCrawlScopeManager * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchCrawlScopeManager * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchCrawlScopeManager * This);
HRESULT ( STDMETHODCALLTYPE *AddDefaultScopeRule )(
ISearchCrawlScopeManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [in] */ BOOL fInclude,
/* [in] */ DWORD fFollowFlags);
HRESULT ( STDMETHODCALLTYPE *AddRoot )(
ISearchCrawlScopeManager * This,
/* [in] */ __RPC__in_opt ISearchRoot *pSearchRoot);
HRESULT ( STDMETHODCALLTYPE *RemoveRoot )(
ISearchCrawlScopeManager * This,
/* [in] */ __RPC__in LPCWSTR pszURL);
HRESULT ( STDMETHODCALLTYPE *EnumerateRoots )(
ISearchCrawlScopeManager * This,
/* [retval][out] */ __RPC__deref_out_opt IEnumSearchRoots **ppSearchRoots);
HRESULT ( STDMETHODCALLTYPE *AddHierarchicalScope )(
ISearchCrawlScopeManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [in] */ BOOL fInclude,
/* [in] */ BOOL fDefault,
/* [in] */ BOOL fOverrideChildren);
HRESULT ( STDMETHODCALLTYPE *AddUserScopeRule )(
ISearchCrawlScopeManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [in] */ BOOL fInclude,
/* [in] */ BOOL fOverrideChildren,
/* [in] */ DWORD fFollowFlags);
HRESULT ( STDMETHODCALLTYPE *RemoveScopeRule )(
ISearchCrawlScopeManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszRule);
HRESULT ( STDMETHODCALLTYPE *EnumerateScopeRules )(
ISearchCrawlScopeManager * This,
/* [retval][out] */ __RPC__deref_out_opt IEnumSearchScopeRules **ppSearchScopeRules);
HRESULT ( STDMETHODCALLTYPE *HasParentScopeRule )(
ISearchCrawlScopeManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [retval][out] */ __RPC__out BOOL *pfHasParentRule);
HRESULT ( STDMETHODCALLTYPE *HasChildScopeRule )(
ISearchCrawlScopeManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [retval][out] */ __RPC__out BOOL *pfHasChildRule);
HRESULT ( STDMETHODCALLTYPE *IncludedInCrawlScope )(
ISearchCrawlScopeManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [retval][out] */ __RPC__out BOOL *pfIsIncluded);
HRESULT ( STDMETHODCALLTYPE *IncludedInCrawlScopeEx )(
ISearchCrawlScopeManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [out] */ __RPC__out BOOL *pfIsIncluded,
/* [out] */ __RPC__out CLUSION_REASON *pReason);
HRESULT ( STDMETHODCALLTYPE *RevertToDefaultScopes )(
ISearchCrawlScopeManager * This);
HRESULT ( STDMETHODCALLTYPE *SaveAll )(
ISearchCrawlScopeManager * This);
HRESULT ( STDMETHODCALLTYPE *GetParentScopeVersionId )(
ISearchCrawlScopeManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [retval][out] */ __RPC__out LONG *plScopeId);
HRESULT ( STDMETHODCALLTYPE *RemoveDefaultScopeRule )(
ISearchCrawlScopeManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL);
END_INTERFACE
} ISearchCrawlScopeManagerVtbl;
interface ISearchCrawlScopeManager
{
CONST_VTBL struct ISearchCrawlScopeManagerVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchCrawlScopeManager_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchCrawlScopeManager_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchCrawlScopeManager_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchCrawlScopeManager_AddDefaultScopeRule(This,pszURL,fInclude,fFollowFlags) \
( (This)->lpVtbl -> AddDefaultScopeRule(This,pszURL,fInclude,fFollowFlags) )
#define ISearchCrawlScopeManager_AddRoot(This,pSearchRoot) \
( (This)->lpVtbl -> AddRoot(This,pSearchRoot) )
#define ISearchCrawlScopeManager_RemoveRoot(This,pszURL) \
( (This)->lpVtbl -> RemoveRoot(This,pszURL) )
#define ISearchCrawlScopeManager_EnumerateRoots(This,ppSearchRoots) \
( (This)->lpVtbl -> EnumerateRoots(This,ppSearchRoots) )
#define ISearchCrawlScopeManager_AddHierarchicalScope(This,pszURL,fInclude,fDefault,fOverrideChildren) \
( (This)->lpVtbl -> AddHierarchicalScope(This,pszURL,fInclude,fDefault,fOverrideChildren) )
#define ISearchCrawlScopeManager_AddUserScopeRule(This,pszURL,fInclude,fOverrideChildren,fFollowFlags) \
( (This)->lpVtbl -> AddUserScopeRule(This,pszURL,fInclude,fOverrideChildren,fFollowFlags) )
#define ISearchCrawlScopeManager_RemoveScopeRule(This,pszRule) \
( (This)->lpVtbl -> RemoveScopeRule(This,pszRule) )
#define ISearchCrawlScopeManager_EnumerateScopeRules(This,ppSearchScopeRules) \
( (This)->lpVtbl -> EnumerateScopeRules(This,ppSearchScopeRules) )
#define ISearchCrawlScopeManager_HasParentScopeRule(This,pszURL,pfHasParentRule) \
( (This)->lpVtbl -> HasParentScopeRule(This,pszURL,pfHasParentRule) )
#define ISearchCrawlScopeManager_HasChildScopeRule(This,pszURL,pfHasChildRule) \
( (This)->lpVtbl -> HasChildScopeRule(This,pszURL,pfHasChildRule) )
#define ISearchCrawlScopeManager_IncludedInCrawlScope(This,pszURL,pfIsIncluded) \
( (This)->lpVtbl -> IncludedInCrawlScope(This,pszURL,pfIsIncluded) )
#define ISearchCrawlScopeManager_IncludedInCrawlScopeEx(This,pszURL,pfIsIncluded,pReason) \
( (This)->lpVtbl -> IncludedInCrawlScopeEx(This,pszURL,pfIsIncluded,pReason) )
#define ISearchCrawlScopeManager_RevertToDefaultScopes(This) \
( (This)->lpVtbl -> RevertToDefaultScopes(This) )
#define ISearchCrawlScopeManager_SaveAll(This) \
( (This)->lpVtbl -> SaveAll(This) )
#define ISearchCrawlScopeManager_GetParentScopeVersionId(This,pszURL,plScopeId) \
( (This)->lpVtbl -> GetParentScopeVersionId(This,pszURL,plScopeId) )
#define ISearchCrawlScopeManager_RemoveDefaultScopeRule(This,pszURL) \
( (This)->lpVtbl -> RemoveDefaultScopeRule(This,pszURL) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchCrawlScopeManager_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_searchapi_0000_0013 */
/* [local] */
typedef /* [v1_enum] */
enum _SEARCH_KIND_OF_CHANGE
{ SEARCH_CHANGE_ADD = 0,
SEARCH_CHANGE_DELETE = 1,
SEARCH_CHANGE_MODIFY = 2,
SEARCH_CHANGE_MOVE_RENAME = 3,
SEARCH_CHANGE_SEMANTICS_DIRECTORY = 0x40000,
SEARCH_CHANGE_SEMANTICS_SHALLOW = 0x80000,
SEARCH_CHANGE_SEMANTICS_UPDATE_SECURITY = 0x400000
} SEARCH_KIND_OF_CHANGE;
typedef
enum _SEARCH_NOTIFICATION_PRIORITY
{ SEARCH_NORMAL_PRIORITY = 0,
SEARCH_HIGH_PRIORITY = 1
} SEARCH_NOTIFICATION_PRIORITY;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0013_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0013_v0_0_s_ifspec;
#ifndef __ISearchItemsChangedSink_INTERFACE_DEFINED__
#define __ISearchItemsChangedSink_INTERFACE_DEFINED__
/* interface ISearchItemsChangedSink */
/* [unique][uuid][object] */
typedef struct _SEARCH_ITEM_CHANGE
{
SEARCH_KIND_OF_CHANGE Change;
SEARCH_NOTIFICATION_PRIORITY Priority;
BLOB *pUserData;
LPWSTR lpwszURL;
LPWSTR lpwszOldURL;
} SEARCH_ITEM_CHANGE;
EXTERN_C const IID IID_ISearchItemsChangedSink;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ab310581-ac80-11d1-8df3-00c04fb6ef58")
ISearchItemsChangedSink : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE StartedMonitoringScope(
/* [string][in] */ __RPC__in LPCWSTR pszURL) = 0;
virtual HRESULT STDMETHODCALLTYPE StoppedMonitoringScope(
/* [string][in] */ __RPC__in LPCWSTR pszURL) = 0;
virtual HRESULT STDMETHODCALLTYPE OnItemsChanged(
/* [in] */ DWORD dwNumberOfChanges,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumberOfChanges) SEARCH_ITEM_CHANGE rgDataChangeEntries[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberOfChanges) DWORD rgdwDocIds[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberOfChanges) HRESULT rghrCompletionCodes[ ]) = 0;
};
#else /* C style interface */
typedef struct ISearchItemsChangedSinkVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchItemsChangedSink * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchItemsChangedSink * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchItemsChangedSink * This);
HRESULT ( STDMETHODCALLTYPE *StartedMonitoringScope )(
ISearchItemsChangedSink * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL);
HRESULT ( STDMETHODCALLTYPE *StoppedMonitoringScope )(
ISearchItemsChangedSink * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL);
HRESULT ( STDMETHODCALLTYPE *OnItemsChanged )(
ISearchItemsChangedSink * This,
/* [in] */ DWORD dwNumberOfChanges,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumberOfChanges) SEARCH_ITEM_CHANGE rgDataChangeEntries[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberOfChanges) DWORD rgdwDocIds[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberOfChanges) HRESULT rghrCompletionCodes[ ]);
END_INTERFACE
} ISearchItemsChangedSinkVtbl;
interface ISearchItemsChangedSink
{
CONST_VTBL struct ISearchItemsChangedSinkVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchItemsChangedSink_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchItemsChangedSink_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchItemsChangedSink_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchItemsChangedSink_StartedMonitoringScope(This,pszURL) \
( (This)->lpVtbl -> StartedMonitoringScope(This,pszURL) )
#define ISearchItemsChangedSink_StoppedMonitoringScope(This,pszURL) \
( (This)->lpVtbl -> StoppedMonitoringScope(This,pszURL) )
#define ISearchItemsChangedSink_OnItemsChanged(This,dwNumberOfChanges,rgDataChangeEntries,rgdwDocIds,rghrCompletionCodes) \
( (This)->lpVtbl -> OnItemsChanged(This,dwNumberOfChanges,rgDataChangeEntries,rgdwDocIds,rghrCompletionCodes) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchItemsChangedSink_INTERFACE_DEFINED__ */
#ifndef __ISearchPersistentItemsChangedSink_INTERFACE_DEFINED__
#define __ISearchPersistentItemsChangedSink_INTERFACE_DEFINED__
/* interface ISearchPersistentItemsChangedSink */
/* [unique][uuid][object] */
typedef struct _SEARCH_ITEM_PERSISTENT_CHANGE
{
SEARCH_KIND_OF_CHANGE Change;
LPWSTR URL;
LPWSTR OldURL;
SEARCH_NOTIFICATION_PRIORITY Priority;
} SEARCH_ITEM_PERSISTENT_CHANGE;
EXTERN_C const IID IID_ISearchPersistentItemsChangedSink;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A2FFDF9B-4758-4F84-B729-DF81A1A0612F")
ISearchPersistentItemsChangedSink : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE StartedMonitoringScope(
/* [string][in] */ __RPC__in LPCWSTR pszURL) = 0;
virtual HRESULT STDMETHODCALLTYPE StoppedMonitoringScope(
/* [string][in] */ __RPC__in LPCWSTR pszURL) = 0;
virtual HRESULT STDMETHODCALLTYPE OnItemsChanged(
/* [in] */ DWORD dwNumberOfChanges,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumberOfChanges) SEARCH_ITEM_PERSISTENT_CHANGE DataChangeEntries[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberOfChanges) HRESULT hrCompletionCodes[ ]) = 0;
};
#else /* C style interface */
typedef struct ISearchPersistentItemsChangedSinkVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchPersistentItemsChangedSink * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchPersistentItemsChangedSink * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchPersistentItemsChangedSink * This);
HRESULT ( STDMETHODCALLTYPE *StartedMonitoringScope )(
ISearchPersistentItemsChangedSink * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL);
HRESULT ( STDMETHODCALLTYPE *StoppedMonitoringScope )(
ISearchPersistentItemsChangedSink * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL);
HRESULT ( STDMETHODCALLTYPE *OnItemsChanged )(
ISearchPersistentItemsChangedSink * This,
/* [in] */ DWORD dwNumberOfChanges,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumberOfChanges) SEARCH_ITEM_PERSISTENT_CHANGE DataChangeEntries[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberOfChanges) HRESULT hrCompletionCodes[ ]);
END_INTERFACE
} ISearchPersistentItemsChangedSinkVtbl;
interface ISearchPersistentItemsChangedSink
{
CONST_VTBL struct ISearchPersistentItemsChangedSinkVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchPersistentItemsChangedSink_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchPersistentItemsChangedSink_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchPersistentItemsChangedSink_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchPersistentItemsChangedSink_StartedMonitoringScope(This,pszURL) \
( (This)->lpVtbl -> StartedMonitoringScope(This,pszURL) )
#define ISearchPersistentItemsChangedSink_StoppedMonitoringScope(This,pszURL) \
( (This)->lpVtbl -> StoppedMonitoringScope(This,pszURL) )
#define ISearchPersistentItemsChangedSink_OnItemsChanged(This,dwNumberOfChanges,DataChangeEntries,hrCompletionCodes) \
( (This)->lpVtbl -> OnItemsChanged(This,dwNumberOfChanges,DataChangeEntries,hrCompletionCodes) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchPersistentItemsChangedSink_INTERFACE_DEFINED__ */
#ifndef __ISearchViewChangedSink_INTERFACE_DEFINED__
#define __ISearchViewChangedSink_INTERFACE_DEFINED__
/* interface ISearchViewChangedSink */
/* [unique][uuid][object] */
EXTERN_C const IID IID_ISearchViewChangedSink;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ab310581-ac80-11d1-8df3-00c04fb6ef65")
ISearchViewChangedSink : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE OnChange(
/* [in] */ __RPC__in ITEMID *pdwDocID,
/* [in] */ __RPC__in SEARCH_ITEM_CHANGE *pChange,
/* [in] */ __RPC__in BOOL *pfInView) = 0;
};
#else /* C style interface */
typedef struct ISearchViewChangedSinkVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchViewChangedSink * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchViewChangedSink * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchViewChangedSink * This);
HRESULT ( STDMETHODCALLTYPE *OnChange )(
ISearchViewChangedSink * This,
/* [in] */ __RPC__in ITEMID *pdwDocID,
/* [in] */ __RPC__in SEARCH_ITEM_CHANGE *pChange,
/* [in] */ __RPC__in BOOL *pfInView);
END_INTERFACE
} ISearchViewChangedSinkVtbl;
interface ISearchViewChangedSink
{
CONST_VTBL struct ISearchViewChangedSinkVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchViewChangedSink_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchViewChangedSink_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchViewChangedSink_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchViewChangedSink_OnChange(This,pdwDocID,pChange,pfInView) \
( (This)->lpVtbl -> OnChange(This,pdwDocID,pChange,pfInView) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchViewChangedSink_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_searchapi_0000_0016 */
/* [local] */
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0016_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0016_v0_0_s_ifspec;
#ifndef __IGatherNotifyInline_INTERFACE_DEFINED__
#define __IGatherNotifyInline_INTERFACE_DEFINED__
/* interface IGatherNotifyInline */
/* [helpstring][unique][uuid][object] */
typedef struct _INLINE_NOTIFY_DATA_CHANGE_ENTRY
{
LONG eChangeAdviseCode;
LPCWSTR pszPhysicalAddress;
const BLOB *pUserData;
} INLINE_NOTIFY_DATA_CHANGE_ENTRY;
EXTERN_C const IID IID_IGatherNotifyInline;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7900F4F4-BA3F-4D53-8744-51626542351A")
IGatherNotifyInline : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE Initialize(
/* [in] */ __RPC__in LPCWSTR pszApplication,
/* [in] */ __RPC__in LPCWSTR pszCatalog,
/* [in] */ __RPC__in_opt ISearchNotifyInlineSite *pClientSite,
/* [out] */ __RPC__out GUID *pGUIDCatalogResetSignature,
/* [out] */ __RPC__out GUID *pGUIDCheckPointSignature,
/* [out] */ __RPC__out DWORD *pdwLastCheckPointNumber) = 0;
virtual HRESULT STDMETHODCALLTYPE OnDataChange(
/* [in] */ DWORD dwNumberEntries,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumberEntries) INLINE_NOTIFY_DATA_CHANGE_ENTRY rgDataChangeEntries[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberEntries) DWORD rgdwDocIDs[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberEntries) HRESULT rghrCompletionCodes[ ]) = 0;
};
#else /* C style interface */
typedef struct IGatherNotifyInlineVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IGatherNotifyInline * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IGatherNotifyInline * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IGatherNotifyInline * This);
HRESULT ( STDMETHODCALLTYPE *Initialize )(
IGatherNotifyInline * This,
/* [in] */ __RPC__in LPCWSTR pszApplication,
/* [in] */ __RPC__in LPCWSTR pszCatalog,
/* [in] */ __RPC__in_opt ISearchNotifyInlineSite *pClientSite,
/* [out] */ __RPC__out GUID *pGUIDCatalogResetSignature,
/* [out] */ __RPC__out GUID *pGUIDCheckPointSignature,
/* [out] */ __RPC__out DWORD *pdwLastCheckPointNumber);
HRESULT ( STDMETHODCALLTYPE *OnDataChange )(
IGatherNotifyInline * This,
/* [in] */ DWORD dwNumberEntries,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumberEntries) INLINE_NOTIFY_DATA_CHANGE_ENTRY rgDataChangeEntries[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberEntries) DWORD rgdwDocIDs[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberEntries) HRESULT rghrCompletionCodes[ ]);
END_INTERFACE
} IGatherNotifyInlineVtbl;
interface IGatherNotifyInline
{
CONST_VTBL struct IGatherNotifyInlineVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IGatherNotifyInline_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IGatherNotifyInline_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IGatherNotifyInline_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IGatherNotifyInline_Initialize(This,pszApplication,pszCatalog,pClientSite,pGUIDCatalogResetSignature,pGUIDCheckPointSignature,pdwLastCheckPointNumber) \
( (This)->lpVtbl -> Initialize(This,pszApplication,pszCatalog,pClientSite,pGUIDCatalogResetSignature,pGUIDCheckPointSignature,pdwLastCheckPointNumber) )
#define IGatherNotifyInline_OnDataChange(This,dwNumberEntries,rgDataChangeEntries,rgdwDocIDs,rghrCompletionCodes) \
( (This)->lpVtbl -> OnDataChange(This,dwNumberEntries,rgDataChangeEntries,rgdwDocIDs,rghrCompletionCodes) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IGatherNotifyInline_INTERFACE_DEFINED__ */
#ifndef __ISearchNotifyInlineSite_INTERFACE_DEFINED__
#define __ISearchNotifyInlineSite_INTERFACE_DEFINED__
/* interface ISearchNotifyInlineSite */
/* [helpstring][unique][uuid][object] */
typedef
enum _SEARCH_INDEXING_PHASE
{ SEARCH_INDEXING_PHASE_GATHERER = 0,
SEARCH_INDEXING_PHASE_QUERYABLE = 1,
SEARCH_INDEXING_PHASE_PERSISTED = 2
} SEARCH_INDEXING_PHASE;
typedef struct _SEARCH_ITEM_INDEXING_STATUS
{
DWORD dwDocID;
HRESULT hrIndexingStatus;
} SEARCH_ITEM_INDEXING_STATUS;
EXTERN_C const IID IID_ISearchNotifyInlineSite;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("B5702E61-E75C-4B64-82A1-6CB4F832FCCF")
ISearchNotifyInlineSite : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE OnItemIndexedStatusChange(
/* [in] */ SEARCH_INDEXING_PHASE sipStatus,
/* [in] */ DWORD dwNumEntries,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumEntries) SEARCH_ITEM_INDEXING_STATUS rgItemStatusEntries[ ]) = 0;
virtual HRESULT STDMETHODCALLTYPE OnCatalogStatusChange(
/* [in] */ __RPC__in REFGUID guidCatalogResetSignature,
/* [in] */ __RPC__in REFGUID guidCheckPointSignature,
/* [in] */ DWORD dwLastCheckPointNumber) = 0;
};
#else /* C style interface */
typedef struct ISearchNotifyInlineSiteVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchNotifyInlineSite * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchNotifyInlineSite * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchNotifyInlineSite * This);
HRESULT ( STDMETHODCALLTYPE *OnItemIndexedStatusChange )(
ISearchNotifyInlineSite * This,
/* [in] */ SEARCH_INDEXING_PHASE sipStatus,
/* [in] */ DWORD dwNumEntries,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumEntries) SEARCH_ITEM_INDEXING_STATUS rgItemStatusEntries[ ]);
HRESULT ( STDMETHODCALLTYPE *OnCatalogStatusChange )(
ISearchNotifyInlineSite * This,
/* [in] */ __RPC__in REFGUID guidCatalogResetSignature,
/* [in] */ __RPC__in REFGUID guidCheckPointSignature,
/* [in] */ DWORD dwLastCheckPointNumber);
END_INTERFACE
} ISearchNotifyInlineSiteVtbl;
interface ISearchNotifyInlineSite
{
CONST_VTBL struct ISearchNotifyInlineSiteVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchNotifyInlineSite_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchNotifyInlineSite_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchNotifyInlineSite_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchNotifyInlineSite_OnItemIndexedStatusChange(This,sipStatus,dwNumEntries,rgItemStatusEntries) \
( (This)->lpVtbl -> OnItemIndexedStatusChange(This,sipStatus,dwNumEntries,rgItemStatusEntries) )
#define ISearchNotifyInlineSite_OnCatalogStatusChange(This,guidCatalogResetSignature,guidCheckPointSignature,dwLastCheckPointNumber) \
( (This)->lpVtbl -> OnCatalogStatusChange(This,guidCatalogResetSignature,guidCheckPointSignature,dwLastCheckPointNumber) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchNotifyInlineSite_INTERFACE_DEFINED__ */
#ifndef __IGatherNotifyInlineInternal_INTERFACE_DEFINED__
#define __IGatherNotifyInlineInternal_INTERFACE_DEFINED__
/* interface IGatherNotifyInlineInternal */
/* [helpstring][unique][uuid][object] */
EXTERN_C const IID IID_IGatherNotifyInlineInternal;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("2E5C2EC6-4FF9-44B7-9869-6AF9A8D3FD67")
IGatherNotifyInlineInternal : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE RegisterInlineNotificationClient(
/* [in] */ __RPC__in_opt ISearchNotifyInlineSite *pClientSite,
/* [out] */ __RPC__out GUID *pGUIDCatalogResetSignature,
/* [out] */ __RPC__out GUID *pGUIDCheckPointSignature,
/* [out] */ __RPC__out DWORD *pdwLastCheckPointNumber,
/* [out] */ __RPC__out DWORD *pdwClientID) = 0;
virtual HRESULT STDMETHODCALLTYPE OnDataChangeInline(
/* [in] */ DWORD dwClientID,
/* [in] */ DWORD dwNumberEntries,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumberEntries) INLINE_NOTIFY_DATA_CHANGE_ENTRY rgDataChangeEntries[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberEntries) DWORD rgdwDocIDs[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberEntries) HRESULT rghrCompletionCodes[ ]) = 0;
virtual HRESULT STDMETHODCALLTYPE SendItemIndexedStatusChange(
/* [in] */ DWORD dwClientID,
/* [in] */ SEARCH_INDEXING_PHASE sipStatus,
/* [in] */ DWORD dwNumEntries,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumEntries) SEARCH_ITEM_INDEXING_STATUS rgItemStatusEntries[ ]) = 0;
virtual HRESULT STDMETHODCALLTYPE ReleaseInlineNotificationClient(
/* [in] */ DWORD dwClientID) = 0;
};
#else /* C style interface */
typedef struct IGatherNotifyInlineInternalVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IGatherNotifyInlineInternal * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IGatherNotifyInlineInternal * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IGatherNotifyInlineInternal * This);
HRESULT ( STDMETHODCALLTYPE *RegisterInlineNotificationClient )(
IGatherNotifyInlineInternal * This,
/* [in] */ __RPC__in_opt ISearchNotifyInlineSite *pClientSite,
/* [out] */ __RPC__out GUID *pGUIDCatalogResetSignature,
/* [out] */ __RPC__out GUID *pGUIDCheckPointSignature,
/* [out] */ __RPC__out DWORD *pdwLastCheckPointNumber,
/* [out] */ __RPC__out DWORD *pdwClientID);
HRESULT ( STDMETHODCALLTYPE *OnDataChangeInline )(
IGatherNotifyInlineInternal * This,
/* [in] */ DWORD dwClientID,
/* [in] */ DWORD dwNumberEntries,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumberEntries) INLINE_NOTIFY_DATA_CHANGE_ENTRY rgDataChangeEntries[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberEntries) DWORD rgdwDocIDs[ ],
/* [size_is][out] */ __RPC__out_ecount_full(dwNumberEntries) HRESULT rghrCompletionCodes[ ]);
HRESULT ( STDMETHODCALLTYPE *SendItemIndexedStatusChange )(
IGatherNotifyInlineInternal * This,
/* [in] */ DWORD dwClientID,
/* [in] */ SEARCH_INDEXING_PHASE sipStatus,
/* [in] */ DWORD dwNumEntries,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumEntries) SEARCH_ITEM_INDEXING_STATUS rgItemStatusEntries[ ]);
HRESULT ( STDMETHODCALLTYPE *ReleaseInlineNotificationClient )(
IGatherNotifyInlineInternal * This,
/* [in] */ DWORD dwClientID);
END_INTERFACE
} IGatherNotifyInlineInternalVtbl;
interface IGatherNotifyInlineInternal
{
CONST_VTBL struct IGatherNotifyInlineInternalVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IGatherNotifyInlineInternal_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IGatherNotifyInlineInternal_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IGatherNotifyInlineInternal_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IGatherNotifyInlineInternal_RegisterInlineNotificationClient(This,pClientSite,pGUIDCatalogResetSignature,pGUIDCheckPointSignature,pdwLastCheckPointNumber,pdwClientID) \
( (This)->lpVtbl -> RegisterInlineNotificationClient(This,pClientSite,pGUIDCatalogResetSignature,pGUIDCheckPointSignature,pdwLastCheckPointNumber,pdwClientID) )
#define IGatherNotifyInlineInternal_OnDataChangeInline(This,dwClientID,dwNumberEntries,rgDataChangeEntries,rgdwDocIDs,rghrCompletionCodes) \
( (This)->lpVtbl -> OnDataChangeInline(This,dwClientID,dwNumberEntries,rgDataChangeEntries,rgdwDocIDs,rghrCompletionCodes) )
#define IGatherNotifyInlineInternal_SendItemIndexedStatusChange(This,dwClientID,sipStatus,dwNumEntries,rgItemStatusEntries) \
( (This)->lpVtbl -> SendItemIndexedStatusChange(This,dwClientID,sipStatus,dwNumEntries,rgItemStatusEntries) )
#define IGatherNotifyInlineInternal_ReleaseInlineNotificationClient(This,dwClientID) \
( (This)->lpVtbl -> ReleaseInlineNotificationClient(This,dwClientID) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IGatherNotifyInlineInternal_INTERFACE_DEFINED__ */
#ifndef __IGatherInlineStatus_INTERFACE_DEFINED__
#define __IGatherInlineStatus_INTERFACE_DEFINED__
/* interface IGatherInlineStatus */
/* [helpstring][unique][uuid][object] */
EXTERN_C const IID IID_IGatherInlineStatus;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("2137B63B-BBB0-4bee-94B3-4691CCEF389A")
IGatherInlineStatus : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE SendInlineStatusChange(
/* [in] */ DWORD dwClientID,
/* [in] */ SEARCH_INDEXING_PHASE sipStatus,
/* [in] */ DWORD dwNumEntries,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumEntries) SEARCH_ITEM_INDEXING_STATUS rgItemStatusEntries[ ]) = 0;
};
#else /* C style interface */
typedef struct IGatherInlineStatusVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IGatherInlineStatus * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IGatherInlineStatus * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IGatherInlineStatus * This);
HRESULT ( STDMETHODCALLTYPE *SendInlineStatusChange )(
IGatherInlineStatus * This,
/* [in] */ DWORD dwClientID,
/* [in] */ SEARCH_INDEXING_PHASE sipStatus,
/* [in] */ DWORD dwNumEntries,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumEntries) SEARCH_ITEM_INDEXING_STATUS rgItemStatusEntries[ ]);
END_INTERFACE
} IGatherInlineStatusVtbl;
interface IGatherInlineStatus
{
CONST_VTBL struct IGatherInlineStatusVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IGatherInlineStatus_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IGatherInlineStatus_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IGatherInlineStatus_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IGatherInlineStatus_SendInlineStatusChange(This,dwClientID,sipStatus,dwNumEntries,rgItemStatusEntries) \
( (This)->lpVtbl -> SendInlineStatusChange(This,dwClientID,sipStatus,dwNumEntries,rgItemStatusEntries) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IGatherInlineStatus_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_searchapi_0000_0020 */
/* [local] */
typedef
enum _CatalogStatus
{ CATALOG_STATUS_IDLE = 0,
CATALOG_STATUS_PAUSED = 1,
CATALOG_STATUS_RECOVERING = 2,
CATALOG_STATUS_FULL_CRAWL = 3,
CATALOG_STATUS_INCREMENTAL_CRAWL = 4,
CATALOG_STATUS_PROCESSING_NOTIFICATIONS = 5,
CATALOG_STATUS_SHUTTING_DOWN = 6
} CatalogStatus;
typedef
enum _CatalogPausedReason
{ CATALOG_PAUSED_REASON_NONE = 0,
CATALOG_PAUSED_REASON_HIGH_IO = 1,
CATALOG_PAUSED_REASON_HIGH_CPU = 2,
CATALOG_PAUSED_REASON_HIGH_NTF_RATE = 3,
CATALOG_PAUSED_REASON_LOW_BATTERY = 4,
CATALOG_PAUSED_REASON_LOW_MEMORY = 5,
CATALOG_PAUSED_REASON_LOW_DISK = 6,
CATALOG_PAUSED_REASON_DELAYED_RECOVERY = 7,
CATALOG_PAUSED_REASON_USER_ACTIVE = 8,
CATALOG_PAUSED_REASON_EXTERNAL = 9,
CATALOG_PAUSED_REASON_UPGRADING = 10
} CatalogPausedReason;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0020_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0020_v0_0_s_ifspec;
#ifndef __ISearchCatalogManager_INTERFACE_DEFINED__
#define __ISearchCatalogManager_INTERFACE_DEFINED__
/* interface ISearchCatalogManager */
/* [unique][uuid][object] */
EXTERN_C const IID IID_ISearchCatalogManager;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ab310581-ac80-11d1-8df3-00c04fb6ef50")
ISearchCatalogManager : public IUnknown
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name(
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *pszName) = 0;
virtual HRESULT STDMETHODCALLTYPE GetParameter(
/* [string][in] */ __RPC__in LPCWSTR pszName,
/* [retval][out] */ __RPC__deref_out_opt PROPVARIANT **ppValue) = 0;
virtual HRESULT STDMETHODCALLTYPE SetParameter(
/* [string][in] */ __RPC__in LPCWSTR pszName,
/* [in] */ __RPC__in PROPVARIANT *pValue) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCatalogStatus(
/* [out] */ __RPC__out CatalogStatus *pStatus,
/* [out] */ __RPC__out CatalogPausedReason *pPausedReason) = 0;
virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
virtual HRESULT STDMETHODCALLTYPE Reindex( void) = 0;
virtual HRESULT STDMETHODCALLTYPE ReindexMatchingURLs(
/* [string][in] */ __RPC__in LPCWSTR pszPattern) = 0;
virtual HRESULT STDMETHODCALLTYPE ReindexSearchRoot(
/* [string][in] */ __RPC__in LPCWSTR pszRootURL) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_ConnectTimeout(
/* [in] */ DWORD dwConnectTimeout) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ConnectTimeout(
/* [retval][out] */ __RPC__out DWORD *pdwConnectTimeout) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_DataTimeout(
/* [in] */ DWORD dwDataTimeout) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_DataTimeout(
/* [retval][out] */ __RPC__out DWORD *pdwDataTimeout) = 0;
virtual HRESULT STDMETHODCALLTYPE NumberOfItems(
/* [retval][out] */ __RPC__out LONG *plCount) = 0;
virtual HRESULT STDMETHODCALLTYPE NumberOfItemsToIndex(
/* [out] */ __RPC__out LONG *plIncrementalCount,
/* [out] */ __RPC__out LONG *plNotificationQueue,
/* [out] */ __RPC__out LONG *plHighPriorityQueue) = 0;
virtual HRESULT STDMETHODCALLTYPE URLBeingIndexed(
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *pszUrl) = 0;
virtual HRESULT STDMETHODCALLTYPE GetURLIndexingState(
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [retval][out] */ __RPC__out DWORD *pdwState) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPersistentItemsChangedSink(
/* [retval][out] */ __RPC__deref_out_opt ISearchPersistentItemsChangedSink **ppISearchPersistentItemsChangedSink) = 0;
virtual HRESULT STDMETHODCALLTYPE RegisterViewForNotification(
/* [string][in] */ __RPC__in LPCWSTR pszView,
/* [in] */ __RPC__in_opt ISearchViewChangedSink *pViewChangedSink,
/* [out] */ __RPC__out DWORD *pdwCookie) = 0;
virtual HRESULT STDMETHODCALLTYPE GetItemsChangedSink(
/* [in] */ __RPC__in_opt ISearchNotifyInlineSite *pISearchNotifyInlineSite,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */ __RPC__deref_out_opt void **ppv,
/* [out] */ __RPC__out GUID *pGUIDCatalogResetSignature,
/* [out] */ __RPC__out GUID *pGUIDCheckPointSignature,
/* [out] */ __RPC__out DWORD *pdwLastCheckPointNumber) = 0;
virtual HRESULT STDMETHODCALLTYPE UnregisterViewForNotification(
/* [in] */ DWORD dwCookie) = 0;
virtual HRESULT STDMETHODCALLTYPE SetExtensionClusion(
/* [string][in] */ __RPC__in LPCWSTR pszExtension,
/* [in] */ BOOL fExclude) = 0;
virtual HRESULT STDMETHODCALLTYPE EnumerateExcludedExtensions(
/* [retval][out] */ __RPC__deref_out_opt IEnumString **ppExtensions) = 0;
virtual HRESULT STDMETHODCALLTYPE GetQueryHelper(
/* [retval][out] */ __RPC__deref_out_opt ISearchQueryHelper **ppSearchQueryHelper) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_DiacriticSensitivity(
/* [in] */ BOOL fDiacriticSensitive) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_DiacriticSensitivity(
/* [retval][out] */ __RPC__out BOOL *pfDiacriticSensitive) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCrawlScopeManager(
/* [retval][out] */ __RPC__deref_out_opt ISearchCrawlScopeManager **ppCrawlScopeManager) = 0;
};
#else /* C style interface */
typedef struct ISearchCatalogManagerVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchCatalogManager * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchCatalogManager * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchCatalogManager * This);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
ISearchCatalogManager * This,
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *pszName);
HRESULT ( STDMETHODCALLTYPE *GetParameter )(
ISearchCatalogManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszName,
/* [retval][out] */ __RPC__deref_out_opt PROPVARIANT **ppValue);
HRESULT ( STDMETHODCALLTYPE *SetParameter )(
ISearchCatalogManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszName,
/* [in] */ __RPC__in PROPVARIANT *pValue);
HRESULT ( STDMETHODCALLTYPE *GetCatalogStatus )(
ISearchCatalogManager * This,
/* [out] */ __RPC__out CatalogStatus *pStatus,
/* [out] */ __RPC__out CatalogPausedReason *pPausedReason);
HRESULT ( STDMETHODCALLTYPE *Reset )(
ISearchCatalogManager * This);
HRESULT ( STDMETHODCALLTYPE *Reindex )(
ISearchCatalogManager * This);
HRESULT ( STDMETHODCALLTYPE *ReindexMatchingURLs )(
ISearchCatalogManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszPattern);
HRESULT ( STDMETHODCALLTYPE *ReindexSearchRoot )(
ISearchCatalogManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszRootURL);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_ConnectTimeout )(
ISearchCatalogManager * This,
/* [in] */ DWORD dwConnectTimeout);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectTimeout )(
ISearchCatalogManager * This,
/* [retval][out] */ __RPC__out DWORD *pdwConnectTimeout);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DataTimeout )(
ISearchCatalogManager * This,
/* [in] */ DWORD dwDataTimeout);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DataTimeout )(
ISearchCatalogManager * This,
/* [retval][out] */ __RPC__out DWORD *pdwDataTimeout);
HRESULT ( STDMETHODCALLTYPE *NumberOfItems )(
ISearchCatalogManager * This,
/* [retval][out] */ __RPC__out LONG *plCount);
HRESULT ( STDMETHODCALLTYPE *NumberOfItemsToIndex )(
ISearchCatalogManager * This,
/* [out] */ __RPC__out LONG *plIncrementalCount,
/* [out] */ __RPC__out LONG *plNotificationQueue,
/* [out] */ __RPC__out LONG *plHighPriorityQueue);
HRESULT ( STDMETHODCALLTYPE *URLBeingIndexed )(
ISearchCatalogManager * This,
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *pszUrl);
HRESULT ( STDMETHODCALLTYPE *GetURLIndexingState )(
ISearchCatalogManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszURL,
/* [retval][out] */ __RPC__out DWORD *pdwState);
HRESULT ( STDMETHODCALLTYPE *GetPersistentItemsChangedSink )(
ISearchCatalogManager * This,
/* [retval][out] */ __RPC__deref_out_opt ISearchPersistentItemsChangedSink **ppISearchPersistentItemsChangedSink);
HRESULT ( STDMETHODCALLTYPE *RegisterViewForNotification )(
ISearchCatalogManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszView,
/* [in] */ __RPC__in_opt ISearchViewChangedSink *pViewChangedSink,
/* [out] */ __RPC__out DWORD *pdwCookie);
HRESULT ( STDMETHODCALLTYPE *GetItemsChangedSink )(
ISearchCatalogManager * This,
/* [in] */ __RPC__in_opt ISearchNotifyInlineSite *pISearchNotifyInlineSite,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */ __RPC__deref_out_opt void **ppv,
/* [out] */ __RPC__out GUID *pGUIDCatalogResetSignature,
/* [out] */ __RPC__out GUID *pGUIDCheckPointSignature,
/* [out] */ __RPC__out DWORD *pdwLastCheckPointNumber);
HRESULT ( STDMETHODCALLTYPE *UnregisterViewForNotification )(
ISearchCatalogManager * This,
/* [in] */ DWORD dwCookie);
HRESULT ( STDMETHODCALLTYPE *SetExtensionClusion )(
ISearchCatalogManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszExtension,
/* [in] */ BOOL fExclude);
HRESULT ( STDMETHODCALLTYPE *EnumerateExcludedExtensions )(
ISearchCatalogManager * This,
/* [retval][out] */ __RPC__deref_out_opt IEnumString **ppExtensions);
HRESULT ( STDMETHODCALLTYPE *GetQueryHelper )(
ISearchCatalogManager * This,
/* [retval][out] */ __RPC__deref_out_opt ISearchQueryHelper **ppSearchQueryHelper);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DiacriticSensitivity )(
ISearchCatalogManager * This,
/* [in] */ BOOL fDiacriticSensitive);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DiacriticSensitivity )(
ISearchCatalogManager * This,
/* [retval][out] */ __RPC__out BOOL *pfDiacriticSensitive);
HRESULT ( STDMETHODCALLTYPE *GetCrawlScopeManager )(
ISearchCatalogManager * This,
/* [retval][out] */ __RPC__deref_out_opt ISearchCrawlScopeManager **ppCrawlScopeManager);
END_INTERFACE
} ISearchCatalogManagerVtbl;
interface ISearchCatalogManager
{
CONST_VTBL struct ISearchCatalogManagerVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchCatalogManager_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchCatalogManager_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchCatalogManager_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchCatalogManager_get_Name(This,pszName) \
( (This)->lpVtbl -> get_Name(This,pszName) )
#define ISearchCatalogManager_GetParameter(This,pszName,ppValue) \
( (This)->lpVtbl -> GetParameter(This,pszName,ppValue) )
#define ISearchCatalogManager_SetParameter(This,pszName,pValue) \
( (This)->lpVtbl -> SetParameter(This,pszName,pValue) )
#define ISearchCatalogManager_GetCatalogStatus(This,pStatus,pPausedReason) \
( (This)->lpVtbl -> GetCatalogStatus(This,pStatus,pPausedReason) )
#define ISearchCatalogManager_Reset(This) \
( (This)->lpVtbl -> Reset(This) )
#define ISearchCatalogManager_Reindex(This) \
( (This)->lpVtbl -> Reindex(This) )
#define ISearchCatalogManager_ReindexMatchingURLs(This,pszPattern) \
( (This)->lpVtbl -> ReindexMatchingURLs(This,pszPattern) )
#define ISearchCatalogManager_ReindexSearchRoot(This,pszRootURL) \
( (This)->lpVtbl -> ReindexSearchRoot(This,pszRootURL) )
#define ISearchCatalogManager_put_ConnectTimeout(This,dwConnectTimeout) \
( (This)->lpVtbl -> put_ConnectTimeout(This,dwConnectTimeout) )
#define ISearchCatalogManager_get_ConnectTimeout(This,pdwConnectTimeout) \
( (This)->lpVtbl -> get_ConnectTimeout(This,pdwConnectTimeout) )
#define ISearchCatalogManager_put_DataTimeout(This,dwDataTimeout) \
( (This)->lpVtbl -> put_DataTimeout(This,dwDataTimeout) )
#define ISearchCatalogManager_get_DataTimeout(This,pdwDataTimeout) \
( (This)->lpVtbl -> get_DataTimeout(This,pdwDataTimeout) )
#define ISearchCatalogManager_NumberOfItems(This,plCount) \
( (This)->lpVtbl -> NumberOfItems(This,plCount) )
#define ISearchCatalogManager_NumberOfItemsToIndex(This,plIncrementalCount,plNotificationQueue,plHighPriorityQueue) \
( (This)->lpVtbl -> NumberOfItemsToIndex(This,plIncrementalCount,plNotificationQueue,plHighPriorityQueue) )
#define ISearchCatalogManager_URLBeingIndexed(This,pszUrl) \
( (This)->lpVtbl -> URLBeingIndexed(This,pszUrl) )
#define ISearchCatalogManager_GetURLIndexingState(This,pszURL,pdwState) \
( (This)->lpVtbl -> GetURLIndexingState(This,pszURL,pdwState) )
#define ISearchCatalogManager_GetPersistentItemsChangedSink(This,ppISearchPersistentItemsChangedSink) \
( (This)->lpVtbl -> GetPersistentItemsChangedSink(This,ppISearchPersistentItemsChangedSink) )
#define ISearchCatalogManager_RegisterViewForNotification(This,pszView,pViewChangedSink,pdwCookie) \
( (This)->lpVtbl -> RegisterViewForNotification(This,pszView,pViewChangedSink,pdwCookie) )
#define ISearchCatalogManager_GetItemsChangedSink(This,pISearchNotifyInlineSite,riid,ppv,pGUIDCatalogResetSignature,pGUIDCheckPointSignature,pdwLastCheckPointNumber) \
( (This)->lpVtbl -> GetItemsChangedSink(This,pISearchNotifyInlineSite,riid,ppv,pGUIDCatalogResetSignature,pGUIDCheckPointSignature,pdwLastCheckPointNumber) )
#define ISearchCatalogManager_UnregisterViewForNotification(This,dwCookie) \
( (This)->lpVtbl -> UnregisterViewForNotification(This,dwCookie) )
#define ISearchCatalogManager_SetExtensionClusion(This,pszExtension,fExclude) \
( (This)->lpVtbl -> SetExtensionClusion(This,pszExtension,fExclude) )
#define ISearchCatalogManager_EnumerateExcludedExtensions(This,ppExtensions) \
( (This)->lpVtbl -> EnumerateExcludedExtensions(This,ppExtensions) )
#define ISearchCatalogManager_GetQueryHelper(This,ppSearchQueryHelper) \
( (This)->lpVtbl -> GetQueryHelper(This,ppSearchQueryHelper) )
#define ISearchCatalogManager_put_DiacriticSensitivity(This,fDiacriticSensitive) \
( (This)->lpVtbl -> put_DiacriticSensitivity(This,fDiacriticSensitive) )
#define ISearchCatalogManager_get_DiacriticSensitivity(This,pfDiacriticSensitive) \
( (This)->lpVtbl -> get_DiacriticSensitivity(This,pfDiacriticSensitive) )
#define ISearchCatalogManager_GetCrawlScopeManager(This,ppCrawlScopeManager) \
( (This)->lpVtbl -> GetCrawlScopeManager(This,ppCrawlScopeManager) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchCatalogManager_INTERFACE_DEFINED__ */
#ifndef __ISearchQueryHelper_INTERFACE_DEFINED__
#define __ISearchQueryHelper_INTERFACE_DEFINED__
/* interface ISearchQueryHelper */
/* [unique][uuid][object] */
typedef
enum _SEARCH_TERM_EXPANSION
{ SEARCH_TERM_NO_EXPANSION = 0,
SEARCH_TERM_PREFIX_ALL = ( SEARCH_TERM_NO_EXPANSION + 1 ) ,
SEARCH_TERM_STEM_ALL = ( SEARCH_TERM_PREFIX_ALL + 1 )
} SEARCH_TERM_EXPANSION;
typedef
enum _SEARCH_QUERY_SYNTAX
{ SEARCH_NO_QUERY_SYNTAX = 0,
SEARCH_ADVANCED_QUERY_SYNTAX = ( SEARCH_NO_QUERY_SYNTAX + 1 ) ,
SEARCH_NATURAL_QUERY_SYNTAX = ( SEARCH_ADVANCED_QUERY_SYNTAX + 1 )
} SEARCH_QUERY_SYNTAX;
typedef struct _SEARCH_COLUMN_PROPERTIES
{
PROPVARIANT Value;
LCID lcid;
} SEARCH_COLUMN_PROPERTIES;
EXTERN_C const IID IID_ISearchQueryHelper;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ab310581-ac80-11d1-8df3-00c04fb6ef63")
ISearchQueryHelper : public IUnknown
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ConnectionString(
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *pszConnectionString) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_QueryContentLocale(
/* [in] */ LCID lcid) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_QueryContentLocale(
/* [retval][out] */ __RPC__out LCID *plcid) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_QueryKeywordLocale(
/* [in] */ LCID lcid) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_QueryKeywordLocale(
/* [retval][out] */ __RPC__out LCID *plcid) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_QueryTermExpansion(
/* [in] */ SEARCH_TERM_EXPANSION expandTerms) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_QueryTermExpansion(
/* [retval][out] */ __RPC__out SEARCH_TERM_EXPANSION *pExpandTerms) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_QuerySyntax(
/* [in] */ SEARCH_QUERY_SYNTAX querySyntax) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_QuerySyntax(
/* [retval][out] */ __RPC__out SEARCH_QUERY_SYNTAX *pQuerySyntax) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_QueryContentProperties(
/* [unique][string][in] */ __RPC__in_opt LPCWSTR pszContentProperties) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_QueryContentProperties(
/* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszContentProperties) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_QuerySelectColumns(
/* [unique][string][in] */ __RPC__in_opt LPCWSTR pszSelectColumns) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_QuerySelectColumns(
/* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszSelectColumns) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_QueryWhereRestrictions(
/* [unique][string][in] */ __RPC__in_opt LPCWSTR pszRestrictions) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_QueryWhereRestrictions(
/* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszRestrictions) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_QuerySorting(
/* [unique][string][in] */ __RPC__in_opt LPCWSTR pszSorting) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_QuerySorting(
/* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszSorting) = 0;
virtual HRESULT STDMETHODCALLTYPE GenerateSQLFromUserQuery(
/* [string][in] */ __RPC__in LPCWSTR pszQuery,
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszSQL) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteProperties(
/* [in] */ ITEMID itemID,
/* [in] */ DWORD dwNumberOfColumns,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumberOfColumns) PROPERTYKEY *pColumns,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumberOfColumns) SEARCH_COLUMN_PROPERTIES *pValues,
/* [unique][in] */ __RPC__in_opt FILETIME *pftGatherModifiedTime) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_QueryMaxResults(
/* [in] */ LONG cMaxResults) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_QueryMaxResults(
/* [retval][out] */ __RPC__out LONG *pcMaxResults) = 0;
};
#else /* C style interface */
typedef struct ISearchQueryHelperVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchQueryHelper * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchQueryHelper * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchQueryHelper * This);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectionString )(
ISearchQueryHelper * This,
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *pszConnectionString);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QueryContentLocale )(
ISearchQueryHelper * This,
/* [in] */ LCID lcid);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueryContentLocale )(
ISearchQueryHelper * This,
/* [retval][out] */ __RPC__out LCID *plcid);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QueryKeywordLocale )(
ISearchQueryHelper * This,
/* [in] */ LCID lcid);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueryKeywordLocale )(
ISearchQueryHelper * This,
/* [retval][out] */ __RPC__out LCID *plcid);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QueryTermExpansion )(
ISearchQueryHelper * This,
/* [in] */ SEARCH_TERM_EXPANSION expandTerms);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueryTermExpansion )(
ISearchQueryHelper * This,
/* [retval][out] */ __RPC__out SEARCH_TERM_EXPANSION *pExpandTerms);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuerySyntax )(
ISearchQueryHelper * This,
/* [in] */ SEARCH_QUERY_SYNTAX querySyntax);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuerySyntax )(
ISearchQueryHelper * This,
/* [retval][out] */ __RPC__out SEARCH_QUERY_SYNTAX *pQuerySyntax);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QueryContentProperties )(
ISearchQueryHelper * This,
/* [unique][string][in] */ __RPC__in_opt LPCWSTR pszContentProperties);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueryContentProperties )(
ISearchQueryHelper * This,
/* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszContentProperties);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuerySelectColumns )(
ISearchQueryHelper * This,
/* [unique][string][in] */ __RPC__in_opt LPCWSTR pszSelectColumns);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuerySelectColumns )(
ISearchQueryHelper * This,
/* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszSelectColumns);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QueryWhereRestrictions )(
ISearchQueryHelper * This,
/* [unique][string][in] */ __RPC__in_opt LPCWSTR pszRestrictions);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueryWhereRestrictions )(
ISearchQueryHelper * This,
/* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszRestrictions);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuerySorting )(
ISearchQueryHelper * This,
/* [unique][string][in] */ __RPC__in_opt LPCWSTR pszSorting);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuerySorting )(
ISearchQueryHelper * This,
/* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszSorting);
HRESULT ( STDMETHODCALLTYPE *GenerateSQLFromUserQuery )(
ISearchQueryHelper * This,
/* [string][in] */ __RPC__in LPCWSTR pszQuery,
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszSQL);
HRESULT ( STDMETHODCALLTYPE *WriteProperties )(
ISearchQueryHelper * This,
/* [in] */ ITEMID itemID,
/* [in] */ DWORD dwNumberOfColumns,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumberOfColumns) PROPERTYKEY *pColumns,
/* [size_is][in] */ __RPC__in_ecount_full(dwNumberOfColumns) SEARCH_COLUMN_PROPERTIES *pValues,
/* [unique][in] */ __RPC__in_opt FILETIME *pftGatherModifiedTime);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QueryMaxResults )(
ISearchQueryHelper * This,
/* [in] */ LONG cMaxResults);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueryMaxResults )(
ISearchQueryHelper * This,
/* [retval][out] */ __RPC__out LONG *pcMaxResults);
END_INTERFACE
} ISearchQueryHelperVtbl;
interface ISearchQueryHelper
{
CONST_VTBL struct ISearchQueryHelperVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchQueryHelper_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchQueryHelper_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchQueryHelper_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchQueryHelper_get_ConnectionString(This,pszConnectionString) \
( (This)->lpVtbl -> get_ConnectionString(This,pszConnectionString) )
#define ISearchQueryHelper_put_QueryContentLocale(This,lcid) \
( (This)->lpVtbl -> put_QueryContentLocale(This,lcid) )
#define ISearchQueryHelper_get_QueryContentLocale(This,plcid) \
( (This)->lpVtbl -> get_QueryContentLocale(This,plcid) )
#define ISearchQueryHelper_put_QueryKeywordLocale(This,lcid) \
( (This)->lpVtbl -> put_QueryKeywordLocale(This,lcid) )
#define ISearchQueryHelper_get_QueryKeywordLocale(This,plcid) \
( (This)->lpVtbl -> get_QueryKeywordLocale(This,plcid) )
#define ISearchQueryHelper_put_QueryTermExpansion(This,expandTerms) \
( (This)->lpVtbl -> put_QueryTermExpansion(This,expandTerms) )
#define ISearchQueryHelper_get_QueryTermExpansion(This,pExpandTerms) \
( (This)->lpVtbl -> get_QueryTermExpansion(This,pExpandTerms) )
#define ISearchQueryHelper_put_QuerySyntax(This,querySyntax) \
( (This)->lpVtbl -> put_QuerySyntax(This,querySyntax) )
#define ISearchQueryHelper_get_QuerySyntax(This,pQuerySyntax) \
( (This)->lpVtbl -> get_QuerySyntax(This,pQuerySyntax) )
#define ISearchQueryHelper_put_QueryContentProperties(This,pszContentProperties) \
( (This)->lpVtbl -> put_QueryContentProperties(This,pszContentProperties) )
#define ISearchQueryHelper_get_QueryContentProperties(This,ppszContentProperties) \
( (This)->lpVtbl -> get_QueryContentProperties(This,ppszContentProperties) )
#define ISearchQueryHelper_put_QuerySelectColumns(This,pszSelectColumns) \
( (This)->lpVtbl -> put_QuerySelectColumns(This,pszSelectColumns) )
#define ISearchQueryHelper_get_QuerySelectColumns(This,ppszSelectColumns) \
( (This)->lpVtbl -> get_QuerySelectColumns(This,ppszSelectColumns) )
#define ISearchQueryHelper_put_QueryWhereRestrictions(This,pszRestrictions) \
( (This)->lpVtbl -> put_QueryWhereRestrictions(This,pszRestrictions) )
#define ISearchQueryHelper_get_QueryWhereRestrictions(This,ppszRestrictions) \
( (This)->lpVtbl -> get_QueryWhereRestrictions(This,ppszRestrictions) )
#define ISearchQueryHelper_put_QuerySorting(This,pszSorting) \
( (This)->lpVtbl -> put_QuerySorting(This,pszSorting) )
#define ISearchQueryHelper_get_QuerySorting(This,ppszSorting) \
( (This)->lpVtbl -> get_QuerySorting(This,ppszSorting) )
#define ISearchQueryHelper_GenerateSQLFromUserQuery(This,pszQuery,ppszSQL) \
( (This)->lpVtbl -> GenerateSQLFromUserQuery(This,pszQuery,ppszSQL) )
#define ISearchQueryHelper_WriteProperties(This,itemID,dwNumberOfColumns,pColumns,pValues,pftGatherModifiedTime) \
( (This)->lpVtbl -> WriteProperties(This,itemID,dwNumberOfColumns,pColumns,pValues,pftGatherModifiedTime) )
#define ISearchQueryHelper_put_QueryMaxResults(This,cMaxResults) \
( (This)->lpVtbl -> put_QueryMaxResults(This,cMaxResults) )
#define ISearchQueryHelper_get_QueryMaxResults(This,pcMaxResults) \
( (This)->lpVtbl -> get_QueryMaxResults(This,pcMaxResults) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchQueryHelper_INTERFACE_DEFINED__ */
#ifndef __ISearchManager_INTERFACE_DEFINED__
#define __ISearchManager_INTERFACE_DEFINED__
/* interface ISearchManager */
/* [unique][uuid][object] */
EXTERN_C const IID IID_ISearchManager;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ab310581-ac80-11d1-8df3-00c04fb6ef69")
ISearchManager : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE GetIndexerVersionStr(
/* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszVersionString) = 0;
virtual HRESULT STDMETHODCALLTYPE GetIndexerVersion(
/* [out] */ __RPC__out DWORD *pdwMajor,
/* [out] */ __RPC__out DWORD *pdwMinor) = 0;
virtual HRESULT STDMETHODCALLTYPE GetParameter(
/* [string][in] */ __RPC__in LPCWSTR pszName,
/* [retval][out] */ __RPC__deref_out_opt PROPVARIANT **ppValue) = 0;
virtual HRESULT STDMETHODCALLTYPE SetParameter(
/* [string][in] */ __RPC__in LPCWSTR pszName,
/* [in] */ __RPC__in const PROPVARIANT *pValue) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ProxyName(
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszProxyName) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_BypassList(
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszBypassList) = 0;
virtual HRESULT STDMETHODCALLTYPE SetProxy(
/* [in] */ PROXY_ACCESS sUseProxy,
/* [in] */ BOOL fLocalByPassProxy,
/* [in] */ DWORD dwPortNumber,
/* [string][in] */ __RPC__in LPCWSTR pszProxyName,
/* [string][in] */ __RPC__in LPCWSTR pszByPassList) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCatalog(
/* [string][in] */ __RPC__in LPCWSTR pszCatalog,
/* [retval][out] */ __RPC__deref_out_opt ISearchCatalogManager **ppCatalogManager) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_UserAgent(
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszUserAgent) = 0;
virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_UserAgent(
/* [string][in] */ __RPC__in LPCWSTR pszUserAgent) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_UseProxy(
/* [retval][out] */ __RPC__out PROXY_ACCESS *pUseProxy) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_LocalBypass(
/* [retval][out] */ __RPC__out BOOL *pfLocalBypass) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PortNumber(
/* [retval][out] */ __RPC__out DWORD *pdwPortNumber) = 0;
};
#else /* C style interface */
typedef struct ISearchManagerVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchManager * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchManager * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchManager * This);
HRESULT ( STDMETHODCALLTYPE *GetIndexerVersionStr )(
ISearchManager * This,
/* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszVersionString);
HRESULT ( STDMETHODCALLTYPE *GetIndexerVersion )(
ISearchManager * This,
/* [out] */ __RPC__out DWORD *pdwMajor,
/* [out] */ __RPC__out DWORD *pdwMinor);
HRESULT ( STDMETHODCALLTYPE *GetParameter )(
ISearchManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszName,
/* [retval][out] */ __RPC__deref_out_opt PROPVARIANT **ppValue);
HRESULT ( STDMETHODCALLTYPE *SetParameter )(
ISearchManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszName,
/* [in] */ __RPC__in const PROPVARIANT *pValue);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ProxyName )(
ISearchManager * This,
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszProxyName);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_BypassList )(
ISearchManager * This,
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszBypassList);
HRESULT ( STDMETHODCALLTYPE *SetProxy )(
ISearchManager * This,
/* [in] */ PROXY_ACCESS sUseProxy,
/* [in] */ BOOL fLocalByPassProxy,
/* [in] */ DWORD dwPortNumber,
/* [string][in] */ __RPC__in LPCWSTR pszProxyName,
/* [string][in] */ __RPC__in LPCWSTR pszByPassList);
HRESULT ( STDMETHODCALLTYPE *GetCatalog )(
ISearchManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszCatalog,
/* [retval][out] */ __RPC__deref_out_opt ISearchCatalogManager **ppCatalogManager);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserAgent )(
ISearchManager * This,
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszUserAgent);
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_UserAgent )(
ISearchManager * This,
/* [string][in] */ __RPC__in LPCWSTR pszUserAgent);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_UseProxy )(
ISearchManager * This,
/* [retval][out] */ __RPC__out PROXY_ACCESS *pUseProxy);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_LocalBypass )(
ISearchManager * This,
/* [retval][out] */ __RPC__out BOOL *pfLocalBypass);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_PortNumber )(
ISearchManager * This,
/* [retval][out] */ __RPC__out DWORD *pdwPortNumber);
END_INTERFACE
} ISearchManagerVtbl;
interface ISearchManager
{
CONST_VTBL struct ISearchManagerVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchManager_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchManager_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchManager_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchManager_GetIndexerVersionStr(This,ppszVersionString) \
( (This)->lpVtbl -> GetIndexerVersionStr(This,ppszVersionString) )
#define ISearchManager_GetIndexerVersion(This,pdwMajor,pdwMinor) \
( (This)->lpVtbl -> GetIndexerVersion(This,pdwMajor,pdwMinor) )
#define ISearchManager_GetParameter(This,pszName,ppValue) \
( (This)->lpVtbl -> GetParameter(This,pszName,ppValue) )
#define ISearchManager_SetParameter(This,pszName,pValue) \
( (This)->lpVtbl -> SetParameter(This,pszName,pValue) )
#define ISearchManager_get_ProxyName(This,ppszProxyName) \
( (This)->lpVtbl -> get_ProxyName(This,ppszProxyName) )
#define ISearchManager_get_BypassList(This,ppszBypassList) \
( (This)->lpVtbl -> get_BypassList(This,ppszBypassList) )
#define ISearchManager_SetProxy(This,sUseProxy,fLocalByPassProxy,dwPortNumber,pszProxyName,pszByPassList) \
( (This)->lpVtbl -> SetProxy(This,sUseProxy,fLocalByPassProxy,dwPortNumber,pszProxyName,pszByPassList) )
#define ISearchManager_GetCatalog(This,pszCatalog,ppCatalogManager) \
( (This)->lpVtbl -> GetCatalog(This,pszCatalog,ppCatalogManager) )
#define ISearchManager_get_UserAgent(This,ppszUserAgent) \
( (This)->lpVtbl -> get_UserAgent(This,ppszUserAgent) )
#define ISearchManager_put_UserAgent(This,pszUserAgent) \
( (This)->lpVtbl -> put_UserAgent(This,pszUserAgent) )
#define ISearchManager_get_UseProxy(This,pUseProxy) \
( (This)->lpVtbl -> get_UseProxy(This,pUseProxy) )
#define ISearchManager_get_LocalBypass(This,pfLocalBypass) \
( (This)->lpVtbl -> get_LocalBypass(This,pfLocalBypass) )
#define ISearchManager_get_PortNumber(This,pdwPortNumber) \
( (This)->lpVtbl -> get_PortNumber(This,pdwPortNumber) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchManager_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_searchapi_0000_0023 */
/* [local] */
EXTERN_C const CLSID CLSID_CSearchLanguageSupport;
#ifdef __cplusplus
class DECLSPEC_UUID("6A68CC80-4337-4dbc-BD27-FBFB1053820B")
CSearchLanguageSupport;
#endif
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0023_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0023_v0_0_s_ifspec;
#ifndef __ISearchLanguageSupport_INTERFACE_DEFINED__
#define __ISearchLanguageSupport_INTERFACE_DEFINED__
/* interface ISearchLanguageSupport */
/* [unique][uuid][object] */
EXTERN_C const IID IID_ISearchLanguageSupport;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("24C3CBAA-EBC1-491a-9EF1-9F6D8DEB1B8F")
ISearchLanguageSupport : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE SetDiacriticSensitivity(
/* [in] */ BOOL fDiacriticSensitive) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDiacriticSensitivity(
/* [retval][out] */ __RPC__out BOOL *pfDiacriticSensitive) = 0;
virtual HRESULT STDMETHODCALLTYPE LoadWordBreaker(
/* [in] */ LCID lcid,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */ __RPC__deref_out_opt void **ppWordBreaker,
/* [out] */ __RPC__out LCID *pLcidUsed) = 0;
virtual HRESULT STDMETHODCALLTYPE LoadStemmer(
/* [in] */ LCID lcid,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */ __RPC__deref_out_opt void **ppStemmer,
/* [out] */ __RPC__out LCID *pLcidUsed) = 0;
virtual HRESULT STDMETHODCALLTYPE IsPrefixNormalized(
/* [size_is][in] */ __RPC__in_ecount_full(cwcQueryToken) LPCWSTR pwcsQueryToken,
/* [in] */ ULONG cwcQueryToken,
/* [size_is][in] */ __RPC__in_ecount_full(cwcDocumentToken) LPCWSTR pwcsDocumentToken,
/* [in] */ ULONG cwcDocumentToken,
/* [out] */ __RPC__out ULONG *pulPrefixLength) = 0;
};
#else /* C style interface */
typedef struct ISearchLanguageSupportVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISearchLanguageSupport * This,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISearchLanguageSupport * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISearchLanguageSupport * This);
HRESULT ( STDMETHODCALLTYPE *SetDiacriticSensitivity )(
ISearchLanguageSupport * This,
/* [in] */ BOOL fDiacriticSensitive);
HRESULT ( STDMETHODCALLTYPE *GetDiacriticSensitivity )(
ISearchLanguageSupport * This,
/* [retval][out] */ __RPC__out BOOL *pfDiacriticSensitive);
HRESULT ( STDMETHODCALLTYPE *LoadWordBreaker )(
ISearchLanguageSupport * This,
/* [in] */ LCID lcid,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */ __RPC__deref_out_opt void **ppWordBreaker,
/* [out] */ __RPC__out LCID *pLcidUsed);
HRESULT ( STDMETHODCALLTYPE *LoadStemmer )(
ISearchLanguageSupport * This,
/* [in] */ LCID lcid,
/* [in] */ __RPC__in REFIID riid,
/* [iid_is][out] */ __RPC__deref_out_opt void **ppStemmer,
/* [out] */ __RPC__out LCID *pLcidUsed);
HRESULT ( STDMETHODCALLTYPE *IsPrefixNormalized )(
ISearchLanguageSupport * This,
/* [size_is][in] */ __RPC__in_ecount_full(cwcQueryToken) LPCWSTR pwcsQueryToken,
/* [in] */ ULONG cwcQueryToken,
/* [size_is][in] */ __RPC__in_ecount_full(cwcDocumentToken) LPCWSTR pwcsDocumentToken,
/* [in] */ ULONG cwcDocumentToken,
/* [out] */ __RPC__out ULONG *pulPrefixLength);
END_INTERFACE
} ISearchLanguageSupportVtbl;
interface ISearchLanguageSupport
{
CONST_VTBL struct ISearchLanguageSupportVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISearchLanguageSupport_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISearchLanguageSupport_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISearchLanguageSupport_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISearchLanguageSupport_SetDiacriticSensitivity(This,fDiacriticSensitive) \
( (This)->lpVtbl -> SetDiacriticSensitivity(This,fDiacriticSensitive) )
#define ISearchLanguageSupport_GetDiacriticSensitivity(This,pfDiacriticSensitive) \
( (This)->lpVtbl -> GetDiacriticSensitivity(This,pfDiacriticSensitive) )
#define ISearchLanguageSupport_LoadWordBreaker(This,lcid,riid,ppWordBreaker,pLcidUsed) \
( (This)->lpVtbl -> LoadWordBreaker(This,lcid,riid,ppWordBreaker,pLcidUsed) )
#define ISearchLanguageSupport_LoadStemmer(This,lcid,riid,ppStemmer,pLcidUsed) \
( (This)->lpVtbl -> LoadStemmer(This,lcid,riid,ppStemmer,pLcidUsed) )
#define ISearchLanguageSupport_IsPrefixNormalized(This,pwcsQueryToken,cwcQueryToken,pwcsDocumentToken,cwcDocumentToken,pulPrefixLength) \
( (This)->lpVtbl -> IsPrefixNormalized(This,pwcsQueryToken,cwcQueryToken,pwcsDocumentToken,cwcDocumentToken,pulPrefixLength) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISearchLanguageSupport_INTERFACE_DEFINED__ */
#ifndef __SearchAPILib_LIBRARY_DEFINED__
#define __SearchAPILib_LIBRARY_DEFINED__
/* library SearchAPILib */
/* [version][uuid] */
EXTERN_C const IID LIBID_SearchAPILib;
EXTERN_C const CLSID CLSID_CSearchManager;
#ifdef __cplusplus
class DECLSPEC_UUID("7D096C5F-AC08-4f1f-BEB7-5C22C517CE39")
CSearchManager;
#endif
EXTERN_C const CLSID CLSID_CSearchCatalogManager;
#ifdef __cplusplus
class DECLSPEC_UUID("AAB49DD5-AD0B-40AE-B654-AE8976BF6BD2")
CSearchCatalogManager;
#endif
EXTERN_C const CLSID CLSID_CSearchQueryHelper;
#ifdef __cplusplus
class DECLSPEC_UUID("B271E955-09E1-42E1-9B95-5994A534B613")
CSearchQueryHelper;
#endif
EXTERN_C const CLSID CLSID_CSearchItemsChangedSink;
#ifdef __cplusplus
class DECLSPEC_UUID("A5270F6C-19EC-4E17-9EA1-A7074276B9B9")
CSearchItemsChangedSink;
#endif
EXTERN_C const CLSID CLSID_CSearchCrawlScopeManager;
#ifdef __cplusplus
class DECLSPEC_UUID("321069D2-2D7A-4AA1-9DC3-BA97CDF9AFB4")
CSearchCrawlScopeManager;
#endif
EXTERN_C const CLSID CLSID_CEnumSearchRoots;
#ifdef __cplusplus
class DECLSPEC_UUID("C188CDBA-53E5-4767-9FFB-FAFBD8017DF0")
CEnumSearchRoots;
#endif
EXTERN_C const CLSID CLSID_CEnumSearchScopeRules;
#ifdef __cplusplus
class DECLSPEC_UUID("3379F9F7-F805-4827-9CF6-03DB41F297DA")
CEnumSearchScopeRules;
#endif
EXTERN_C const CLSID CLSID_CSearchRoot;
#ifdef __cplusplus
class DECLSPEC_UUID("30766BD2-EA1C-4F28-BF27-0B44E2F68DB7")
CSearchRoot;
#endif
EXTERN_C const CLSID CLSID_CSearchScopeRule;
#ifdef __cplusplus
class DECLSPEC_UUID("E63DE750-3BD7-4BE5-9C84-6B4281988C44")
CSearchScopeRule;
#endif
EXTERN_C const CLSID CLSID_CSearchPersistentItemsChangedSink;
#ifdef __cplusplus
class DECLSPEC_UUID("D0F268B5-EA7A-4B35-BF2F-E1A091B80D51")
CSearchPersistentItemsChangedSink;
#endif
#endif /* __SearchAPILib_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
unsigned long __RPC_USER LPSAFEARRAY_UserSize( unsigned long *, unsigned long , LPSAFEARRAY * );
unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( unsigned long *, unsigned char *, LPSAFEARRAY * );
unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * );
void __RPC_USER LPSAFEARRAY_UserFree( unsigned long *, LPSAFEARRAY * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif