ITcEnumModuleInstances::Next

Reads up to celt entries from the enumerator snapshot. As is typical for COM enumerators, S_FALSE may be returned if fewer than celt elements are available.

Signature

HRESULT Next(ULONG celt, ITcModuleInstance2** ppLibrary, ULONG* pCeltFetched);

Parameter

Name

Type

Description

celt

ULONG

[in] Maximum number of entries to request.

Return value

Name

Type

Description

ppLibrary

ITcModuleInstance2**

[out, size_is(celt), length_is(*pCeltFetched)] Returned module instances.

pCeltFetched

ULONG*

[out] Actual number of entries delivered.

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.