SEARCH_ITEM_CHANGE structure (searchapi.h)

Specifies the changes to an indexed item.

Syntax

typedef struct _SEARCH_ITEM_CHANGE {
  SEARCH_KIND_OF_CHANGE        Change;
  SEARCH_NOTIFICATION_PRIORITY Priority;
  BLOB                         *pUserData;
  LPWSTR                       lpwszURL;
  LPWSTR                       lpwszOldURL;
} SEARCH_ITEM_CHANGE;

Members

Change

Type: SEARCH_KIND_OF_CHANGE

Flag that specifies the kind of change as a value from the SEARCH_KIND_OF_CHANGE enumerated type.

Priority

Type: SEARCH_NOTIFICATION_PRIORITY

Flag that specifies the priority of processing this change as a value from the SEARCH_NOTIFICATION_PRIORITY enumerated type.

pUserData

Type: BLOB*

Pointer to user information.

lpwszURL

Type: LPWSTR

Pointer to a null-terminated Unicode string containing the URL of the item in a SEARCH_CHANGE_MOVE_RENAME, SEARCH_CHANGE_ADD, or SEARCH_CHANGE_MODIFY notification. In the case of a move, this member contains the new URL of the item.

lpwszOldURL

Type: LPWSTR

Pointer to a null-terminated Unicode string containing the old URL of the item in a SEARCH_CHANGE_MOVE_RENAME or SEARCH_CHANGE_DELETE notification.

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