SK_PLUS_LicenseAliasAdd Function

Adds a License File Alias to the list of aliases to be loaded when calling SK_PLUS_LicenseFileLoad.

Remarks

Important Note

This function calls SK_PermissionsGrantControlToWorld to help ensure all users have access.

Syntax

C/C++
SK_ResultCode SK_PLUS_LicenseAliasAdd(SK_ApiContext context, int flags, const char *path);
Visual Basic
Declare Function SK_PLUS_LicenseAliasAdd(ByVal context As Long, ByVal flags As Long, ByVal path As String) As Long

Arguments

context
The API Context handle.
flags
Any flags passed into this function-call.
path
The absolute path to the License file or Windows Registry Key location.

Returns

All possible return values are included in the SK_ResultCode enumeration. Return codes to expect include:

Result Code Description
SK_ResultCode.SK_ERROR_NONE No error.
SK_ResultCode.SK_ERROR_INVALID_ARGUMENTS Some or all of the arguments are invalid.
SK_ResultCode.SK_ERROR_MEMORY_ALLOCATION Memory could not be allocated.