ITcModuleInstance

Expanded by: ITcModuleInstance2

ITcModuleInstance is the native basic interface for TCom module instances. Module instances provide full parameter access, XML import/export, and type lookup; process images and fieldbus boxes provide only a subset of these features.

Properties

Property

Type

get/set

Description

ClassID

CTCID*

get

Class ID of the module.

ParentOID

ULONG*

get

Object ID of the parent object.

OID

ULONG*

get

Object ID of the module instance.

Methods

Method

Description

ExportXml

Exports the module instance as XML.

ImportXml

Imports XML into the module instance.

GetModulePara

Reads a module parameter as VARIANT.

SetModulePara

Writes a module parameter from a VARIANT.

GetModuleParaDWORD

Reads a small module parameter as ULONG.

SetModuleParaDWORD

Writes a small module parameter as ULONG.

GetTypeOfModulePara

Returns the Automation Interface type of a module parameter.