Next Topic

Previous Topic

Book Contents

ReadValue

bool ReadValue(string sValueName,int &iData)

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 retrieve.
  • iData - Data returned by the function.

Remarks

The function returns the data of the value with the specified name. If the value type is not a integer this function will fail.