ITcModuleInstance::GetTypeOfModulePara
The system searches for the parameter in the parameter list and retrieves the corresponding type as an ITcTypeInstance. For process images, the supported parameters are mapped to UDINT or OTCID, and these types are looked up in the type system.
Signature
HRESULT GetTypeOfModulePara(ULONG pid, ITcTypeInstance** pipType);
Parameter
Name | Type | Description |
|---|---|---|
pid | ULONG | [in] Parameter ID. |
Return value
Name | Type | Description |
|---|---|---|
pipType | [out, retval] Parameter type description. | |
(HRESULT) | HRESULT |
|
Error codes
-
ADS_E_INVALIDOFFSET: The parameter ID has no known type. -
E_NOTIMPL: Type access is not supported for this element type.