API | ITcEnumModuleInstances 5.41.1 ITcEnumModuleInstances | ITcEnumModuleInstances ITcEnumModuleInstances is the typed COM enumerator for ITcModuleInstance2 [ } 140] objects. It returns a snapshot of all module instances whose ModuleTypeName matches the specified type name, regardless of case. Methods 5.41.1.1 ITcEnumModuleInstances::Next | 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 Return value 5.41.1.2 ITcEnumModuleInstances::Reset | ITcEnumModuleInstances::Reset Resets the enumerator's read position to the beginning of the snapshot. Signature HRESULT Reset(); Parameter (none) Return value TE1000 152 Version: 1.7.0 Method Description Next Reads the next module instances from the current enumerator position. Skip Skips a specified number of entries. Reset Resets the enumerator to the beginning. Clone Creates a second enumerator with the same progress state. Name Type Description celt ULONG [in] Maximum number of entries to request.
Name Type Description ppLibrary ITcModuleInstance2 [} 140]** [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. _ Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _