mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-03-30 22:19:17 +02:00
5447 lines
198 KiB
C++
5447 lines
198 KiB
C++
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
|
|
|
|
|
/* File created by MIDL compiler version 8.01.0622 */
|
|
/* @@MIDL_FILE_HEADING( ) */
|
|
|
|
|
|
|
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/
|
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
|
#define __REQUIRED_RPCNDR_H_VERSION__ 500
|
|
#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 __IUrlAccessor3_FWD_DEFINED__
|
|
#define __IUrlAccessor3_FWD_DEFINED__
|
|
typedef interface IUrlAccessor3 IUrlAccessor3;
|
|
|
|
#endif /* __IUrlAccessor3_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IUrlAccessor4_FWD_DEFINED__
|
|
#define __IUrlAccessor4_FWD_DEFINED__
|
|
typedef interface IUrlAccessor4 IUrlAccessor4;
|
|
|
|
#endif /* __IUrlAccessor4_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 __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 __ISearchCrawlScopeManager2_FWD_DEFINED__
|
|
#define __ISearchCrawlScopeManager2_FWD_DEFINED__
|
|
typedef interface ISearchCrawlScopeManager2 ISearchCrawlScopeManager2;
|
|
|
|
#endif /* __ISearchCrawlScopeManager2_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 __ISearchNotifyInlineSite_FWD_DEFINED__
|
|
#define __ISearchNotifyInlineSite_FWD_DEFINED__
|
|
typedef interface ISearchNotifyInlineSite ISearchNotifyInlineSite;
|
|
|
|
#endif /* __ISearchNotifyInlineSite_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISearchCatalogManager_FWD_DEFINED__
|
|
#define __ISearchCatalogManager_FWD_DEFINED__
|
|
typedef interface ISearchCatalogManager ISearchCatalogManager;
|
|
|
|
#endif /* __ISearchCatalogManager_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISearchCatalogManager2_FWD_DEFINED__
|
|
#define __ISearchCatalogManager2_FWD_DEFINED__
|
|
typedef interface ISearchCatalogManager2 ISearchCatalogManager2;
|
|
|
|
#endif /* __ISearchCatalogManager2_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISearchQueryHelper_FWD_DEFINED__
|
|
#define __ISearchQueryHelper_FWD_DEFINED__
|
|
typedef interface ISearchQueryHelper ISearchQueryHelper;
|
|
|
|
#endif /* __ISearchQueryHelper_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IRowsetPrioritization_FWD_DEFINED__
|
|
#define __IRowsetPrioritization_FWD_DEFINED__
|
|
typedef interface IRowsetPrioritization IRowsetPrioritization;
|
|
|
|
#endif /* __IRowsetPrioritization_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IRowsetEvents_FWD_DEFINED__
|
|
#define __IRowsetEvents_FWD_DEFINED__
|
|
typedef interface IRowsetEvents IRowsetEvents;
|
|
|
|
#endif /* __IRowsetEvents_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISearchManager_FWD_DEFINED__
|
|
#define __ISearchManager_FWD_DEFINED__
|
|
typedef interface ISearchManager ISearchManager;
|
|
|
|
#endif /* __ISearchManager_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISearchManager2_FWD_DEFINED__
|
|
#define __ISearchManager2_FWD_DEFINED__
|
|
typedef interface ISearchManager2 ISearchManager2;
|
|
|
|
#endif /* __ISearchManager2_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISearchLanguageSupport_FWD_DEFINED__
|
|
#define __ISearchLanguageSupport_FWD_DEFINED__
|
|
typedef interface ISearchLanguageSupport ISearchLanguageSupport;
|
|
|
|
#endif /* __ISearchLanguageSupport_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISearchCatalogManager_FWD_DEFINED__
|
|
#define __ISearchCatalogManager_FWD_DEFINED__
|
|
typedef interface ISearchCatalogManager ISearchCatalogManager;
|
|
|
|
#endif /* __ISearchCatalogManager_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISearchCatalogManager2_FWD_DEFINED__
|
|
#define __ISearchCatalogManager2_FWD_DEFINED__
|
|
typedef interface ISearchCatalogManager2 ISearchCatalogManager2;
|
|
|
|
#endif /* __ISearchCatalogManager2_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISearchQueryHelper_FWD_DEFINED__
|
|
#define __ISearchQueryHelper_FWD_DEFINED__
|
|
typedef interface ISearchQueryHelper ISearchQueryHelper;
|
|
|
|
#endif /* __ISearchQueryHelper_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISearchItemsChangedSink_FWD_DEFINED__
|
|
#define __ISearchItemsChangedSink_FWD_DEFINED__
|
|
typedef interface ISearchItemsChangedSink ISearchItemsChangedSink;
|
|
|
|
#endif /* __ISearchItemsChangedSink_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISearchCrawlScopeManager_FWD_DEFINED__
|
|
#define __ISearchCrawlScopeManager_FWD_DEFINED__
|
|
typedef interface ISearchCrawlScopeManager ISearchCrawlScopeManager;
|
|
|
|
#endif /* __ISearchCrawlScopeManager_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IEnumSearchScopeRules_FWD_DEFINED__
|
|
#define __IEnumSearchScopeRules_FWD_DEFINED__
|
|
typedef interface IEnumSearchScopeRules IEnumSearchScopeRules;
|
|
|
|
#endif /* __IEnumSearchScopeRules_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISearchManager_FWD_DEFINED__
|
|
#define __ISearchManager_FWD_DEFINED__
|
|
typedef interface ISearchManager ISearchManager;
|
|
|
|
#endif /* __ISearchManager_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ISearchManager2_FWD_DEFINED__
|
|
#define __ISearchManager2_FWD_DEFINED__
|
|
typedef interface ISearchManager2 ISearchManager2;
|
|
|
|
#endif /* __ISearchManager2_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 __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 __FilterRegistration_FWD_DEFINED__
|
|
#define __FilterRegistration_FWD_DEFINED__
|
|
|
|
#ifdef __cplusplus
|
|
typedef class FilterRegistration FilterRegistration;
|
|
#else
|
|
typedef struct FilterRegistration FilterRegistration;
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __FilterRegistration_FWD_DEFINED__ */
|
|
|
|
|
|
/* header files for imported files */
|
|
#include "unknwn.h"
|
|
#include "objidl.h"
|
|
#include "ocidl.h"
|
|
#include "propidl.h"
|
|
#include "filter.h"
|
|
#include "filtereg.h"
|
|
#include "propsys.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
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
#include <winapifamily.h>
|
|
#pragma region Desktop Family
|
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
typedef LONG ITEMID;
|
|
|
|
#include <winapifamily.h>
|
|
#pragma region Desktop Family
|
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
|
|
|
|
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 )(
|
|
__RPC__in IUrlAccessor * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IUrlAccessor * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IUrlAccessor * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddRequestParameter )(
|
|
__RPC__in IUrlAccessor * This,
|
|
/* [in] */ __RPC__in PROPSPEC *pSpec,
|
|
/* [in] */ __RPC__in PROPVARIANT *pVar);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetDocFormat )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IUrlAccessor * This,
|
|
/* [out] */ __RPC__out CLSID *pClsid);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetHost )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IUrlAccessor * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetSize )(
|
|
__RPC__in IUrlAccessor * This,
|
|
/* [out] */ __RPC__out ULONGLONG *pllSize);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetLastModified )(
|
|
__RPC__in IUrlAccessor * This,
|
|
/* [out] */ __RPC__out FILETIME *pftLastModified);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetFileName )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IUrlAccessor * This,
|
|
/* [size_is][out] */ __RPC__out_ecount_full(dwSize) BYTE *pSD,
|
|
/* [in] */ DWORD dwSize,
|
|
/* [out] */ __RPC__out DWORD *pdwLength);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetRedirectedURL )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IUrlAccessor * This,
|
|
/* [out] */ __RPC__out CLSID *pSPClsid);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *BindToStream )(
|
|
__RPC__in IUrlAccessor * This,
|
|
/* [out] */ __RPC__deref_out_opt IStream **ppStream);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *BindToFilter )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IUrlAccessor2 * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IUrlAccessor2 * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IUrlAccessor2 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddRequestParameter )(
|
|
__RPC__in IUrlAccessor2 * This,
|
|
/* [in] */ __RPC__in PROPSPEC *pSpec,
|
|
/* [in] */ __RPC__in PROPVARIANT *pVar);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetDocFormat )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IUrlAccessor2 * This,
|
|
/* [out] */ __RPC__out CLSID *pClsid);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetHost )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IUrlAccessor2 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetSize )(
|
|
__RPC__in IUrlAccessor2 * This,
|
|
/* [out] */ __RPC__out ULONGLONG *pllSize);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetLastModified )(
|
|
__RPC__in IUrlAccessor2 * This,
|
|
/* [out] */ __RPC__out FILETIME *pftLastModified);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetFileName )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IUrlAccessor2 * This,
|
|
/* [size_is][out] */ __RPC__out_ecount_full(dwSize) BYTE *pSD,
|
|
/* [in] */ DWORD dwSize,
|
|
/* [out] */ __RPC__out DWORD *pdwLength);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetRedirectedURL )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IUrlAccessor2 * This,
|
|
/* [out] */ __RPC__out CLSID *pSPClsid);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *BindToStream )(
|
|
__RPC__in IUrlAccessor2 * This,
|
|
/* [out] */ __RPC__deref_out_opt IStream **ppStream);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *BindToFilter )(
|
|
__RPC__in IUrlAccessor2 * This,
|
|
/* [out] */ __RPC__deref_out_opt IFilter **ppFilter);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetDisplayUrl )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IUrlAccessor2 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetCodePage )(
|
|
__RPC__in 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__ */
|
|
|
|
|
|
#ifndef __IUrlAccessor3_INTERFACE_DEFINED__
|
|
#define __IUrlAccessor3_INTERFACE_DEFINED__
|
|
|
|
/* interface IUrlAccessor3 */
|
|
/* [unique][public][helpstring][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IUrlAccessor3;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("6FBC7005-0455-4874-B8FF-7439450241A3")
|
|
IUrlAccessor3 : public IUrlAccessor2
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE GetImpersonationSidBlobs(
|
|
/* [in] */ __RPC__in LPCWSTR pcwszURL,
|
|
/* [out] */ __RPC__out DWORD *pcSidCount,
|
|
/* [out] */ __RPC__deref_out_opt BLOB **ppSidBlobs) = 0;
|
|
|
|
};
|
|
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IUrlAccessor3Vtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IUrlAccessor3 * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IUrlAccessor3 * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IUrlAccessor3 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddRequestParameter )(
|
|
__RPC__in IUrlAccessor3 * This,
|
|
/* [in] */ __RPC__in PROPSPEC *pSpec,
|
|
/* [in] */ __RPC__in PROPVARIANT *pVar);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetDocFormat )(
|
|
__RPC__in IUrlAccessor3 * 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 )(
|
|
__RPC__in IUrlAccessor3 * This,
|
|
/* [out] */ __RPC__out CLSID *pClsid);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetHost )(
|
|
__RPC__in IUrlAccessor3 * 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 )(
|
|
__RPC__in IUrlAccessor3 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetSize )(
|
|
__RPC__in IUrlAccessor3 * This,
|
|
/* [out] */ __RPC__out ULONGLONG *pllSize);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetLastModified )(
|
|
__RPC__in IUrlAccessor3 * This,
|
|
/* [out] */ __RPC__out FILETIME *pftLastModified);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetFileName )(
|
|
__RPC__in IUrlAccessor3 * 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 )(
|
|
__RPC__in IUrlAccessor3 * This,
|
|
/* [size_is][out] */ __RPC__out_ecount_full(dwSize) BYTE *pSD,
|
|
/* [in] */ DWORD dwSize,
|
|
/* [out] */ __RPC__out DWORD *pdwLength);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetRedirectedURL )(
|
|
__RPC__in IUrlAccessor3 * 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 )(
|
|
__RPC__in IUrlAccessor3 * This,
|
|
/* [out] */ __RPC__out CLSID *pSPClsid);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *BindToStream )(
|
|
__RPC__in IUrlAccessor3 * This,
|
|
/* [out] */ __RPC__deref_out_opt IStream **ppStream);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *BindToFilter )(
|
|
__RPC__in IUrlAccessor3 * This,
|
|
/* [out] */ __RPC__deref_out_opt IFilter **ppFilter);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetDisplayUrl )(
|
|
__RPC__in IUrlAccessor3 * 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 )(
|
|
__RPC__in IUrlAccessor3 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetCodePage )(
|
|
__RPC__in IUrlAccessor3 * This,
|
|
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszCodePage[ ],
|
|
/* [in] */ DWORD dwSize,
|
|
/* [out] */ __RPC__out DWORD *pdwLength);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetImpersonationSidBlobs )(
|
|
__RPC__in IUrlAccessor3 * This,
|
|
/* [in] */ __RPC__in LPCWSTR pcwszURL,
|
|
/* [out] */ __RPC__out DWORD *pcSidCount,
|
|
/* [out] */ __RPC__deref_out_opt BLOB **ppSidBlobs);
|
|
|
|
END_INTERFACE
|
|
} IUrlAccessor3Vtbl;
|
|
|
|
interface IUrlAccessor3
|
|
{
|
|
CONST_VTBL struct IUrlAccessor3Vtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IUrlAccessor3_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IUrlAccessor3_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IUrlAccessor3_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IUrlAccessor3_AddRequestParameter(This,pSpec,pVar) \
|
|
( (This)->lpVtbl -> AddRequestParameter(This,pSpec,pVar) )
|
|
|
|
#define IUrlAccessor3_GetDocFormat(This,wszDocFormat,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetDocFormat(This,wszDocFormat,dwSize,pdwLength) )
|
|
|
|
#define IUrlAccessor3_GetCLSID(This,pClsid) \
|
|
( (This)->lpVtbl -> GetCLSID(This,pClsid) )
|
|
|
|
#define IUrlAccessor3_GetHost(This,wszHost,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetHost(This,wszHost,dwSize,pdwLength) )
|
|
|
|
#define IUrlAccessor3_IsDirectory(This) \
|
|
( (This)->lpVtbl -> IsDirectory(This) )
|
|
|
|
#define IUrlAccessor3_GetSize(This,pllSize) \
|
|
( (This)->lpVtbl -> GetSize(This,pllSize) )
|
|
|
|
#define IUrlAccessor3_GetLastModified(This,pftLastModified) \
|
|
( (This)->lpVtbl -> GetLastModified(This,pftLastModified) )
|
|
|
|
#define IUrlAccessor3_GetFileName(This,wszFileName,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetFileName(This,wszFileName,dwSize,pdwLength) )
|
|
|
|
#define IUrlAccessor3_GetSecurityDescriptor(This,pSD,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetSecurityDescriptor(This,pSD,dwSize,pdwLength) )
|
|
|
|
#define IUrlAccessor3_GetRedirectedURL(This,wszRedirectedURL,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetRedirectedURL(This,wszRedirectedURL,dwSize,pdwLength) )
|
|
|
|
#define IUrlAccessor3_GetSecurityProvider(This,pSPClsid) \
|
|
( (This)->lpVtbl -> GetSecurityProvider(This,pSPClsid) )
|
|
|
|
#define IUrlAccessor3_BindToStream(This,ppStream) \
|
|
( (This)->lpVtbl -> BindToStream(This,ppStream) )
|
|
|
|
#define IUrlAccessor3_BindToFilter(This,ppFilter) \
|
|
( (This)->lpVtbl -> BindToFilter(This,ppFilter) )
|
|
|
|
|
|
#define IUrlAccessor3_GetDisplayUrl(This,wszDocUrl,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetDisplayUrl(This,wszDocUrl,dwSize,pdwLength) )
|
|
|
|
#define IUrlAccessor3_IsDocument(This) \
|
|
( (This)->lpVtbl -> IsDocument(This) )
|
|
|
|
#define IUrlAccessor3_GetCodePage(This,wszCodePage,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetCodePage(This,wszCodePage,dwSize,pdwLength) )
|
|
|
|
|
|
#define IUrlAccessor3_GetImpersonationSidBlobs(This,pcwszURL,pcSidCount,ppSidBlobs) \
|
|
( (This)->lpVtbl -> GetImpersonationSidBlobs(This,pcwszURL,pcSidCount,ppSidBlobs) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IUrlAccessor3_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IUrlAccessor4_INTERFACE_DEFINED__
|
|
#define __IUrlAccessor4_INTERFACE_DEFINED__
|
|
|
|
/* interface IUrlAccessor4 */
|
|
/* [unique][public][helpstring][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IUrlAccessor4;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("5CC51041-C8D2-41d7-BCA3-9E9E286297DC")
|
|
IUrlAccessor4 : public IUrlAccessor3
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE ShouldIndexItemContent(
|
|
/* [out] */ __RPC__out BOOL *pfIndexContent) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE ShouldIndexProperty(
|
|
/* [in] */ __RPC__in REFPROPERTYKEY key,
|
|
/* [out] */ __RPC__out BOOL *pfIndexProperty) = 0;
|
|
|
|
};
|
|
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IUrlAccessor4Vtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IUrlAccessor4 * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IUrlAccessor4 * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IUrlAccessor4 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddRequestParameter )(
|
|
__RPC__in IUrlAccessor4 * This,
|
|
/* [in] */ __RPC__in PROPSPEC *pSpec,
|
|
/* [in] */ __RPC__in PROPVARIANT *pVar);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetDocFormat )(
|
|
__RPC__in IUrlAccessor4 * 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 )(
|
|
__RPC__in IUrlAccessor4 * This,
|
|
/* [out] */ __RPC__out CLSID *pClsid);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetHost )(
|
|
__RPC__in IUrlAccessor4 * 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 )(
|
|
__RPC__in IUrlAccessor4 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetSize )(
|
|
__RPC__in IUrlAccessor4 * This,
|
|
/* [out] */ __RPC__out ULONGLONG *pllSize);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetLastModified )(
|
|
__RPC__in IUrlAccessor4 * This,
|
|
/* [out] */ __RPC__out FILETIME *pftLastModified);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetFileName )(
|
|
__RPC__in IUrlAccessor4 * 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 )(
|
|
__RPC__in IUrlAccessor4 * This,
|
|
/* [size_is][out] */ __RPC__out_ecount_full(dwSize) BYTE *pSD,
|
|
/* [in] */ DWORD dwSize,
|
|
/* [out] */ __RPC__out DWORD *pdwLength);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetRedirectedURL )(
|
|
__RPC__in IUrlAccessor4 * 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 )(
|
|
__RPC__in IUrlAccessor4 * This,
|
|
/* [out] */ __RPC__out CLSID *pSPClsid);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *BindToStream )(
|
|
__RPC__in IUrlAccessor4 * This,
|
|
/* [out] */ __RPC__deref_out_opt IStream **ppStream);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *BindToFilter )(
|
|
__RPC__in IUrlAccessor4 * This,
|
|
/* [out] */ __RPC__deref_out_opt IFilter **ppFilter);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetDisplayUrl )(
|
|
__RPC__in IUrlAccessor4 * 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 )(
|
|
__RPC__in IUrlAccessor4 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetCodePage )(
|
|
__RPC__in IUrlAccessor4 * This,
|
|
/* [size_is][length_is][out] */ __RPC__out_ecount_part(dwSize, *pdwLength) WCHAR wszCodePage[ ],
|
|
/* [in] */ DWORD dwSize,
|
|
/* [out] */ __RPC__out DWORD *pdwLength);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetImpersonationSidBlobs )(
|
|
__RPC__in IUrlAccessor4 * This,
|
|
/* [in] */ __RPC__in LPCWSTR pcwszURL,
|
|
/* [out] */ __RPC__out DWORD *pcSidCount,
|
|
/* [out] */ __RPC__deref_out_opt BLOB **ppSidBlobs);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *ShouldIndexItemContent )(
|
|
__RPC__in IUrlAccessor4 * This,
|
|
/* [out] */ __RPC__out BOOL *pfIndexContent);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *ShouldIndexProperty )(
|
|
__RPC__in IUrlAccessor4 * This,
|
|
/* [in] */ __RPC__in REFPROPERTYKEY key,
|
|
/* [out] */ __RPC__out BOOL *pfIndexProperty);
|
|
|
|
END_INTERFACE
|
|
} IUrlAccessor4Vtbl;
|
|
|
|
interface IUrlAccessor4
|
|
{
|
|
CONST_VTBL struct IUrlAccessor4Vtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IUrlAccessor4_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IUrlAccessor4_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IUrlAccessor4_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IUrlAccessor4_AddRequestParameter(This,pSpec,pVar) \
|
|
( (This)->lpVtbl -> AddRequestParameter(This,pSpec,pVar) )
|
|
|
|
#define IUrlAccessor4_GetDocFormat(This,wszDocFormat,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetDocFormat(This,wszDocFormat,dwSize,pdwLength) )
|
|
|
|
#define IUrlAccessor4_GetCLSID(This,pClsid) \
|
|
( (This)->lpVtbl -> GetCLSID(This,pClsid) )
|
|
|
|
#define IUrlAccessor4_GetHost(This,wszHost,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetHost(This,wszHost,dwSize,pdwLength) )
|
|
|
|
#define IUrlAccessor4_IsDirectory(This) \
|
|
( (This)->lpVtbl -> IsDirectory(This) )
|
|
|
|
#define IUrlAccessor4_GetSize(This,pllSize) \
|
|
( (This)->lpVtbl -> GetSize(This,pllSize) )
|
|
|
|
#define IUrlAccessor4_GetLastModified(This,pftLastModified) \
|
|
( (This)->lpVtbl -> GetLastModified(This,pftLastModified) )
|
|
|
|
#define IUrlAccessor4_GetFileName(This,wszFileName,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetFileName(This,wszFileName,dwSize,pdwLength) )
|
|
|
|
#define IUrlAccessor4_GetSecurityDescriptor(This,pSD,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetSecurityDescriptor(This,pSD,dwSize,pdwLength) )
|
|
|
|
#define IUrlAccessor4_GetRedirectedURL(This,wszRedirectedURL,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetRedirectedURL(This,wszRedirectedURL,dwSize,pdwLength) )
|
|
|
|
#define IUrlAccessor4_GetSecurityProvider(This,pSPClsid) \
|
|
( (This)->lpVtbl -> GetSecurityProvider(This,pSPClsid) )
|
|
|
|
#define IUrlAccessor4_BindToStream(This,ppStream) \
|
|
( (This)->lpVtbl -> BindToStream(This,ppStream) )
|
|
|
|
#define IUrlAccessor4_BindToFilter(This,ppFilter) \
|
|
( (This)->lpVtbl -> BindToFilter(This,ppFilter) )
|
|
|
|
|
|
#define IUrlAccessor4_GetDisplayUrl(This,wszDocUrl,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetDisplayUrl(This,wszDocUrl,dwSize,pdwLength) )
|
|
|
|
#define IUrlAccessor4_IsDocument(This) \
|
|
( (This)->lpVtbl -> IsDocument(This) )
|
|
|
|
#define IUrlAccessor4_GetCodePage(This,wszCodePage,dwSize,pdwLength) \
|
|
( (This)->lpVtbl -> GetCodePage(This,wszCodePage,dwSize,pdwLength) )
|
|
|
|
|
|
#define IUrlAccessor4_GetImpersonationSidBlobs(This,pcwszURL,pcSidCount,ppSidBlobs) \
|
|
( (This)->lpVtbl -> GetImpersonationSidBlobs(This,pcwszURL,pcSidCount,ppSidBlobs) )
|
|
|
|
|
|
#define IUrlAccessor4_ShouldIndexItemContent(This,pfIndexContent) \
|
|
( (This)->lpVtbl -> ShouldIndexItemContent(This,pfIndexContent) )
|
|
|
|
#define IUrlAccessor4_ShouldIndexProperty(This,key,pfIndexProperty) \
|
|
( (This)->lpVtbl -> ShouldIndexProperty(This,key,pfIndexProperty) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IUrlAccessor4_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* interface __MIDL_itf_searchapi_0000_0004 */
|
|
/* [local] */
|
|
|
|
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
|
#pragma endregion
|
|
#include <winapifamily.h>
|
|
#pragma region Desktop Family
|
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
|
|
|
|
|
|
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 __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(
|
|
/* [annotation][out] */
|
|
_Out_ BOOL *pfIsOplockValid) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE IsOplockBroken(
|
|
/* [annotation][out] */
|
|
_Out_ BOOL *pfIsOplockBroken) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetOplockEventHandle(
|
|
/* [annotation][out] */
|
|
_Outptr_ HANDLE *phOplockEv) = 0;
|
|
|
|
};
|
|
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IOpLockStatusVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
IOpLockStatus * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
IOpLockStatus * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
IOpLockStatus * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *IsOplockValid )(
|
|
IOpLockStatus * This,
|
|
/* [annotation][out] */
|
|
_Out_ BOOL *pfIsOplockValid);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *IsOplockBroken )(
|
|
IOpLockStatus * This,
|
|
/* [annotation][out] */
|
|
_Out_ BOOL *pfIsOplockBroken);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetOplockEventHandle )(
|
|
IOpLockStatus * This,
|
|
/* [annotation][out] */
|
|
_Outptr_ 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,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ 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_0006 */
|
|
/* [local] */
|
|
|
|
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
|
#pragma endregion
|
|
#include <winapifamily.h>
|
|
#pragma region Desktop Family
|
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
|
|
|
|
#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_0006_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0006_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,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ 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,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ 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,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ 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__ */
|
|
|
|
|
|
/* interface __MIDL_itf_searchapi_0000_0009 */
|
|
/* [local] */
|
|
|
|
|
|
#pragma pack()
|
|
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
|
#pragma endregion
|
|
#include <winapifamily.h>
|
|
#pragma region Desktop Family
|
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0009_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0009_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_string 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_string 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_string 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_string 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 )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchRoot * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchRoot * This);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Schedule )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszTaskArg);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Schedule )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszTaskArg);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_RootURL )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_RootURL )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszURL);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_IsHierarchical )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [in] */ BOOL fIsHierarchical);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsHierarchical )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [retval][out] */ __RPC__out BOOL *pfIsHierarchical);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_ProvidesNotifications )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [in] */ BOOL fProvidesNotifications);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ProvidesNotifications )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [retval][out] */ __RPC__out BOOL *pfProvidesNotifications);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_UseNotificationsOnly )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [in] */ BOOL fUseNotificationsOnly);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_UseNotificationsOnly )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [retval][out] */ __RPC__out BOOL *pfUseNotificationsOnly);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_EnumerationDepth )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [in] */ DWORD dwDepth);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnumerationDepth )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [retval][out] */ __RPC__out DWORD *pdwDepth);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_HostDepth )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [in] */ DWORD dwDepth);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_HostDepth )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [retval][out] */ __RPC__out DWORD *pdwDepth);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_FollowDirectories )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [in] */ BOOL fFollowDirectories);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_FollowDirectories )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [retval][out] */ __RPC__out BOOL *pfFollowDirectories);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_AuthenticationType )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [in] */ AUTH_TYPE authType);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_AuthenticationType )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [retval][out] */ __RPC__out AUTH_TYPE *pAuthType);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_User )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszUser);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_User )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszUser);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Password )(
|
|
__RPC__in ISearchRoot * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszPassword);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Password )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IEnumSearchRoots * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IEnumSearchRoots * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IEnumSearchRoots * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Next )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IEnumSearchRoots * This,
|
|
/* [in] */ ULONG celt);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Reset )(
|
|
__RPC__in IEnumSearchRoots * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Clone )(
|
|
__RPC__in 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_0011 */
|
|
/* [local] */
|
|
|
|
typedef /* [v1_enum] */
|
|
enum _FOLLOW_FLAGS
|
|
{
|
|
FF_INDEXCOMPLEXURLS = 0x1,
|
|
FF_SUPPRESSINDEXING = 0x2
|
|
} FOLLOW_FLAGS;
|
|
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0011_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0011_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 )(
|
|
__RPC__in ISearchScopeRule * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchScopeRule * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchScopeRule * This);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_PatternOrURL )(
|
|
__RPC__in ISearchScopeRule * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszPatternOrURL);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsIncluded )(
|
|
__RPC__in ISearchScopeRule * This,
|
|
/* [retval][out] */ __RPC__out BOOL *pfIsIncluded);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsDefault )(
|
|
__RPC__in ISearchScopeRule * This,
|
|
/* [retval][out] */ __RPC__out BOOL *pfIsDefault);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_FollowFlags )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IEnumSearchScopeRules * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IEnumSearchScopeRules * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IEnumSearchScopeRules * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Next )(
|
|
__RPC__in 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 )(
|
|
__RPC__in IEnumSearchScopeRules * This,
|
|
/* [in] */ ULONG celt);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Reset )(
|
|
__RPC__in IEnumSearchScopeRules * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Clone )(
|
|
__RPC__in 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_0013 */
|
|
/* [local] */
|
|
|
|
typedef /* [public][public] */
|
|
enum __MIDL___MIDL_itf_searchapi_0000_0013_0001
|
|
{
|
|
CLUSIONREASON_UNKNOWNSCOPE = 0,
|
|
CLUSIONREASON_DEFAULT = 1,
|
|
CLUSIONREASON_USER = 2,
|
|
CLUSIONREASON_GROUPPOLICY = 3
|
|
} CLUSION_REASON;
|
|
|
|
|
|
|
|
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 __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_string 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_string LPCWSTR pszURL,
|
|
/* [in] */ BOOL fInclude,
|
|
/* [in] */ BOOL fDefault,
|
|
/* [in] */ BOOL fOverrideChildren) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE AddUserScopeRule(
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [in] */ BOOL fInclude,
|
|
/* [in] */ BOOL fOverrideChildren,
|
|
/* [in] */ DWORD fFollowFlags) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE RemoveScopeRule(
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszRule) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE EnumerateScopeRules(
|
|
/* [retval][out] */ __RPC__deref_out_opt IEnumSearchScopeRules **ppSearchScopeRules) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE HasParentScopeRule(
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out BOOL *pfHasParentRule) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE HasChildScopeRule(
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out BOOL *pfHasChildRule) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE IncludedInCrawlScope(
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out BOOL *pfIsIncluded) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE IncludedInCrawlScopeEx(
|
|
/* [string][in] */ __RPC__in_string 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_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out LONG *plScopeId) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE RemoveDefaultScopeRule(
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL) = 0;
|
|
|
|
};
|
|
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct ISearchCrawlScopeManagerVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchCrawlScopeManager * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchCrawlScopeManager * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddDefaultScopeRule )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [in] */ BOOL fInclude,
|
|
/* [in] */ DWORD fFollowFlags);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddRoot )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [in] */ __RPC__in_opt ISearchRoot *pSearchRoot);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *RemoveRoot )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [in] */ __RPC__in LPCWSTR pszURL);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *EnumerateRoots )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt IEnumSearchRoots **ppSearchRoots);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddHierarchicalScope )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [in] */ BOOL fInclude,
|
|
/* [in] */ BOOL fDefault,
|
|
/* [in] */ BOOL fOverrideChildren);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddUserScopeRule )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [in] */ BOOL fInclude,
|
|
/* [in] */ BOOL fOverrideChildren,
|
|
/* [in] */ DWORD fFollowFlags);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *RemoveScopeRule )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszRule);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *EnumerateScopeRules )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt IEnumSearchScopeRules **ppSearchScopeRules);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *HasParentScopeRule )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out BOOL *pfHasParentRule);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *HasChildScopeRule )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out BOOL *pfHasChildRule);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *IncludedInCrawlScope )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out BOOL *pfIsIncluded);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *IncludedInCrawlScopeEx )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [out] */ __RPC__out BOOL *pfIsIncluded,
|
|
/* [out] */ __RPC__out CLUSION_REASON *pReason);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *RevertToDefaultScopes )(
|
|
__RPC__in ISearchCrawlScopeManager * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *SaveAll )(
|
|
__RPC__in ISearchCrawlScopeManager * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetParentScopeVersionId )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out LONG *plScopeId);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *RemoveDefaultScopeRule )(
|
|
__RPC__in ISearchCrawlScopeManager * This,
|
|
/* [string][in] */ __RPC__in_string 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__ */
|
|
|
|
|
|
#ifndef __ISearchCrawlScopeManager2_INTERFACE_DEFINED__
|
|
#define __ISearchCrawlScopeManager2_INTERFACE_DEFINED__
|
|
|
|
/* interface ISearchCrawlScopeManager2 */
|
|
/* [unique][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_ISearchCrawlScopeManager2;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("6292F7AD-4E19-4717-A534-8FC22BCD5CCD")
|
|
ISearchCrawlScopeManager2 : public ISearchCrawlScopeManager
|
|
{
|
|
public:
|
|
virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetVersion(
|
|
/* [out] */ long **plVersion,
|
|
/* [out] */ HANDLE *phFileMapping) = 0;
|
|
|
|
};
|
|
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct ISearchCrawlScopeManager2Vtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddDefaultScopeRule )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [in] */ BOOL fInclude,
|
|
/* [in] */ DWORD fFollowFlags);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddRoot )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [in] */ __RPC__in_opt ISearchRoot *pSearchRoot);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *RemoveRoot )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [in] */ __RPC__in LPCWSTR pszURL);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *EnumerateRoots )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt IEnumSearchRoots **ppSearchRoots);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddHierarchicalScope )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [in] */ BOOL fInclude,
|
|
/* [in] */ BOOL fDefault,
|
|
/* [in] */ BOOL fOverrideChildren);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AddUserScopeRule )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [in] */ BOOL fInclude,
|
|
/* [in] */ BOOL fOverrideChildren,
|
|
/* [in] */ DWORD fFollowFlags);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *RemoveScopeRule )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszRule);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *EnumerateScopeRules )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt IEnumSearchScopeRules **ppSearchScopeRules);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *HasParentScopeRule )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out BOOL *pfHasParentRule);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *HasChildScopeRule )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out BOOL *pfHasChildRule);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *IncludedInCrawlScope )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out BOOL *pfIsIncluded);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *IncludedInCrawlScopeEx )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [out] */ __RPC__out BOOL *pfIsIncluded,
|
|
/* [out] */ __RPC__out CLUSION_REASON *pReason);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *RevertToDefaultScopes )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *SaveAll )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetParentScopeVersionId )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out LONG *plScopeId);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *RemoveDefaultScopeRule )(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL);
|
|
|
|
/* [local] */ HRESULT ( STDMETHODCALLTYPE *GetVersion )(
|
|
ISearchCrawlScopeManager2 * This,
|
|
/* [out] */ long **plVersion,
|
|
/* [out] */ HANDLE *phFileMapping);
|
|
|
|
END_INTERFACE
|
|
} ISearchCrawlScopeManager2Vtbl;
|
|
|
|
interface ISearchCrawlScopeManager2
|
|
{
|
|
CONST_VTBL struct ISearchCrawlScopeManager2Vtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define ISearchCrawlScopeManager2_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define ISearchCrawlScopeManager2_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define ISearchCrawlScopeManager2_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define ISearchCrawlScopeManager2_AddDefaultScopeRule(This,pszURL,fInclude,fFollowFlags) \
|
|
( (This)->lpVtbl -> AddDefaultScopeRule(This,pszURL,fInclude,fFollowFlags) )
|
|
|
|
#define ISearchCrawlScopeManager2_AddRoot(This,pSearchRoot) \
|
|
( (This)->lpVtbl -> AddRoot(This,pSearchRoot) )
|
|
|
|
#define ISearchCrawlScopeManager2_RemoveRoot(This,pszURL) \
|
|
( (This)->lpVtbl -> RemoveRoot(This,pszURL) )
|
|
|
|
#define ISearchCrawlScopeManager2_EnumerateRoots(This,ppSearchRoots) \
|
|
( (This)->lpVtbl -> EnumerateRoots(This,ppSearchRoots) )
|
|
|
|
#define ISearchCrawlScopeManager2_AddHierarchicalScope(This,pszURL,fInclude,fDefault,fOverrideChildren) \
|
|
( (This)->lpVtbl -> AddHierarchicalScope(This,pszURL,fInclude,fDefault,fOverrideChildren) )
|
|
|
|
#define ISearchCrawlScopeManager2_AddUserScopeRule(This,pszURL,fInclude,fOverrideChildren,fFollowFlags) \
|
|
( (This)->lpVtbl -> AddUserScopeRule(This,pszURL,fInclude,fOverrideChildren,fFollowFlags) )
|
|
|
|
#define ISearchCrawlScopeManager2_RemoveScopeRule(This,pszRule) \
|
|
( (This)->lpVtbl -> RemoveScopeRule(This,pszRule) )
|
|
|
|
#define ISearchCrawlScopeManager2_EnumerateScopeRules(This,ppSearchScopeRules) \
|
|
( (This)->lpVtbl -> EnumerateScopeRules(This,ppSearchScopeRules) )
|
|
|
|
#define ISearchCrawlScopeManager2_HasParentScopeRule(This,pszURL,pfHasParentRule) \
|
|
( (This)->lpVtbl -> HasParentScopeRule(This,pszURL,pfHasParentRule) )
|
|
|
|
#define ISearchCrawlScopeManager2_HasChildScopeRule(This,pszURL,pfHasChildRule) \
|
|
( (This)->lpVtbl -> HasChildScopeRule(This,pszURL,pfHasChildRule) )
|
|
|
|
#define ISearchCrawlScopeManager2_IncludedInCrawlScope(This,pszURL,pfIsIncluded) \
|
|
( (This)->lpVtbl -> IncludedInCrawlScope(This,pszURL,pfIsIncluded) )
|
|
|
|
#define ISearchCrawlScopeManager2_IncludedInCrawlScopeEx(This,pszURL,pfIsIncluded,pReason) \
|
|
( (This)->lpVtbl -> IncludedInCrawlScopeEx(This,pszURL,pfIsIncluded,pReason) )
|
|
|
|
#define ISearchCrawlScopeManager2_RevertToDefaultScopes(This) \
|
|
( (This)->lpVtbl -> RevertToDefaultScopes(This) )
|
|
|
|
#define ISearchCrawlScopeManager2_SaveAll(This) \
|
|
( (This)->lpVtbl -> SaveAll(This) )
|
|
|
|
#define ISearchCrawlScopeManager2_GetParentScopeVersionId(This,pszURL,plScopeId) \
|
|
( (This)->lpVtbl -> GetParentScopeVersionId(This,pszURL,plScopeId) )
|
|
|
|
#define ISearchCrawlScopeManager2_RemoveDefaultScopeRule(This,pszURL) \
|
|
( (This)->lpVtbl -> RemoveDefaultScopeRule(This,pszURL) )
|
|
|
|
|
|
#define ISearchCrawlScopeManager2_GetVersion(This,plVersion,phFileMapping) \
|
|
( (This)->lpVtbl -> GetVersion(This,plVersion,phFileMapping) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
/* [call_as] */ HRESULT STDMETHODCALLTYPE ISearchCrawlScopeManager2_RemoteGetVersion_Proxy(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [out] */ __RPC__out long *plVersion);
|
|
|
|
|
|
void __RPC_STUB ISearchCrawlScopeManager2_RemoteGetVersion_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __ISearchCrawlScopeManager2_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* interface __MIDL_itf_searchapi_0000_0015 */
|
|
/* [local] */
|
|
|
|
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
|
#pragma endregion
|
|
#include <winapifamily.h>
|
|
#pragma region Desktop Family
|
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
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_0015_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0015_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;
|
|
/* [unique] */ 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_string LPCWSTR pszURL) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE StoppedMonitoringScope(
|
|
/* [string][in] */ __RPC__in_string 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 )(
|
|
__RPC__in ISearchItemsChangedSink * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchItemsChangedSink * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchItemsChangedSink * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *StartedMonitoringScope )(
|
|
__RPC__in ISearchItemsChangedSink * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *StoppedMonitoringScope )(
|
|
__RPC__in ISearchItemsChangedSink * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OnItemsChanged )(
|
|
__RPC__in 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;
|
|
/* [unique] */ 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_string LPCWSTR pszURL) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE StoppedMonitoringScope(
|
|
/* [string][in] */ __RPC__in_string 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 )(
|
|
__RPC__in ISearchPersistentItemsChangedSink * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchPersistentItemsChangedSink * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchPersistentItemsChangedSink * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *StartedMonitoringScope )(
|
|
__RPC__in ISearchPersistentItemsChangedSink * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *StoppedMonitoringScope )(
|
|
__RPC__in ISearchPersistentItemsChangedSink * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OnItemsChanged )(
|
|
__RPC__in 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 )(
|
|
__RPC__in ISearchViewChangedSink * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchViewChangedSink * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchViewChangedSink * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OnChange )(
|
|
__RPC__in 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_0018 */
|
|
/* [local] */
|
|
|
|
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
|
#pragma endregion
|
|
#include <winapifamily.h>
|
|
#pragma region Desktop Family
|
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0018_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0018_v0_0_s_ifspec;
|
|
|
|
#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 )(
|
|
__RPC__in ISearchNotifyInlineSite * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchNotifyInlineSite * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchNotifyInlineSite * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OnItemIndexedStatusChange )(
|
|
__RPC__in 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 )(
|
|
__RPC__in 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__ */
|
|
|
|
|
|
/* interface __MIDL_itf_searchapi_0000_0019 */
|
|
/* [local] */
|
|
|
|
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
|
#pragma endregion
|
|
#include <winapifamily.h>
|
|
#pragma region Desktop Family
|
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
|
|
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_0019_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0019_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_string LPCWSTR pszName,
|
|
/* [retval][out] */ __RPC__deref_out_opt PROPVARIANT **ppValue) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE SetParameter(
|
|
/* [string][in] */ __RPC__in_string 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_string LPCWSTR pszPattern) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE ReindexSearchRoot(
|
|
/* [string][in] */ __RPC__in_string 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_string 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_string 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_string 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 )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchCatalogManager * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchCatalogManager * This);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *pszName);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetParameter )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszName,
|
|
/* [retval][out] */ __RPC__deref_out_opt PROPVARIANT **ppValue);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *SetParameter )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszName,
|
|
/* [in] */ __RPC__in PROPVARIANT *pValue);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetCatalogStatus )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [out] */ __RPC__out CatalogStatus *pStatus,
|
|
/* [out] */ __RPC__out CatalogPausedReason *pPausedReason);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Reset )(
|
|
__RPC__in ISearchCatalogManager * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Reindex )(
|
|
__RPC__in ISearchCatalogManager * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *ReindexMatchingURLs )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszPattern);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *ReindexSearchRoot )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszRootURL);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_ConnectTimeout )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [in] */ DWORD dwConnectTimeout);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectTimeout )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [retval][out] */ __RPC__out DWORD *pdwConnectTimeout);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DataTimeout )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [in] */ DWORD dwDataTimeout);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DataTimeout )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [retval][out] */ __RPC__out DWORD *pdwDataTimeout);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *NumberOfItems )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [retval][out] */ __RPC__out LONG *plCount);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *NumberOfItemsToIndex )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [out] */ __RPC__out LONG *plIncrementalCount,
|
|
/* [out] */ __RPC__out LONG *plNotificationQueue,
|
|
/* [out] */ __RPC__out LONG *plHighPriorityQueue);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *URLBeingIndexed )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *pszUrl);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetURLIndexingState )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out DWORD *pdwState);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetPersistentItemsChangedSink )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt ISearchPersistentItemsChangedSink **ppISearchPersistentItemsChangedSink);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *RegisterViewForNotification )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszView,
|
|
/* [in] */ __RPC__in_opt ISearchViewChangedSink *pViewChangedSink,
|
|
/* [out] */ __RPC__out DWORD *pdwCookie);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetItemsChangedSink )(
|
|
__RPC__in 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 )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [in] */ DWORD dwCookie);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *SetExtensionClusion )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszExtension,
|
|
/* [in] */ BOOL fExclude);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *EnumerateExcludedExtensions )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt IEnumString **ppExtensions);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetQueryHelper )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt ISearchQueryHelper **ppSearchQueryHelper);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DiacriticSensitivity )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [in] */ BOOL fDiacriticSensitive);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DiacriticSensitivity )(
|
|
__RPC__in ISearchCatalogManager * This,
|
|
/* [retval][out] */ __RPC__out BOOL *pfDiacriticSensitive);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetCrawlScopeManager )(
|
|
__RPC__in 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__ */
|
|
|
|
|
|
/* interface __MIDL_itf_searchapi_0000_0020 */
|
|
/* [local] */
|
|
|
|
/* [v1_enum] */
|
|
enum tagPRIORITIZE_FLAGS
|
|
{
|
|
PRIORITIZE_FLAG_RETRYFAILEDITEMS = 0x1,
|
|
PRIORITIZE_FLAG_IGNOREFAILURECOUNT = 0x2
|
|
} ;
|
|
typedef int PRIORITIZE_FLAGS;
|
|
|
|
|
|
|
|
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 __ISearchCatalogManager2_INTERFACE_DEFINED__
|
|
#define __ISearchCatalogManager2_INTERFACE_DEFINED__
|
|
|
|
/* interface ISearchCatalogManager2 */
|
|
/* [unique][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_ISearchCatalogManager2;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("7AC3286D-4D1D-4817-84FC-C1C85E3AF0D9")
|
|
ISearchCatalogManager2 : public ISearchCatalogManager
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE PrioritizeMatchingURLs(
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszPattern,
|
|
/* [in] */ PRIORITIZE_FLAGS dwPrioritizeFlags) = 0;
|
|
|
|
};
|
|
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct ISearchCatalogManager2Vtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchCatalogManager2 * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchCatalogManager2 * This);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *pszName);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetParameter )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszName,
|
|
/* [retval][out] */ __RPC__deref_out_opt PROPVARIANT **ppValue);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *SetParameter )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszName,
|
|
/* [in] */ __RPC__in PROPVARIANT *pValue);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetCatalogStatus )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [out] */ __RPC__out CatalogStatus *pStatus,
|
|
/* [out] */ __RPC__out CatalogPausedReason *pPausedReason);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Reset )(
|
|
__RPC__in ISearchCatalogManager2 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Reindex )(
|
|
__RPC__in ISearchCatalogManager2 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *ReindexMatchingURLs )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszPattern);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *ReindexSearchRoot )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszRootURL);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_ConnectTimeout )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [in] */ DWORD dwConnectTimeout);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectTimeout )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [retval][out] */ __RPC__out DWORD *pdwConnectTimeout);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DataTimeout )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [in] */ DWORD dwDataTimeout);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DataTimeout )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [retval][out] */ __RPC__out DWORD *pdwDataTimeout);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *NumberOfItems )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [retval][out] */ __RPC__out LONG *plCount);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *NumberOfItemsToIndex )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [out] */ __RPC__out LONG *plIncrementalCount,
|
|
/* [out] */ __RPC__out LONG *plNotificationQueue,
|
|
/* [out] */ __RPC__out LONG *plHighPriorityQueue);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *URLBeingIndexed )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *pszUrl);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetURLIndexingState )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszURL,
|
|
/* [retval][out] */ __RPC__out DWORD *pdwState);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetPersistentItemsChangedSink )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt ISearchPersistentItemsChangedSink **ppISearchPersistentItemsChangedSink);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *RegisterViewForNotification )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszView,
|
|
/* [in] */ __RPC__in_opt ISearchViewChangedSink *pViewChangedSink,
|
|
/* [out] */ __RPC__out DWORD *pdwCookie);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetItemsChangedSink )(
|
|
__RPC__in ISearchCatalogManager2 * 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 )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [in] */ DWORD dwCookie);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *SetExtensionClusion )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszExtension,
|
|
/* [in] */ BOOL fExclude);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *EnumerateExcludedExtensions )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt IEnumString **ppExtensions);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetQueryHelper )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt ISearchQueryHelper **ppSearchQueryHelper);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DiacriticSensitivity )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [in] */ BOOL fDiacriticSensitive);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DiacriticSensitivity )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [retval][out] */ __RPC__out BOOL *pfDiacriticSensitive);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetCrawlScopeManager )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt ISearchCrawlScopeManager **ppCrawlScopeManager);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *PrioritizeMatchingURLs )(
|
|
__RPC__in ISearchCatalogManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszPattern,
|
|
/* [in] */ PRIORITIZE_FLAGS dwPrioritizeFlags);
|
|
|
|
END_INTERFACE
|
|
} ISearchCatalogManager2Vtbl;
|
|
|
|
interface ISearchCatalogManager2
|
|
{
|
|
CONST_VTBL struct ISearchCatalogManager2Vtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define ISearchCatalogManager2_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define ISearchCatalogManager2_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define ISearchCatalogManager2_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define ISearchCatalogManager2_get_Name(This,pszName) \
|
|
( (This)->lpVtbl -> get_Name(This,pszName) )
|
|
|
|
#define ISearchCatalogManager2_GetParameter(This,pszName,ppValue) \
|
|
( (This)->lpVtbl -> GetParameter(This,pszName,ppValue) )
|
|
|
|
#define ISearchCatalogManager2_SetParameter(This,pszName,pValue) \
|
|
( (This)->lpVtbl -> SetParameter(This,pszName,pValue) )
|
|
|
|
#define ISearchCatalogManager2_GetCatalogStatus(This,pStatus,pPausedReason) \
|
|
( (This)->lpVtbl -> GetCatalogStatus(This,pStatus,pPausedReason) )
|
|
|
|
#define ISearchCatalogManager2_Reset(This) \
|
|
( (This)->lpVtbl -> Reset(This) )
|
|
|
|
#define ISearchCatalogManager2_Reindex(This) \
|
|
( (This)->lpVtbl -> Reindex(This) )
|
|
|
|
#define ISearchCatalogManager2_ReindexMatchingURLs(This,pszPattern) \
|
|
( (This)->lpVtbl -> ReindexMatchingURLs(This,pszPattern) )
|
|
|
|
#define ISearchCatalogManager2_ReindexSearchRoot(This,pszRootURL) \
|
|
( (This)->lpVtbl -> ReindexSearchRoot(This,pszRootURL) )
|
|
|
|
#define ISearchCatalogManager2_put_ConnectTimeout(This,dwConnectTimeout) \
|
|
( (This)->lpVtbl -> put_ConnectTimeout(This,dwConnectTimeout) )
|
|
|
|
#define ISearchCatalogManager2_get_ConnectTimeout(This,pdwConnectTimeout) \
|
|
( (This)->lpVtbl -> get_ConnectTimeout(This,pdwConnectTimeout) )
|
|
|
|
#define ISearchCatalogManager2_put_DataTimeout(This,dwDataTimeout) \
|
|
( (This)->lpVtbl -> put_DataTimeout(This,dwDataTimeout) )
|
|
|
|
#define ISearchCatalogManager2_get_DataTimeout(This,pdwDataTimeout) \
|
|
( (This)->lpVtbl -> get_DataTimeout(This,pdwDataTimeout) )
|
|
|
|
#define ISearchCatalogManager2_NumberOfItems(This,plCount) \
|
|
( (This)->lpVtbl -> NumberOfItems(This,plCount) )
|
|
|
|
#define ISearchCatalogManager2_NumberOfItemsToIndex(This,plIncrementalCount,plNotificationQueue,plHighPriorityQueue) \
|
|
( (This)->lpVtbl -> NumberOfItemsToIndex(This,plIncrementalCount,plNotificationQueue,plHighPriorityQueue) )
|
|
|
|
#define ISearchCatalogManager2_URLBeingIndexed(This,pszUrl) \
|
|
( (This)->lpVtbl -> URLBeingIndexed(This,pszUrl) )
|
|
|
|
#define ISearchCatalogManager2_GetURLIndexingState(This,pszURL,pdwState) \
|
|
( (This)->lpVtbl -> GetURLIndexingState(This,pszURL,pdwState) )
|
|
|
|
#define ISearchCatalogManager2_GetPersistentItemsChangedSink(This,ppISearchPersistentItemsChangedSink) \
|
|
( (This)->lpVtbl -> GetPersistentItemsChangedSink(This,ppISearchPersistentItemsChangedSink) )
|
|
|
|
#define ISearchCatalogManager2_RegisterViewForNotification(This,pszView,pViewChangedSink,pdwCookie) \
|
|
( (This)->lpVtbl -> RegisterViewForNotification(This,pszView,pViewChangedSink,pdwCookie) )
|
|
|
|
#define ISearchCatalogManager2_GetItemsChangedSink(This,pISearchNotifyInlineSite,riid,ppv,pGUIDCatalogResetSignature,pGUIDCheckPointSignature,pdwLastCheckPointNumber) \
|
|
( (This)->lpVtbl -> GetItemsChangedSink(This,pISearchNotifyInlineSite,riid,ppv,pGUIDCatalogResetSignature,pGUIDCheckPointSignature,pdwLastCheckPointNumber) )
|
|
|
|
#define ISearchCatalogManager2_UnregisterViewForNotification(This,dwCookie) \
|
|
( (This)->lpVtbl -> UnregisterViewForNotification(This,dwCookie) )
|
|
|
|
#define ISearchCatalogManager2_SetExtensionClusion(This,pszExtension,fExclude) \
|
|
( (This)->lpVtbl -> SetExtensionClusion(This,pszExtension,fExclude) )
|
|
|
|
#define ISearchCatalogManager2_EnumerateExcludedExtensions(This,ppExtensions) \
|
|
( (This)->lpVtbl -> EnumerateExcludedExtensions(This,ppExtensions) )
|
|
|
|
#define ISearchCatalogManager2_GetQueryHelper(This,ppSearchQueryHelper) \
|
|
( (This)->lpVtbl -> GetQueryHelper(This,ppSearchQueryHelper) )
|
|
|
|
#define ISearchCatalogManager2_put_DiacriticSensitivity(This,fDiacriticSensitive) \
|
|
( (This)->lpVtbl -> put_DiacriticSensitivity(This,fDiacriticSensitive) )
|
|
|
|
#define ISearchCatalogManager2_get_DiacriticSensitivity(This,pfDiacriticSensitive) \
|
|
( (This)->lpVtbl -> get_DiacriticSensitivity(This,pfDiacriticSensitive) )
|
|
|
|
#define ISearchCatalogManager2_GetCrawlScopeManager(This,ppCrawlScopeManager) \
|
|
( (This)->lpVtbl -> GetCrawlScopeManager(This,ppCrawlScopeManager) )
|
|
|
|
|
|
#define ISearchCatalogManager2_PrioritizeMatchingURLs(This,pszPattern,dwPrioritizeFlags) \
|
|
( (This)->lpVtbl -> PrioritizeMatchingURLs(This,pszPattern,dwPrioritizeFlags) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __ISearchCatalogManager2_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* interface __MIDL_itf_searchapi_0000_0021 */
|
|
/* [local] */
|
|
|
|
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
|
#pragma endregion
|
|
#include <winapifamily.h>
|
|
#pragma region Desktop Family
|
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0021_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0021_v0_0_s_ifspec;
|
|
|
|
#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_string 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_string 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_string 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_string 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_string 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 )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchQueryHelper * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchQueryHelper * This);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectionString )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *pszConnectionString);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QueryContentLocale )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [in] */ LCID lcid);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueryContentLocale )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [retval][out] */ __RPC__out LCID *plcid);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QueryKeywordLocale )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [in] */ LCID lcid);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueryKeywordLocale )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [retval][out] */ __RPC__out LCID *plcid);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QueryTermExpansion )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [in] */ SEARCH_TERM_EXPANSION expandTerms);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueryTermExpansion )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [retval][out] */ __RPC__out SEARCH_TERM_EXPANSION *pExpandTerms);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuerySyntax )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [in] */ SEARCH_QUERY_SYNTAX querySyntax);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuerySyntax )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [retval][out] */ __RPC__out SEARCH_QUERY_SYNTAX *pQuerySyntax);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QueryContentProperties )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [unique][string][in] */ __RPC__in_opt_string LPCWSTR pszContentProperties);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueryContentProperties )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszContentProperties);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuerySelectColumns )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [unique][string][in] */ __RPC__in_opt_string LPCWSTR pszSelectColumns);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuerySelectColumns )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszSelectColumns);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QueryWhereRestrictions )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [unique][string][in] */ __RPC__in_opt_string LPCWSTR pszRestrictions);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueryWhereRestrictions )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszRestrictions);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuerySorting )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [unique][string][in] */ __RPC__in_opt_string LPCWSTR pszSorting);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuerySorting )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszSorting);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GenerateSQLFromUserQuery )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszQuery,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszSQL);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *WriteProperties )(
|
|
__RPC__in 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 )(
|
|
__RPC__in ISearchQueryHelper * This,
|
|
/* [in] */ LONG cMaxResults);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueryMaxResults )(
|
|
__RPC__in 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__ */
|
|
|
|
|
|
/* interface __MIDL_itf_searchapi_0000_0022 */
|
|
/* [local] */
|
|
|
|
typedef /* [public][public][public][v1_enum] */
|
|
enum __MIDL___MIDL_itf_searchapi_0000_0022_0001
|
|
{
|
|
PRIORITY_LEVEL_FOREGROUND = 0,
|
|
PRIORITY_LEVEL_HIGH = 1,
|
|
PRIORITY_LEVEL_LOW = 2,
|
|
PRIORITY_LEVEL_DEFAULT = 3
|
|
} PRIORITY_LEVEL;
|
|
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0022_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0022_v0_0_s_ifspec;
|
|
|
|
#ifndef __IRowsetPrioritization_INTERFACE_DEFINED__
|
|
#define __IRowsetPrioritization_INTERFACE_DEFINED__
|
|
|
|
/* interface IRowsetPrioritization */
|
|
/* [unique][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IRowsetPrioritization;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("42811652-079D-481B-87A2-09A69ECC5F44")
|
|
IRowsetPrioritization : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE SetScopePriority(
|
|
/* [in] */ PRIORITY_LEVEL priority,
|
|
/* [in] */ DWORD scopeStatisticsEventFrequency) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetScopePriority(
|
|
/* [out] */ __RPC__out PRIORITY_LEVEL *priority,
|
|
/* [out] */ __RPC__out DWORD *scopeStatisticsEventFrequency) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetScopeStatistics(
|
|
/* [out] */ __RPC__out DWORD *indexedDocumentCount,
|
|
/* [out] */ __RPC__out DWORD *oustandingAddCount,
|
|
/* [out] */ __RPC__out DWORD *oustandingModifyCount) = 0;
|
|
|
|
};
|
|
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IRowsetPrioritizationVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IRowsetPrioritization * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IRowsetPrioritization * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IRowsetPrioritization * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *SetScopePriority )(
|
|
__RPC__in IRowsetPrioritization * This,
|
|
/* [in] */ PRIORITY_LEVEL priority,
|
|
/* [in] */ DWORD scopeStatisticsEventFrequency);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetScopePriority )(
|
|
__RPC__in IRowsetPrioritization * This,
|
|
/* [out] */ __RPC__out PRIORITY_LEVEL *priority,
|
|
/* [out] */ __RPC__out DWORD *scopeStatisticsEventFrequency);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetScopeStatistics )(
|
|
__RPC__in IRowsetPrioritization * This,
|
|
/* [out] */ __RPC__out DWORD *indexedDocumentCount,
|
|
/* [out] */ __RPC__out DWORD *oustandingAddCount,
|
|
/* [out] */ __RPC__out DWORD *oustandingModifyCount);
|
|
|
|
END_INTERFACE
|
|
} IRowsetPrioritizationVtbl;
|
|
|
|
interface IRowsetPrioritization
|
|
{
|
|
CONST_VTBL struct IRowsetPrioritizationVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IRowsetPrioritization_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IRowsetPrioritization_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IRowsetPrioritization_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IRowsetPrioritization_SetScopePriority(This,priority,scopeStatisticsEventFrequency) \
|
|
( (This)->lpVtbl -> SetScopePriority(This,priority,scopeStatisticsEventFrequency) )
|
|
|
|
#define IRowsetPrioritization_GetScopePriority(This,priority,scopeStatisticsEventFrequency) \
|
|
( (This)->lpVtbl -> GetScopePriority(This,priority,scopeStatisticsEventFrequency) )
|
|
|
|
#define IRowsetPrioritization_GetScopeStatistics(This,indexedDocumentCount,oustandingAddCount,oustandingModifyCount) \
|
|
( (This)->lpVtbl -> GetScopeStatistics(This,indexedDocumentCount,oustandingAddCount,oustandingModifyCount) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IRowsetPrioritization_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* interface __MIDL_itf_searchapi_0000_0023 */
|
|
/* [local] */
|
|
|
|
typedef /* [public][public][public][public][public][v1_enum] */
|
|
enum __MIDL___MIDL_itf_searchapi_0000_0023_0001
|
|
{
|
|
ROWSETEVENT_ITEMSTATE_NOTINROWSET = 0,
|
|
ROWSETEVENT_ITEMSTATE_INROWSET = 1,
|
|
ROWSETEVENT_ITEMSTATE_UNKNOWN = 2
|
|
} ROWSETEVENT_ITEMSTATE;
|
|
|
|
typedef /* [public][public][v1_enum] */
|
|
enum __MIDL___MIDL_itf_searchapi_0000_0023_0002
|
|
{
|
|
ROWSETEVENT_TYPE_DATAEXPIRED = 0,
|
|
ROWSETEVENT_TYPE_FOREGROUNDLOST = 1,
|
|
ROWSETEVENT_TYPE_SCOPESTATISTICS = 2
|
|
} ROWSETEVENT_TYPE;
|
|
|
|
|
|
|
|
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 __IRowsetEvents_INTERFACE_DEFINED__
|
|
#define __IRowsetEvents_INTERFACE_DEFINED__
|
|
|
|
/* interface IRowsetEvents */
|
|
/* [unique][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IRowsetEvents;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("1551AEA5-5D66-4B11-86F5-D5634CB211B9")
|
|
IRowsetEvents : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE OnNewItem(
|
|
/* [in] */ __RPC__in REFPROPVARIANT itemID,
|
|
/* [in] */ ROWSETEVENT_ITEMSTATE newItemState) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE OnChangedItem(
|
|
/* [in] */ __RPC__in REFPROPVARIANT itemID,
|
|
/* [in] */ ROWSETEVENT_ITEMSTATE rowsetItemState,
|
|
/* [in] */ ROWSETEVENT_ITEMSTATE changedItemState) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE OnDeletedItem(
|
|
/* [in] */ __RPC__in REFPROPVARIANT itemID,
|
|
/* [in] */ ROWSETEVENT_ITEMSTATE deletedItemState) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE OnRowsetEvent(
|
|
/* [in] */ ROWSETEVENT_TYPE eventType,
|
|
/* [in] */ __RPC__in REFPROPVARIANT eventData) = 0;
|
|
|
|
};
|
|
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IRowsetEventsVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IRowsetEvents * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IRowsetEvents * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IRowsetEvents * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OnNewItem )(
|
|
__RPC__in IRowsetEvents * This,
|
|
/* [in] */ __RPC__in REFPROPVARIANT itemID,
|
|
/* [in] */ ROWSETEVENT_ITEMSTATE newItemState);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OnChangedItem )(
|
|
__RPC__in IRowsetEvents * This,
|
|
/* [in] */ __RPC__in REFPROPVARIANT itemID,
|
|
/* [in] */ ROWSETEVENT_ITEMSTATE rowsetItemState,
|
|
/* [in] */ ROWSETEVENT_ITEMSTATE changedItemState);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OnDeletedItem )(
|
|
__RPC__in IRowsetEvents * This,
|
|
/* [in] */ __RPC__in REFPROPVARIANT itemID,
|
|
/* [in] */ ROWSETEVENT_ITEMSTATE deletedItemState);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OnRowsetEvent )(
|
|
__RPC__in IRowsetEvents * This,
|
|
/* [in] */ ROWSETEVENT_TYPE eventType,
|
|
/* [in] */ __RPC__in REFPROPVARIANT eventData);
|
|
|
|
END_INTERFACE
|
|
} IRowsetEventsVtbl;
|
|
|
|
interface IRowsetEvents
|
|
{
|
|
CONST_VTBL struct IRowsetEventsVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IRowsetEvents_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IRowsetEvents_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IRowsetEvents_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IRowsetEvents_OnNewItem(This,itemID,newItemState) \
|
|
( (This)->lpVtbl -> OnNewItem(This,itemID,newItemState) )
|
|
|
|
#define IRowsetEvents_OnChangedItem(This,itemID,rowsetItemState,changedItemState) \
|
|
( (This)->lpVtbl -> OnChangedItem(This,itemID,rowsetItemState,changedItemState) )
|
|
|
|
#define IRowsetEvents_OnDeletedItem(This,itemID,deletedItemState) \
|
|
( (This)->lpVtbl -> OnDeletedItem(This,itemID,deletedItemState) )
|
|
|
|
#define IRowsetEvents_OnRowsetEvent(This,eventType,eventData) \
|
|
( (This)->lpVtbl -> OnRowsetEvent(This,eventType,eventData) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IRowsetEvents_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* interface __MIDL_itf_searchapi_0000_0024 */
|
|
/* [local] */
|
|
|
|
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
|
#pragma endregion
|
|
#include <winapifamily.h>
|
|
#pragma region Desktop Family
|
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0024_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0024_v0_0_s_ifspec;
|
|
|
|
#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_string LPCWSTR pszName,
|
|
/* [retval][out] */ __RPC__deref_out_opt PROPVARIANT **ppValue) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE SetParameter(
|
|
/* [string][in] */ __RPC__in_string 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_string LPCWSTR pszProxyName,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszByPassList) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetCatalog(
|
|
/* [string][in] */ __RPC__in_string 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_string 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 )(
|
|
__RPC__in ISearchManager * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchManager * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchManager * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetIndexerVersionStr )(
|
|
__RPC__in ISearchManager * This,
|
|
/* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszVersionString);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetIndexerVersion )(
|
|
__RPC__in ISearchManager * This,
|
|
/* [out] */ __RPC__out DWORD *pdwMajor,
|
|
/* [out] */ __RPC__out DWORD *pdwMinor);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetParameter )(
|
|
__RPC__in ISearchManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszName,
|
|
/* [retval][out] */ __RPC__deref_out_opt PROPVARIANT **ppValue);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *SetParameter )(
|
|
__RPC__in ISearchManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszName,
|
|
/* [in] */ __RPC__in const PROPVARIANT *pValue);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ProxyName )(
|
|
__RPC__in ISearchManager * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszProxyName);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_BypassList )(
|
|
__RPC__in ISearchManager * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszBypassList);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *SetProxy )(
|
|
__RPC__in ISearchManager * This,
|
|
/* [in] */ PROXY_ACCESS sUseProxy,
|
|
/* [in] */ BOOL fLocalByPassProxy,
|
|
/* [in] */ DWORD dwPortNumber,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszProxyName,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszByPassList);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetCatalog )(
|
|
__RPC__in ISearchManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszCatalog,
|
|
/* [retval][out] */ __RPC__deref_out_opt ISearchCatalogManager **ppCatalogManager);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserAgent )(
|
|
__RPC__in ISearchManager * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszUserAgent);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_UserAgent )(
|
|
__RPC__in ISearchManager * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszUserAgent);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_UseProxy )(
|
|
__RPC__in ISearchManager * This,
|
|
/* [retval][out] */ __RPC__out PROXY_ACCESS *pUseProxy);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_LocalBypass )(
|
|
__RPC__in ISearchManager * This,
|
|
/* [retval][out] */ __RPC__out BOOL *pfLocalBypass);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_PortNumber )(
|
|
__RPC__in 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__ */
|
|
|
|
|
|
#ifndef __ISearchManager2_INTERFACE_DEFINED__
|
|
#define __ISearchManager2_INTERFACE_DEFINED__
|
|
|
|
/* interface ISearchManager2 */
|
|
/* [unique][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_ISearchManager2;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("DBAB3F73-DB19-4A79-BFC0-A61A93886DDF")
|
|
ISearchManager2 : public ISearchManager
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE CreateCatalog(
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszCatalog,
|
|
/* [out] */ __RPC__deref_out_opt ISearchCatalogManager **ppCatalogManager) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE DeleteCatalog(
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszCatalog) = 0;
|
|
|
|
};
|
|
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct ISearchManager2Vtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchManager2 * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchManager2 * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetIndexerVersionStr )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszVersionString);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetIndexerVersion )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [out] */ __RPC__out DWORD *pdwMajor,
|
|
/* [out] */ __RPC__out DWORD *pdwMinor);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetParameter )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszName,
|
|
/* [retval][out] */ __RPC__deref_out_opt PROPVARIANT **ppValue);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *SetParameter )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszName,
|
|
/* [in] */ __RPC__in const PROPVARIANT *pValue);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ProxyName )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszProxyName);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_BypassList )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszBypassList);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *SetProxy )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [in] */ PROXY_ACCESS sUseProxy,
|
|
/* [in] */ BOOL fLocalByPassProxy,
|
|
/* [in] */ DWORD dwPortNumber,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszProxyName,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszByPassList);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetCatalog )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszCatalog,
|
|
/* [retval][out] */ __RPC__deref_out_opt ISearchCatalogManager **ppCatalogManager);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserAgent )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [string][retval][out] */ __RPC__deref_out_opt_string LPWSTR *ppszUserAgent);
|
|
|
|
/* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_UserAgent )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszUserAgent);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_UseProxy )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [retval][out] */ __RPC__out PROXY_ACCESS *pUseProxy);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_LocalBypass )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [retval][out] */ __RPC__out BOOL *pfLocalBypass);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_PortNumber )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [retval][out] */ __RPC__out DWORD *pdwPortNumber);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *CreateCatalog )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszCatalog,
|
|
/* [out] */ __RPC__deref_out_opt ISearchCatalogManager **ppCatalogManager);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *DeleteCatalog )(
|
|
__RPC__in ISearchManager2 * This,
|
|
/* [string][in] */ __RPC__in_string LPCWSTR pszCatalog);
|
|
|
|
END_INTERFACE
|
|
} ISearchManager2Vtbl;
|
|
|
|
interface ISearchManager2
|
|
{
|
|
CONST_VTBL struct ISearchManager2Vtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define ISearchManager2_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define ISearchManager2_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define ISearchManager2_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define ISearchManager2_GetIndexerVersionStr(This,ppszVersionString) \
|
|
( (This)->lpVtbl -> GetIndexerVersionStr(This,ppszVersionString) )
|
|
|
|
#define ISearchManager2_GetIndexerVersion(This,pdwMajor,pdwMinor) \
|
|
( (This)->lpVtbl -> GetIndexerVersion(This,pdwMajor,pdwMinor) )
|
|
|
|
#define ISearchManager2_GetParameter(This,pszName,ppValue) \
|
|
( (This)->lpVtbl -> GetParameter(This,pszName,ppValue) )
|
|
|
|
#define ISearchManager2_SetParameter(This,pszName,pValue) \
|
|
( (This)->lpVtbl -> SetParameter(This,pszName,pValue) )
|
|
|
|
#define ISearchManager2_get_ProxyName(This,ppszProxyName) \
|
|
( (This)->lpVtbl -> get_ProxyName(This,ppszProxyName) )
|
|
|
|
#define ISearchManager2_get_BypassList(This,ppszBypassList) \
|
|
( (This)->lpVtbl -> get_BypassList(This,ppszBypassList) )
|
|
|
|
#define ISearchManager2_SetProxy(This,sUseProxy,fLocalByPassProxy,dwPortNumber,pszProxyName,pszByPassList) \
|
|
( (This)->lpVtbl -> SetProxy(This,sUseProxy,fLocalByPassProxy,dwPortNumber,pszProxyName,pszByPassList) )
|
|
|
|
#define ISearchManager2_GetCatalog(This,pszCatalog,ppCatalogManager) \
|
|
( (This)->lpVtbl -> GetCatalog(This,pszCatalog,ppCatalogManager) )
|
|
|
|
#define ISearchManager2_get_UserAgent(This,ppszUserAgent) \
|
|
( (This)->lpVtbl -> get_UserAgent(This,ppszUserAgent) )
|
|
|
|
#define ISearchManager2_put_UserAgent(This,pszUserAgent) \
|
|
( (This)->lpVtbl -> put_UserAgent(This,pszUserAgent) )
|
|
|
|
#define ISearchManager2_get_UseProxy(This,pUseProxy) \
|
|
( (This)->lpVtbl -> get_UseProxy(This,pUseProxy) )
|
|
|
|
#define ISearchManager2_get_LocalBypass(This,pfLocalBypass) \
|
|
( (This)->lpVtbl -> get_LocalBypass(This,pfLocalBypass) )
|
|
|
|
#define ISearchManager2_get_PortNumber(This,pdwPortNumber) \
|
|
( (This)->lpVtbl -> get_PortNumber(This,pdwPortNumber) )
|
|
|
|
|
|
#define ISearchManager2_CreateCatalog(This,pszCatalog,ppCatalogManager) \
|
|
( (This)->lpVtbl -> CreateCatalog(This,pszCatalog,ppCatalogManager) )
|
|
|
|
#define ISearchManager2_DeleteCatalog(This,pszCatalog) \
|
|
( (This)->lpVtbl -> DeleteCatalog(This,pszCatalog) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __ISearchManager2_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* interface __MIDL_itf_searchapi_0000_0026 */
|
|
/* [local] */
|
|
|
|
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
|
#pragma endregion
|
|
#include <winapifamily.h>
|
|
#pragma region Desktop Family
|
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
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_0026_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0026_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 )(
|
|
__RPC__in ISearchLanguageSupport * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
_COM_Outptr_ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ISearchLanguageSupport * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ISearchLanguageSupport * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *SetDiacriticSensitivity )(
|
|
__RPC__in ISearchLanguageSupport * This,
|
|
/* [in] */ BOOL fDiacriticSensitive);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetDiacriticSensitivity )(
|
|
__RPC__in ISearchLanguageSupport * This,
|
|
/* [retval][out] */ __RPC__out BOOL *pfDiacriticSensitive);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *LoadWordBreaker )(
|
|
__RPC__in 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 )(
|
|
__RPC__in 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 )(
|
|
__RPC__in 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__ */
|
|
|
|
|
|
/* interface __MIDL_itf_searchapi_0000_0027 */
|
|
/* [local] */
|
|
|
|
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
|
#pragma endregion
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0027_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0027_v0_0_s_ifspec;
|
|
|
|
|
|
#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_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_FilterRegistration;
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class DECLSPEC_UUID("9E175B8D-F52A-11D8-B9A5-505054503030")
|
|
FilterRegistration;
|
|
#endif
|
|
#endif /* __SearchAPILib_LIBRARY_DEFINED__ */
|
|
|
|
/* interface __MIDL_itf_searchapi_0000_0028 */
|
|
/* [local] */
|
|
|
|
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
|
#pragma endregion
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0028_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_searchapi_0000_0028_v0_0_s_ifspec;
|
|
|
|
/* Additional Prototypes for ALL interfaces */
|
|
|
|
unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * );
|
|
unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * );
|
|
unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * );
|
|
void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * );
|
|
|
|
unsigned long __RPC_USER LPSAFEARRAY_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * );
|
|
unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * );
|
|
unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * );
|
|
void __RPC_USER LPSAFEARRAY_UserFree( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * );
|
|
|
|
unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * );
|
|
unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * );
|
|
unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * );
|
|
void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * );
|
|
|
|
unsigned long __RPC_USER LPSAFEARRAY_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * );
|
|
unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * );
|
|
unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * );
|
|
void __RPC_USER LPSAFEARRAY_UserFree64( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * );
|
|
|
|
/* [local] */ HRESULT STDMETHODCALLTYPE ISearchCrawlScopeManager2_GetVersion_Proxy(
|
|
ISearchCrawlScopeManager2 * This,
|
|
/* [out] */ long **plVersion,
|
|
/* [out] */ HANDLE *phFileMapping);
|
|
|
|
|
|
/* [call_as] */ HRESULT STDMETHODCALLTYPE ISearchCrawlScopeManager2_GetVersion_Stub(
|
|
__RPC__in ISearchCrawlScopeManager2 * This,
|
|
/* [out] */ __RPC__out long *plVersion);
|
|
|
|
|
|
|
|
/* end of Additional Prototypes */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|