Share via


ISearchPersistentItemsChangedSink::OnItemsChanged Method

Notifies the indexer to index changed items.

Syntax

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

Parameters

  • dwNumberOfChanges
    [in]  The number of changes being reported.
  • DataChangeEntries
    [in]  An array of structures of type SEARCH_ITEM_PERSISTENT_CHANGE identifying the details for each change.
  • hrCompletionCodes
    [out]  Indicates whether each URL was accepted for indexing.

Return Value

Returns S_OK if successful, or an error value otherwise.