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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for