CanEasy COM-Help
CanEasy::ILicense Interface Reference

Inherits IDispatch.

Detailed Description

License interface

interface ILicense : IDispatch
{
HRESULT GetFeatureId([in]BSTR sId, [out, retval] long*);
HRESULT IsFeatureSet([in]long lFeatureId, [out, retval] VARIANT_BOOL*);
HRESULT IsApplication([in]BSTR sApplicationName, [out, retval] VARIANT_BOOL*);
};

Definition at line 6896 of file cand_tlb.idl.

Member Function Documentation

◆ GetFeatureId()

HRESULT CanEasy::ILicense::GetFeatureId ( [in] BSTR  sId,
[out, retval] long *   
)

Returns the identifier of a feature by name

Parameters
sIdName of the feature
Returns
Identifier of the feature

◆ IsApplication()

HRESULT CanEasy::ILicense::IsApplication ( [in] BSTR  sApplicationName,
[out, retval] VARIANT_BOOL *   
)

Returns true if the passed application name is fitting with the started instance

Parameters
sApplicationNameName of the application
Returns
True if started application fits to name

◆ IsFeatureSet()

HRESULT CanEasy::ILicense::IsFeatureSet ( [in] long  lFeatureId,
[out, retval] VARIANT_BOOL *   
)

Returns whether a feature is available

Parameters
lFeatureIdIdentifier of the feature to be checked
Returns
True if feature is available
CanEasy::ILicense::IsFeatureSet
HRESULT IsFeatureSet([in]long lFeatureId, [out, retval] VARIANT_BOOL *)
CanEasy::ILicense::GetFeatureId
HRESULT GetFeatureId([in]BSTR sId, [out, retval] long *)
CanEasy::ILicense::IsApplication
HRESULT IsApplication([in]BSTR sApplicationName, [out, retval] VARIANT_BOOL *)