Sets a streaming property to its default value.
- int LV_SRE_StreamSetParameterToDefault(HPORT hport, const char* StreamParameter)
The port's handle.
The stream parameter to reset to default. See available Stream Properties.
Note that in version 10.5, this parameter changed from an int to a const char *, which was to optimize the code internally. This should have minimal effect on users, except to require a recompilation of any code linking to the API when making this transition. Specifically, the defines that can be used in this parameter value were changed in the definition to accommodate this.
No errors; parameter changed correctly.
The specified parameter does not exist.
The input hport is not a valid one.
The operation failed because the port was shutting down.
An exception occurred while processing the request.