SEARCH_ITEM_PERSISTENT_CHANGE Structure
This structure is used to hold information with regards to the kind of change that has occurred on an item to be indexed. This is used with the ISearchPersistentItemsChangedSink::OnItemsChanged to pass information to the indexer about what has changed.
Syntax
typedef struct _SEARCH_ITEM_PERSISTENT_CHANGE { SEARCH_KIND_OF_CHANGE Change; LPWSTR URL; LPWSTR OldURL; SEARCH_NOTIFICATION_PRIORITY Priority; } SEARCH_ITEM_PERSISTENT_CHANGE;
Members
- Change
A value from the SEARCH_KIND_OF_CHANGE enumeration that notes the change.- URL
A URL that points to the item being indexed. In the case of a move, the new address of the item.- OldURL
This URL is only used for moves to show where the item moved from. If not used, should be set to NULL.- Priority
An SEARCH_NOTIFICATION_PRIORITY value that notes the priority of the change.
Structure Information
Header and IDL files searchapi.h, searchnotifications.idl Minimum operating systems Windows XP Service Pack 2 (SP2) with Windows Desktop Search (WDS) 3.0, Windows Server 2003, Windows Vista