API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ITMFLOADER_GETVALUE()

Brew Release
Brew MP 1.0.2
See Also
ITMFLOADER_GetValues
Description
Returns the value that corresponds to a TMF setting.
Params
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
Comments
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.