ISimilarityTraitsTable::FindSimilarFileIndex method

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,
  [out] FindSimilarFileIndexResults *findSimilarFileIndexResults,
  [in]  DWORD                       resultsSize,
  [out] DWORD                       *resultsUsed
);

Parameters

similarityData [in]

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

findSimilarFileIndexResults [out]

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

resultsSize [in]

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

resultsUsed [out]

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

MsRdc.h

IDL

MsRdc.idl

DLL

MsRdc.dll

See also

ISimilarityTraitsTable

 

 

Show: