<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegGlobalTimeLeft |
The WLRegGlobalTimeLeft function retrieves the number of minutes left in the current license key.
int WLRegGlobalTimeLeft(void); |
function WLRegGlobalTimeLeft():Integer; stdcall; |
Public Declare Function WLRegGlobalTimeLeft Lib "WinLicenseSDK.dll" () As Integer |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern int WLRegGlobalTimeLeft();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegGlobalTimeLeft() As Integer End Function |
Parameters
This function has no parameters.
Return Values
The return value is the number of minutes left in the current license key.
If the license key is a permanent key the return value is wlPermKey (-1).
If a license key has not been installed, the return value is wlNoKey (-2).