Developer

API Reference

ITMFLOADER_GetValue()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
See Also
ITMFLOADER_GetValues
Description
Returns the value that corresponds to a TMF setting.
Parameters
  • po
    []:
    [in] Pointer to the ITMFLoader interface object
  • name
    []:
    [in] The name of the TMF setting for which to find the value
  • value
    []:
    [out] Will be set to point at a string that corresponds to the TMF setting value
Interface
Prototype
   int ITMFLOADER_GetValue(ITMFLoader * po, const char * name, const char ** value)
Return
SUCCESS: If the TMF settings is found BREW Error code otherwise
Comment
If there are multiple settings in the TMF file with the same name, such as 'trigbar', it is better to use the ITMFLOADER_GetValues method.
The string value returned is raw, therefore if there are UTF8 encodings outside the ASCII range it is the callers responsibility to convert the string to a wide string.
  • Follow