VLSdeleteFeature

Syntax

LS_STATUS_CODE VLSdeleteFeature (	 	 
unsigned char	 	*featureName,
unsigned char	 	*version,
unsigned char	 	*unused1,
LS_CHALLENGE	 	*unused2 ); 	 	  
Argument Description
featureName

Name of the feature whose information is retrieved. Maximum 24 characters.

version

Version of the feature.

unused1

Unused.

unused2

Unused.

Description

Deletes licensing information about a feature, from the License Manager’s internal tables, for the given featureName and version.

This call does not delete licenses 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 the license operation requests.

VLS_NO_SERVER_RESPONSE

Communication with License Manager has timed out.

VLS_HOST_UNKNOWN

Invalid hostName is specified.

VLS_NO_SERVER_FILE

The License Manager has not been set and the client application is unable to determine which License Manager to use.

VLS_BAD_SERVER_MESSAGE

Message returned by the 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 this function.

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