ICoreFragment::GetRangeCount method (winsync.h)

Gets the number of ranges that are contained in this knowledge fragment.

Syntax

HRESULT GetRangeCount(
  [out] DWORD *pRangeCount
);

Parameters

[out] pRangeCount

Returns the number of ranges that are contained in this knowledge fragment.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
Invalid pointer.

Remarks

An ICoreFragment object contains one or more ranges. Each range specifies a set of item IDs and a clock vector that defines what is known about the items in the range.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

ICoreFragment Interface