LV_SRE_ClosePort (Deprecated)

Closes the port, and releases its resources.

Function

Parameters

hport

The port's handle.

Return Values

LV_SUCCESS

The port has been successfully destroyed.

LV_INVALID_HPORT

The input hport is not a valid one.

LV_EXCEPTION

An exception occured while processing the request.

Remarks

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.

See Also

© 2012 LumenVox LLC. All rights reserved.