ITcPlcLibraryManager::InstallLibrary

Installs a .library file into a registered repository.

Signature

HRESULT InstallLibrary([in] BSTR bstrRepositoryName, [in] BSTR bstrLibPath, [in] VARIANT_BOOL bOverwrite);

Parameter

Name

Type

Description

bstrRepositoryName

BSTR

[in] Name of the target repository.

bstrLibPath

BSTR

[in] Path to the .library file.

bOverwrite

VARIANT_BOOL

[in] VARIANT_TRUE overwrites an existing library.

Return value

Name

Type

Description

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes