Next Topic

Previous Topic

Book Contents

UpdateItem

bool UpdateItem(string sName,string Key,string Data=NULL,int iSize=0)

Return values

Non zero if the function is successful; otherwise 0.

Parameters

  • sName - Unique name of the item, an item with this name must already exist.
  • sKey - Key name of the item, a key with name must already exist.
  • sData - Optional data that will be associated with the item, the data will replace the current data stored in the item (if any).
  • iSize - Size of the data, only needed if data is supplied with function.

Remarks

The function updates an already created item, if the item/key combination does not exist this function will fail.