ProcUnit::SetUnitTitle

Sets title name of a processing unit

int SetUnitTitle(
   TCHAR        *unitTitle
)

Parameters
*unitTitle
Pointer to the string for storing the processing unit title name

Return Value
Returns 0 when the processing unit title name is successfully set.
Otherwise returns a non-zero value.

Description
Sets the processing unit title name of the relevant processing item.

Example
   int Sample::SetUnitData(ProcUnit *ptrProcUnit, int dataNo, ANYTYPE *data)
    {

        // Set the title name

        ptrProcUnit->SetUnitTitle(_T("processing-item-title-name"));
    }