Sets configuration properties for the client application and marks the properties' changes as permanent (to eventually write the changes to config file by calling CommitClientPropertySettings). The function is similar to SetClientPropertyEx (called with PROP_EX_TARGET_CLIENT as the target), except that this also marks the change as permanent.
- static int SetClientPropertyExPermanent(int property, int value_type, void* pvalue)
Which property to modify. See Speech Port Properties for list of properties.
The value type of the property being set.Legal values are:
Each property has a set of legal set of value types. See Speech Port Properties for value types available for each property.
A pointer to the new value for the property specified. pvalue will be reinterpreted according to the value_type provided.
No errors. Property was set to specified value
The port is not valid (either CreateClient has not been called or DestroyClient has been called prior to this call).
The value is invalid for the designated property (e.g. out of range).
The property's type is incompatible with the declared type.
The property does not exist.
An exception occurred while processing the request.
This function is available in versions 10.4 or later. CommitClientPropertySettings must be called along with this function, but it only needs to be called once during the program, since it serves to commit the changes made by all previous calls of this function.