FtVspcApplyKey Function

Apply a new license key. The previously applied key will be replaced with lpszLicenseKey.

BOOL FtVspcApplyKey(
	LPCTSTR lpszLicenseKey 



[in] License key string. If NULL or empty string, the control works in demo mode.

Return Value

If the function succeeds, the return value is nonzero. Use FtVspcGetLastError to get the error code (FtVspc_ErrorCode).


ftvspcErrorFailed 1 The operation has not been completed.
ftvspcErrorInvalidParameter 2 Invalid parameter.
ftvspcErrorInvalidLicense 5 Invalid license.
ftvspcErrorIncompatibleVersions 6 Incompatible versions of service and DLL API.