<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegNormalKeyInstallToRegistry |
The WLRegNormalKeyInstallToRegistry installs a license text key into a Windows registry key. When this function is called, a Windows registry key (selected in the Winlicense user interface) will be created. This registry key will be able to register the application the next time that is started.
bool WLRegNormalKeyInstallToRegistry( const char* pTextKey); |
function WLRegNormalKeyInstallToRegistry( pTextKey:PAnsiChar ):Boolean; stdcall; |
Public Declare Function WLRegNormalKeyInstallToRegistry Lib "WinLicenseSDK.dll" ( ByVal pTextKey As String ) As Boolean |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern bool WLRegNormalKeyInstallToRegistry(string TextKey);
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegNormalKeyInstallToRegistry(TextKey As String) As Boolean End Function |
Parameters
pTextKey
[in] Pointer to a null-terminated string that specifies the text key to install into the Windows registry.
The name of the Windows registry key can be set up in the Winlicense user interface.
Return Values
If the function succeeds, the return value is True.
If the function fails, the return value is False.
See Also
WLRegNormalKeyInstallToFile, WLRegNormalKeyCheck, WLGenLicenseTextKey