<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegTotalExecutions |
The WLRegTotalExecutions function retrieves the total number of executions in the current license key.
int WLRegTotalExecutions(void); |
function WLRegTotalExecutions():Integer; stdcall; |
Public Declare Function WLRegTotalExecutions Lib "WinLicenseSDK.dll" () As Integer |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern int WLRegTotalExecutions();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegTotalExecutions() As Integer End Function |
Parameters
This function has no parameters.
Return Values
The return value is the number of total executions 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).
See Also