ISimilarity::FindSimilarFileId method (msrdc.h)

Returns a list of files that are similar to a given file.

Syntax

HRESULT FindSimilarFileId(
  [in]            SimilarityData      *similarityData,
                  USHORT              numberOfMatchesRequired,
  [in]            DWORD               resultsSize,
  [out, optional] IFindSimilarResults **findSimilarResults
);

Parameters

[in] similarityData

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

numberOfMatchesRequired

TBD

[in] resultsSize

The number of file IDs that can be stored in the IFindSimilarResults object that the findSimilarResults parameter points to.

[out, optional] findSimilarResults

A pointer to a location that will receive the returned IFindSimilarResults interface pointer. The caller must release this interface when it is no longer needed.

Return value

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

Remarks

The file IDs that are returned in the findSimilarResults parameter may include IDs of 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

ISimilarity