ProcUnit::SaveData

Save processing unit data

int SaveData(
    SaveInfo *ptrSaveInfo
)

Parameters
*ptrSaveInfo
Pointer to save data information storing area

Return Value
Returns 0 when the processing unit data is successfully saved.
Otherwise returns a non-zero value.

Description
Save processing unit data.

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

        SaveInfo *ptrSaveInfo = NULL;

        // Save processing unit data

        ptrProcUnit->SaveData(ptrSaveInfo);

    }