sntl_lg_cleanup() Function

Description

Cleans up a handle.

Usage Notes

This function releases all the resources associated with a handle and resets the handle value to SNTL_LG_INVALID_HANDLE_VALUE after a successful cleanup.

Syntax

sntl_lg_status_t SNTL_LG_CALLCONV sntl_lg_cleanup (
                         sntl_lg_handle_t *  handle
                         )

Parameters

handle

[INOUT] License generation handle to be released.

Return Values

SNTL_LG_STATUS_OK

SNTL_LG_LIB_INITIALIZATION_FAILED

SNTL_LG_INVALID_HANDLE

SNTL_LG_RESOURCE_LOCK_FAILURE

SNTL_LG_INVALID_PARAMETER

SNTL_LG_INTERNAL_ERROR

Related Topics

sntl_lg_initialize()