Export (0) Print
Expand All

SEARCH_ITEM_PERSISTENT_CHANGE structure

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;
  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.

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

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Searchapi.h

IDL

Searchnotifications.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft