WLTrialGetStatus

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK > Trial Functions >

WLTrialGetStatus

The WLTrialGetStatus function retrieves the trial status in the current application.

Click to expand/collapseShow C/C++ function definition
Click to expand/collapseShow Delphi function definition
Click to expand/collapseShow Visual Basic Native function definition
Click to expand/collapseShow .NET function definition

 

Parameters

 

Reserved

This parameter contains a special code with extra information about the status of the trial. This parameter is reserved in current versions of WinLicense.

 

 

Return Values

 

The return value is the trial status in the current application. The possible values are the followings:

 

wlTrialOk (0) when trial OK.

 

wlTrialModeNotSupported (16) when trial is not available (not selected in "Trial Settings" panel).

 

wlTrialDaysExpired (1) when the trial days expired.

 

wlTrialExecExpired (2) when the trial executions expired.

 

wlTrialDateExpired (3) when the trial date expired.

 

wlTrialRuntimExpired (4) when the runtime trial expired.

 

wlTrialGlobalExpired (5) when the global trial time expired.

 

wlTrialInvalidCountry (6) when the Trial does not run on the current language/country.

 

wlTrialManipulated (7) when the clock has been turned back or a user has tried to cheat the trial period in your application.

 

 

See Also

 

WLTrialExtGetStatus, WLRegGetStatus