IFindSimilarResults::GetSize method (msrdc.h)

Retrieves the number of entries in the file list that was returned by the ISimilarity::FindSimilarFileId method.

The actual number of similarity file IDs that are returned by the GetNextFileId method may be less than the number that is returned by the GetSize method. GetNextFileId returns only valid similarity file IDs. However, GetSize counts all entries, even if their similarity file IDs are not valid.

Syntax

HRESULT GetSize(
  [out] DWORD *size
);

Parameters

[out] size

A pointer to a variable that receives the number of entries in the file list.

Return value

This method always returns S_OK.

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

IFindSimilarResults