Function vaal_sys::vaal_parameter_gets
source · pub unsafe extern "C" fn vaal_parameter_gets(
context: *mut VAALContext,
name: *const c_char,
value: *mut c_char,
max_value: usize,
length: *mut usize
) -> VAALErrorExpand description
Reads the current value as a string for the parameter into the user provided string buffer. It can be called with max_value of 0 or value of NULL to query the required storage size. If length is non-NULL then the total size of the string representation will be stored, even if the actual result was truncated.
@param context @param name Parameter name as found using @ref vaal_parameter_query @param value Buffer to receive the string representation of the value @param max_value Size of the value buffer @param length Total length of the string representation of the value
@return VAALError
@since 1.0