ISimilarityTraitsTable::FindSimilarFileIndex method (msrdc.h)

Returns a list of files that are similar to a given file. The results in the list are sorted in order of similarity, beginning with the most similar file.

Syntax

HRESULT FindSimilarFileIndex(
  [in]  SimilarityData              *similarityData,
        USHORT                      numberOfMatchesRequired,
  [out] FindSimilarFileIndexResults *findSimilarFileIndexResults,
  [in]  DWORD                       resultsSize,
  [out] DWORD                       *resultsUsed
);

Parameters

[in] similarityData

A pointer to a SimilarityData structure that contains similarity information for the file.

numberOfMatchesRequired

TBD

[out] findSimilarFileIndexResults

A pointer to a buffer that receives an array of FindSimilarFileIndexResults structures that contain the requested information.

[in] resultsSize

The number of FindSimilarFileIndexResults structures that can be stored in the buffer that the findSimilarFileIndexResults parameter points to.

[out] resultsUsed

The number of FindSimilarFileIndexResults structures that were returned in the buffer that the findSimilarFileIndexResults parameter points to.

Return value

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

Remarks

The list of files that is returned in the findSimilarFileIndexResults parameter may include files that have been deleted.

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

ISimilarityTraitsTable