Skip to content

Latest commit

 

History

History
88 lines (57 loc) · 2.14 KB

-search-2x-igathernotify-ondatamove.md

File metadata and controls

88 lines (57 loc) · 2.14 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
IGatherNotify OnDataMove (Deprecated) method
This Windows Desktop Search interface topic is deprecated and is superseded by the Windows Search ISearchPersistentItemsChangedSink API in the Windows SDK. | IGatherNotify OnDataMove (Deprecated) method
cc223d0f-6508-4e38-b365-c60660db5324
OnDataMove (Deprecated) method Legacy Windows Environment Features
OnDataMove (Deprecated) method Legacy Windows Environment Features , IGatherNotify interface
IGatherNotify interface Legacy Windows Environment Features , OnDataMove (Deprecated) method
apiref
IGatherNotify.OnDataMove (Deprecated)
COM
reference
05/31/2018

IGatherNotify::OnDataMove (Deprecated) method

[OnDataMove may be altered or unavailable in subsequent versions of the operating system or product.]

This Windows Desktop Search interface topic is deprecated and is superseded by the Windows Search ISearchPersistentItemsChangedSink API in the Windows SDK.

This method notifies the indexer of data that has been moved. When it sends the notification to the indexer, it includes the old address, new address, and logical address.

Syntax

void OnDataMove (Deprecated)(
  [in] long eChangeAdviseSemantics,
  [in] BSTR bstrOldAddress,
  [in] BSTR bstrNewAddress,
  [in] BSTR bstrLogicalAddress
);

Parameters

eChangeAdviseSemantics [in]

Type: long

An enumerated parameter that describes the type of move that occurred.

bstrOldAddress [in]

Type: BSTR

The old address of the item that moved. For normal files,eChangeAdviseSematics is NULL. For a folder or directory, seteChangeAdviseSematicsto GTHR_CA_SEMANTICS_DIRECTORY.

bstrNewAddress [in]

Type: BSTR

The new address of the item that moved.

bstrLogicalAddress [in]

Type: BSTR

The logical address of the item that moved.

Return value

This method does not return a value.