SecureEngineFirstRunRegistered

<< Click to Display Table of Contents >>

Navigation:  WinLicense > Protecting an application > Plugins >

SecureEngineFirstRunRegistered

This function is called by WinLicense when a license is installed in the system. If you run the application again (with the same license) this function won't be called. If you install a new license (replacing the previous one), this function will be called again with the information of the new license.

 

Click to expand/collapseShow C/C++ function definition
Click to expand/collapseShow Delphi function definition

 

Parameters

 

pHardwareId

 [in] This parameter specifies the hardware ID of the current machine.

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.

RegExpInfo

 [in] This parameter specifies a pointer to a TRegExpInfo structure with information about the current license key expiration (days, executions, date and global time left)

 

 

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. If the application is launched again, the SecureEngineFirstRunRegistered function will be called again until it returns True.