API | ITcTypeSystem Signature HRESULT LookupType(GUID guid, ITcTypeInstance** pipType); Parameter Return value Error codes E_POINTER : pipType is NULL . ADS_E_NOTFOUND : There is no type with this GUID in the type system. 5.8.1.4 ITcTypeSystem::_NewEnum | ITcTypeSystem::_NewEnum Creates a COM enumerator over the data types currently registered in the type system. An IEnumVARIANT is created from a snapshot of the registered data types. Each element is added as an IDispatch - compatible type instance. In C#, the method is available via GetEnumerator . Signature HRESULT _NewEnum(IUnknown** ppunkEnum); Parameter (none) Return value Error codes E_POINTER : ppunkEnum is NULL . E_OUTOFMEMORY :
The enumerator could not be created. 5.8.2 ITcTypeSystem2 | ITcTypeSystem2 Inherits from: ITcTypeSystem ITcTypeSystem2 adds support for generating unregistered temporary type instances, optional alignment checks, and importing from .tmc files. Methods TE1000 75 Version: 1.7.0 Name Type Description guid GUID [in] Sought-after type GUID. Name Type Description pipType ITcTypeInstance [} 77]** [out, retval] Data type found. (HRESULT) HRESULT S OK if successful, otherwise an error code. _ Name Type Description ppunkEnum IUnknown** [out, retval] Enumerator that can be used as an IEnumVARIANT via QueryInterface. (HRESULT) HRESULT S OK if successful, otherwise an error code.
_ Method Description CreateAlignedDataType Creates a temporary type and checks or corrects its alignment.