sntl_lg_initialize() Function
Description
Initializes the license generator library and returns a handle that is used for subsequent functions.
Usage Notes
This should be the first function called to start a license generation session. You can initialize up to 512 simultaneous license generator handles.
>The handles returned by Sentinel Licensing API and Sentinel License Generation API cannot be used interchangeably.
>The handles are not thread safe; multiple threads should not work on the same handle simultaneously.
Syntax
sntl_lg_status_t SNTL_LG_CALLCONV sntl_lg_initialize(
const char * init_param,
sntl_lg_handle_t * handle
)
Parameters
|
[IN] Reserved for future use. Set this parameter to NULL |
|
[OUT] Pointer to the resulting license generation handle. |
Return Values
SNTL_LG_LIB_INITIALIZATION_FAILED