ISearchPersistentItemsChangedSink::OnItemsChanged method (searchapi.h)

Notifies the indexer to index changed items.

Syntax

HRESULT OnItemsChanged(
  [in]  DWORD                            dwNumberOfChanges,
  [in]  SEARCH_ITEM_PERSISTENT_CHANGE [] DataChangeEntries,
  [out] HRESULT []                       hrCompletionCodes
);

Parameters

[in] dwNumberOfChanges

Type: DWORD

The number of changes being reported.

[in] DataChangeEntries

Type: SEARCH_ITEM_PERSISTENT_CHANGE[]

An array of structures of type SEARCH_ITEM_PERSISTENT_CHANGE identifying the details for each change.

[out] hrCompletionCodes

Type: HRESULT[]

Indicates whether each URL was accepted for indexing.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header searchapi.h
Redistributable Windows Desktop Search (WDS) 3.0