ProcUnit::AssignInnerUnit

Registers inner processing unit

int AssignInnerUnit(
   int          innerUnitNo,
   TCHAR                *itemIdent
);

Parameters
innerUnitNo
Processing unit number to be registered
*itemIdent
Processing item identification string to be registered

Return Value
Returns 0 when a inner processing unit is successfully registered.
Otherwise returns a non-zero value.

Description
Registers the processing item indicated by the processing item identification string passed as the second argument with the processing unit number specified by the first argument.

Example
   int Sample::AssingProc(ProcUnit *ptrProcUnit)
    {

        // Register a search processing item with the processing unit No. 0

        ptrProcUnit->AssignInnerUnit(0, "Search");

        // Register a scroll processing item with the processing unit No. 1

        ptrProcUnit->AssignInnerUnit(1, "Scroll");
    }