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.
Indicates the kind of change affecting an item when a source sink notifies a client that an item has been changed.
Syntax
typedef enum _SEARCH_KIND_OF_CHANGE {
SEARCH_CHANGE_ADD = 0,
SEARCH_CHANGE_DELETE = 1,
SEARCH_CHANGE_MODIFY = 2,
SEARCH_CHANGE_MOVE_RENAME = 3,
SEARCH_CHANGE_SEMANTICS_DIRECTORY = 0x40000,
SEARCH_CHANGE_SEMANTICS_SHALLOW = 0x80000,
SEARCH_CHANGE_SEMANTICS_UPDATE_SECURITY = 0x400000
} SEARCH_KIND_OF_CHANGE;
Constants
SEARCH_CHANGE_ADDValue: 0 An item was added. |
SEARCH_CHANGE_DELETEValue: 1 An item was deleted. |
SEARCH_CHANGE_MODIFYValue: 2 An item was modified. |
SEARCH_CHANGE_MOVE_RENAMEValue: 3 An item was moved or renamed. Not currently supported for use with ISearchPersistentItemsChangedSink::OnItemsChanged. |
SEARCH_CHANGE_SEMANTICS_DIRECTORYValue: 0x40000 An item is a directory. The item needs to be crawled rather than just reindexed as a document would be. |
SEARCH_CHANGE_SEMANTICS_SHALLOWValue: 0x80000 Index directory properties were changed for an item. |
SEARCH_CHANGE_SEMANTICS_UPDATE_SECURITYValue: 0x400000 Security on an item was changed. |
Remarks
SEARCH_CHANGE_ADD, SEARCH_CHANGE_DELETE, and SEARCH_CHANGE_MODIFY are mutually exclusive. Only one of them can be used at a time. However, any one of them can be combined with the remaining flags.
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 |
See also
INLINE_NOTIFY_DATA_CHANGE_ENTRY
Reference