ITcSmEnumTreeItem::Next

Returns up to celt additional Tree Items from the enumeration. The caller provides an array for rgVar and receives the actual number of items delivered via pCeltFetched.

Signature

HRESULT Next(ULONG celt, ITcSmTreeItem** rgVar, ULONG* pCeltFetched);

Parameter

Name

Type

Description

celt

ULONG

[in] Maximum number of items to be delivered.

Return value

Name

Type

Description

rgVar

ITcSmTreeItem**

[out, size_is(celt), length_is(*pCeltFetched)] Returned Tree Items.

pCeltFetched

ULONG*

[out] Number of items actually delivered.

(HRESULT)

HRESULT

S_OK if successful, S_FALSE at the end of the enumeration; otherwise, an error code.