<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegRuntimeLeft |
The WLRegRuntimeLeft function retrieves the runtime left that a registered application can be running in memory.
int WLRegRuntimeLeft(void); |
function WLRegRuntimeLeft():Integer; stdcall; |
Public Declare Function WLRegRuntimeLeft Lib "WinLicenseSDK.dll" () As Integer |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern int WLRegRuntimeLeft();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegRuntimeLeft() As Integer End Function |
Parameters
This function has no parameters.
Return Values
The return value is the runtime left in minutes.
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).