Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains information about the kind of change that has occurred in an item to be indexed. This structure is used with the ISearchPersistentItemsChangedSink::OnItemsChanged method 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
Type: SEARCH_KIND_OF_CHANGE
A value from the SEARCH_KIND_OF_CHANGE enumerated type that indicates the kind of change.
URL
Type: LPWSTR
Pointer to a null-terminated Unicode string containing the URL of the item in a SEARCH_CHANGE_ADD, SEARCH_CHANGE_MODIFY, or SEARCH_CHANGE_DELETE notification. In the case of a move, this member contains the new URL of the item.
OldURL
Priority
Type: SEARCH_NOTIFICATION_PRIORITY
A value from the SEARCH_NOTIFICATION_PRIORITY enumerated type that indicates the priority of the change.
Remarks
SEARCH_CHANGE_MOVE_RENAME is not supported for use with ISearchPersistentItemsChangedSink::OnItemsChanged.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | searchapi.h |
Redistributable | Windows Desktop Search (WDS) 3.0 |