xslm_adv_end_session
#include <libxslm.h>
xslm_uint32 xslm_adv_end_session(
xslm_handle session_handle,
xslm_uint32 * status
);
xslm_adv_end_session() terminates the session established by a call toxslm_adv_begin_session() . All active licenses requested under the session to be terminated will be released.
- session_handle
A reference returned byxslm_adv_begin_session() .
- status
Completion status. Detailed error code directly processable by the caller. This value is set to XSLM_STATUS_OK if no error occurred. For other messages, see ERRORS.
- XSLM_OK
Session terminated
- XSLM_COMM_ERR
Communications problem
- XSLM_RESRC_UNAVL
Local resources unavailable
- XSLM_PARM_ERR
Parameter error
The function return value gives an overall indication of the success or failure of the call. In addition, the status parameter will be set to one of the following values, to further help point to the reason for a failed request.
- Note:
- In the future, additional values may be defined for the status variable. An application must not rely upon these being the only possible values.
Return Value Status Value Explanation XSLM_OK XSLM_STATUS_OK No errors occurred XSLM_COMM_ERR XSLM_LIC_SYS_NOT_RESP The licensing system does not respond XSLM_RESRC_UNAVL XSLM_NO_RES Platform dependent XSLM_PARM_ERR XSLM_BAD_PARM One or more parameters were not correct XSLM_BAD_SESSION_HANDLE The specified session handle is invalid
xslm_adv_begin_session() .
Contents | Next section | Index |