The parameters name and id defines uniquely an object. One
of them is required. If the parameter name is used, then id
must equal to zero. Current value and status of defined object together
with other information is returned in the structure data. If a
value of the object is Text, Array or Structure
types, the allocated memory for a value must be freed using the function FreeData.