ISimilarity::FindSimilarFileId method

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

Syntax


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

Parameters

similarityData [in]

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

resultsSize [in]

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

findSimilarResults [out, optional]

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

MsRdc.h

IDL

MsRdc.idl

DLL

MsRdc.dll

See also

ISimilarity

 

 

Show: