VLSgetCapacityFromHandle

Syntax

VLSgetCapacityFromHandle (	 	 
LS_HANDLE	 	lshandle,
unsigned long	 	LSFAR *team_capacity,
unsigned long	 	LSFAR *user_capacity
unsigned long	 	LSFAR *license_capacity );

Argument Description
handle Handle
team_capacity Team capacity allocated to the handle and issued by the License Manager
user_capacity User capacity allocated to the handle and issued by the License Manager
license_capcity License capacity allocated to the handle

Description

VLSgetCapacityFromHandle returns the team capacity and user capacity allocated to a handle.

Returns

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

Error Code Description

LS_BADHANDLE

The handle is invalid.

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