ITcPlcLibraryManager::SetEffectiveResolution
Sets the RedirectedResolution (effective resolution) of a placeholder.
Signature
HRESULT SetEffectiveResolution([in] BSTR bstrPlaceholderName, [in] BSTR bstrLibName, [in, defaultvalue(L"")] BSTR bstrVersion, [in, defaultvalue(L"")] BSTR bstrDistributor);
Parameter
|
Name |
Type |
Description |
|---|---|---|
|
bstrPlaceholderName |
BSTR |
[in] Name of the placeholder. |
|
bstrLibName |
BSTR |
[in] Library to be resolved. |
|
bstrVersion |
BSTR |
[in, defaultvalue("")] Version. |
|
bstrDistributor |
BSTR |
[in, defaultvalue("")] Distributor. |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
(HRESULT) |
HRESULT |
|
Error codes
-
DanglingAdapterException: Adapter not connected. -
ArgumentException: Name is empty. -
AutomationException(…, E_FAIL): Placeholder not found.