beckhoff TE1000 TwinCAT 3 — 5.4.1.2 ITcRemoteManager::GetComponentVersions

API | ITcRemoteManager Methods 5.4.1.1 ITcRemoteManager::GetComponentVersion | ITcRemoteManager::GetComponentVersion Reads the currently loaded version of a specified component. Signature HRESULT GetComponentVersion([in] BSTR bstrComponent, [out, retval] BSTR* bstrVersion); Parameter Return value Error codes E_POINTER : bstrVersion is NULL . E_NOT_VALID_STATE : No component host is registered. See also SetComponentVersion GetComponentVersions 5.4.1.2 ITcRemoteManager::GetComponentVersions | ITcRemoteManager::GetComponentVersions Returns all available versions of a specified component as SAFEARRAY of BSTR .

Signature HRESULT GetComponentVersions([in] BSTR bstrComponent, [out, retval] SAFEARRAY(BSTR)* pVersions); TE1000 67 Version: 1.7.0 Property Type get/set Description Versions SAFEARRAY(BSTR) get Available versions of the base component. Abbreviation for the "Base" component; corresponds to GetComponentVersion s with an empty component name. Method Description SetComponentVersion [} 68] Sets the version of a specified component to be loaded. GetComponentVersion [} 68] Reads the currently loaded version of a specified component. GetComponentVersions [} 67] Returns all available versions of a specified component. Name Type Description bstrComponent BSTR [in] Component name.

Empty or "Base" is addressed to the System Manager. Name Type Description bstrVersion BSTR* [out, retval] Currently loaded version. (HRESULT) HRESULT S OK if successful, otherwise an error code. _