Closes the port, and releases its resources.
- int LV_SRE_ClosePort(HPORT hport)
The port's handle.
The port has been successfully destroyed.
The input hport is not a valid one.
An exception occurred while processing the request.
Closing a port frees up a license (each open port requires one license). For this reason, you should close every port as soon as it is no longer needed.
This function has been deprecated in favor of LV_SRE_DestroyClient and will be removed from future releases.