<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegNormalKeyInstallToRegistryW |
The WLRegNormalKeyInstallToRegistryW 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 WLRegNormalKeyInstallToRegistryW( const wchar_t* pTextKey); |
function WLRegNormalKeyInstallToRegistryW( pTextKey:PWideChar ):Boolean; stdcall; |
[C#] [DllImport(WINLICENSE_SDK_DLL, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] public static extern bool WLRegNormalKeyInstallToRegistryW(string TextKey);
[Visual Basic] <DllImport("WinlicenseSDK.dll", CharSet:=CharSet.Unicode, CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegNormalKeyInstallToRegistryW(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
WLRegNormalKeyInstallToFileW, WLRegNormalKeyCheckW, WLGenLicenseTextKey