SEARCH_KIND_OF_CHANGE Enumerated Type

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 = 0x0000,
    SEARCH_CHANGE_DELETE = 0x0001,
    SEARCH_CHANGE_MODIFY = 0x0002,
    SEARCH_CHANGE_MOVE_RENAME = 0x0003,
    SEARCH_CHANGE_SEMANTICS_DIRECTORY = 0x40000,
    SEARCH_CHANGE_SEMANTICS_SHALLOW = 0x80000,
    SEARCH_CHANGE_SEMANTICS_UPDATE_SECURITY = 0x400000
} SEARCH_KIND_OF_CHANGE;

Constants

  • SEARCH_CHANGE_ADD
    An item was added.

  • SEARCH_CHANGE_DELETE
    An item was deleted.

  • SEARCH_CHANGE_MODIFY
    An item was modified.

  • SEARCH_CHANGE_MOVE_RENAME
    An item was moved or renamed.

  • SEARCH_CHANGE_SEMANTICS_DIRECTORY
    An item is a directory. The item needs to be crawled rather than just reindexed as a document would be.

  • SEARCH_CHANGE_SEMANTICS_SHALLOW
    Index directory properties were changed for an item.

  • SEARCH_CHANGE_SEMANTICS_UPDATE_SECURITY
    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, they can be combined with the remaining flags.

Enumerated Type Information

Header searchapi.h
Minimum operating systems Windows XP Service Pack 2 (SP2) with Windows Desktop Search (WDS) 3.0, Windows Server 2003, Windows Vista

See Also

SEARCH_ITEM_CHANGE, INLINE_NOTIFY_DATA_CHANGE_ENTRY