ISimilarityFileIdTable::Lookup method (msrdc.h)

Retrieves the file ID that corresponds to a given file index in the similarity file ID table.

Syntax

HRESULT Lookup(
  [in]  SimilarityFileIndexT similarityFileIndex,
  [out] SimilarityFileId     *similarityFileId
);

Parameters

[in] similarityFileIndex

The file index that was previously returned for the file ID by the ISimilarityFileIdTable::Append method.

[out] similarityFileId

A pointer to a variable that receives the file ID. If the file has been marked as not valid, the file ID receives zero.

Return value

Returns S_OK on success, or an error HRESULT on failure.

This method can also return the following error code.

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

ISimilarityFileIdTable