ISimilarityFileIdTable::Invalidate method (msrdc.h)

Marks a file ID as not valid in the similarity file ID table.

This method should be called for files that have been deleted or are otherwise no longer available.

Syntax

HRESULT Invalidate(
  [in] SimilarityFileIndexT similarityFileIndex
);

Parameters

[in] similarityFileIndex

The index of the file ID's entry in the similarity file ID table.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The file ID is marked as not valid by setting the contents of the corresponding SimilarityFileId structure to all zeros. A file ID that is marked as not valid will not be included in the results that are returned by the ISimilarity::FindSimilarFileId method.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header msrdc.h
DLL MsRdc.dll

See also

ISimilarityFileIdTable