Next Topic

Previous Topic

Book Contents

SetValue

bool SetValue(string sValueName,string sString)

Return values

Non zero if the function is successful; otherwise 0, and a error description can be retrieved by calling GetErrorDescription().

Parameters

  • sValueName - Name of value to write.
  • sString - String to be written to the value.
  • iSize - Size of data to write, in bytes.

Remarks

The function writes the specified string to the value. If the value does not exist this function will fail.