<< Click to Display Table of Contents >> Navigation: WinLicense > Protecting an application > Plugins > SecureEngineGetLicenseInfo |
This function is called by WinLicense when an application is running in registered mode. WinLicense will pass the registration information to this function, such as Registration Name, Company and Custom Data.
STDCALL bool SecureEngineGetLicenseInfoA( char* pRegName, char* pCompany, char* pCustomData );
STDCALL bool SecureEngineGetLicenseInfoW( wchar* pRegName, wchar* pCompany, wchar* pCustomData ); |
function SecureEngineGetLicenseInfoA( pRegName:PAnsiChar; pCompany:PAnsiChar; pCustomData:PAnsiChar ):Boolean; stdcall;
function SecureEngineGetLicenseInfoW( pRegName:PWideChar; pCompany:PWideChar; pCustomData:PWideChar ):Boolean; stdcall; |
Parameters
pRegName
[in] This parameter specifies the registration name for the current license key.
pCompany
[in] This parameter specifies the registration company for the current license key.
pCustomData
[in] This parameter specifies the custom data for the current license key.
Return Values
If the function returns True, WinLicense will continue running the protected application.
If the function returns False, WinLicense will terminate the protected application immediately.