ChangeAdviseCodes enumeration

[Windows Search 2.x is available for use in the operating system specified in the Requirements section. It might be altered or unavailable in later versions. Use the Windows Search API instead.]

Provides a set of flags to be used with IGatherNotify to indicate the kind of changes to the items as well as file moves.

Syntax

typedef enum tagATTACHMENT_ACTION { 
  GTHR_CA_ADD                   = 0x0000,
  GTHR_CA_DELETE                = 0x0001,
  GTHR_CA_Modify                = 0x0002,
  GTHR_CA_Move_Rename           = 0x0003,
  GTHR_CA_Action_Mask           = 0xFFFF,
  GTHR_CA_SEMANTICS_WILDCARD    = 0x1000,
  GTHR_CA_SEMANTICS_CHECKPOINT  = 0x2000,
  GTHR_CA_SEMANTICS_DIRECTORY   = 0x4000,
  GTHR_CA_SEMANTICS_SHALLOW     = 0x8000,
  GTHR_CA_SEMANTICS_MASK        = 0xFFFF0000
} ChangeAdviseCodes;

Constants

  • GTHR_CA_ADD
    An item has been added.

  • GTHR_CA_DELETE
    An Item has been deleted.

  • GTHR_CA_Modify
    An Item has been modified.

  • GTHR_CA_Move_Rename
    An Item has been moved or renamed. Note, this should not be used, as the URL will not be updated on a move or rename. It is suggested that the URL be deleted and then added with the new URL.

  • GTHR_CA_Action_Mask
    Action mask.

  • GTHR_CA_SEMANTICS_WILDCARD

  • GTHR_CA_SEMANTICS_CHECKPOINT

  • GTHR_CA_SEMANTICS_DIRECTORY

  • GTHR_CA_SEMANTICS_SHALLOW

  • GTHR_CA_SEMANTICS_MASK

Requirements

Header

SearchAPI.h

IDL

SearchAPI.idl