...
Use parameter LMX_ALL_LICENSES to check in all licenses.
Return values
...
On success, this function returns the status code LMX_SUCCESS.
On failure, this function returns an error code in the format described in Return codes.
Remarks
If all licenses are returned to a license server, the licensing system will also ensure that the network connection is closed.
...