API | ITcEnumLicenses 5.42.1 ITcEnumLicenses | ITcEnumLicenses ITcEnumLicenses is the typed COM enumerator for ITcLicenseDesc [ } 147] objects. It returns the currently known license descriptors as a sequence of ITcLicenseDesc [ } 147] objects. Methods 5.42.1.1 ITcEnumLicenses::Clone | ITcEnumLicenses::Clone Creates a second enumerator that operates on the same snapshot and starts at the same current position as the original enumerator. Signature HRESULT Clone(ITcEnumLicenses** ppEnum); Parameter (none) Return value 5.42.1.2 ITcEnumLicenses::Next | ITcEnumLicenses::Next Reads up to celt entries from the snapshot of loaded license descriptors generated by QueryLicenses() .
As is typical for COM enumerators, S_FALSE may be returned if fewer than celt elements are available. Signature HRESULT Next(ULONG celt, ITcLicenseDesc** rgpITcLicenseDesc, ULONG* pCeltFetched); Parameter Return value TE1000 154 Version: 1.7.0 Method Description Next Reads the next license descriptors starting 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 ppEnum ITcEnumLicenses [} 153]** [out] Cloned enumerator with the same progress state. (HRESULT) HRESULT S OK if successful, otherwise an error code.
_ Name Type Description celt ULONG [in] Maximum number of entries to request. Name Type Description rgpITcLicenseDesc ITcLicenseDesc [} 147]** [out, size is(celt), length is(*pCeltFetched)] Returned _ _ license descriptors. pCeltFetched ULONG* [out] Actual number of entries delivered. (HRESULT) HRESULT S OK if successful, otherwise an error code. _