Gets the current value of a stream property.
- int LV_SRE_StreamGetParameter(HPORT hport, const char* StreamParameter, unsigned int* StreamParameterValue)
The port's handle.
The stream property to view its current value. 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.
A container to hold the current value of the Property.
No Errors and the value was stored in StreamParameterValue.
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.