VLSdeleteFeatureExt

Syntax

VLSdeleteFeatureExt (	 	 
unsigned char	 	*feature_name,
unsigned char	 	*version,
unsigned long	 	*capacity,
unsigned char	 	*log_comment,
LS_CHALLENGE 	 	*challenge,
unsigned char 	 	*unused1,

unsigned char	 	*unused2 );
Argument Description
feature_name

Name of the feature.

version

Version of the feature.

capacity

Capacity of the feature.

log_comment

Unused. Pass NULL as value.

challenge

Unused. Use NULL as value.

unused1 Use NULL as value.
unused2

Use NULL as value.

Description

Deletes a license from the License Manager based on feature, version and capacity. If the capacity is NULL, this API will delete a non-capacity license for the feature, version specified.

The license is deleted from the License Manager only and not from the license file.

Returns

The status code LS_SUCCESS is returned if successful. Otherwise, it will return the following error codes:

Error Code Description

VLS_APP_UNNAMED

  • featureName is NULL.
  • version is NULL

Both feature name and version cannot be NULL at the same time.

VLS_CALLING_ERROR

Attempted to use standalone mode with network-only library, or network mode with standalone library.

VLS_NO_SUCH_FEATURE

License Manager does not have a license that matches requested feature, version and capacity.

VLS_DELETE_LIC_FAILED

Generic error indicating the feature has not been deleted.

VLS_VENDORIDMISMATCH

This error can occur under the following scenarios:

  • The vendor of the requesting application does not match with the License vendor.
  • The License addition failed due to mismatch among the vendor of the license and vendor of the isolated License Manager.

VLS_MULTIPLE_VENDORID_FOUND

The License Manager has licenses for the same feature and version from multiple vendors. It is ambiguous which feature is requested.

VLS_NO_SERVER_RUNNING

License Manager on specified host is not available for processing license operation requests.

VLS_NO_SERVER_ RESPONSE

Communication with License Manager has timed out.

VLS_HOST_UNKNOWN

Invalid hostName was specified.

VLS_NO_SERVER_FILE

No License Manager has been set and unable to determine which License Manager to use.

VLS_BAD_SERVER_ MESSAGE

Message from License Manager could not be understood.

LS_NO_NETWORK

Generic error indicating that the network is unavailable for servicing the license operation.

LS_NORESOURCES

An error occurred in attempting to allocate memory needed by function.

For a complete list of the error codes, see Licensing Library Error and Result Codes.