ISimilarity::FindSimilarFileId method (msrdc.h)
Returns a list of files that are similar to a given file.
HRESULT FindSimilarFileId(
[in] SimilarityData *similarityData,
USHORT numberOfMatchesRequired,
[in] DWORD resultsSize,
[out, optional] IFindSimilarResults **findSimilarResults
);
[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.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The file IDs that are returned in the findSimilarResults parameter may include IDs of files that have been deleted.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | msrdc.h |
DLL | MsRdc.dll |