beckhoff TE1000 TwinCAT 3 — 5.35 ITcLicenseInfoCollection

API | ITcLicenseInfoCollection 5.34.1.1 ITcLicenseManager::QueryLicenses | ITcLicenseManager::QueryLicenses Creates a ITcEnumLicenses enumerator over the currently held license descriptors. Each descriptor is provided as a ITcLicenseDesc . Signature HRESULT QueryLicenses(ITcEnumLicenses** ppunkEnum); Parameter (none) Return value Error codes E_POINTER : ppunkEnum is NULL . E_OUTOFMEMORY : The memory for the interfaces to be enumerated could not be created. 5.34.2 ITcLicenseManager2 | ITcLicenseManager2 Inherits from: ITcLicenseManager ITcLicenseManager2 extends enumerator-based access by providing a collection with count, item, and lookup functionality.

For typical automation clients, this approach is usually more convenient than working directly with ITcEnumLicenses. Properties Methods (none) 5.35 ITcLicenseInfoCollection | ITcLicenseInfoCollection ITcLicenseInfoCollection is the collection for the relationship entries from ITcLicenseDesc2 ( LicensesContained , LicensesRequired , LicenseAlternatives ). It provides a count, indexed access, and enumeration over the currently stored relationship entries. Chain of inheritance ITcLicenseInfoCollection TE1000 142 Version: 1.7.0 Name Type Description ppunkEnum ITcEnumLicenses** [out, retval] Enumerator over all loaded license descriptors.

(HRESULT) HRESULT S OK if successful, otherwise an error code. _ Property Type get/set Description Licenses ITcLicenseDescCollection [} 144]** get Generates a ITcLicenseDescColle ction using the same license data source as ITcLicenseManager:: QueryLicenses.