EP_RegKeyStatus returns the error status of registration information after the key verification routine. It should be called after any function that verifies registration information, for example, after EP_RegCheckKey or EP_RegLoadAndCheckKey.
The function does not have parameters.
Value |
Description |
KEY_STATUS_DOESNOTEXIST = 0; |
Registration information was not found |
KEY_STATUS_VALID = 1; |
Registration information is valid |
KEY_STATUS_INVALID = 2; |
Registration information is invalid |
KEY_STATUS_STOLEN = 3; |
The registration key is marked as Stolen. See License Manager - Edit License |
KEY_STATUS_DATEEXPIRED = 4; |
The registration key contains the Expiration date that has expired |
KEY_STATUS_WITHOUTHARDWARELOCK = 5; |
The registration key is not locked to hardware ID, but the application requires only hardware locked registration keys. See Key Properties |
KEY_STATUS_WITHOUTEXPIRATIONDATE = 6; |
The registration key does not contain the expiration date, but the application requires only registration keys with the expiration date. See Key Properties |
KEY_STATUS_WITHOUTREGISTERAFTERDATE = 7; |
The registration key does not contain the register after date, but the application requires only registration keys with the register after date. See Key Properties |
KEY_STATUS_WITHOUTREGISTERBEFOREDATE = 8; |
The registration key does not contain the register before date, but the application requires only registration keys with the register before date. See Key Properties |
KEY_STATUS_WITHOUTEXECUTIONSLIMIT = 9; |
The registration key does not contain the executions limit, but the application requires only registration keys with the executions limit. See Key Properties |
KEY_STATUS_WITHOUTDAYSLIMIT = 10; |
The registration key does not contain the days limit, but the application requires only registration keys with the days limit. See Key Properties |
KEY_STATUS_WITHOUTRUNTIMELIMIT = 11; |
The registration key does not contain the run-time limit, but the application requires only registration keys with the run-time limit. See Key Properties |
KEY_STATUS_WITHOUTGLOBALTIMELIMIT = 12; |
The registration key does not contain the global time limit, but the application requires only registration keys with the global time limit. See Key Properties |
KEY_STATUS_WITHOUTCOUNTRYLOCK = 13; |
The registration key does not contain the country lock, but the application requires only registration keys with the country lock. See Key Properties |
KEY_STATUS_COUNTRYINVALID = 14; |
The registration key is locked to the country that does not match the user's country |
KEY_STATUS_REGISTERAFTERFAILED = 15; |
The registration key contains Register After date that has expired |
KEY_STATUS_REGISTERBEFOREFAILED = 16; |
The registration key contains Register Before date that has expired |
KEY_STATUS_EXECUTIONSEXPIRED = 17; |
The registration key contains Executions limit that has expired |
KEY_STATUS_DAYSEXPIRED = 18; |
The registration key contains Days limit that has expired |
KEY_STATUS_RUNTIMEEXPIRED = 19; |
The registration key contains Run-time limit that has expired |
KEY_STATUS_GLOBALTIMEEXPIRED = 20; |
The registration key contains Global Time limit that has expired |
KEY_STATUS_HARDWARECHANGESEXCEEDED_VOLUMESERIAL = 21; |
The registration key is locked to System Volume Serial hardware ID that was changed, but the program does not allow changes of this hardware ID. See Hardware Lock |
KEY_STATUS_HARDWARECHANGESEXCEEDED_VOLUMENAME = 22; |
The registration key is locked to System Volume Name hardware ID that was changed, but the program does not allow changes of this hardware ID. See Hardware Lock |
KEY_STATUS_HARDWARECHANGESEXCEEDED_COMPUTERNAME = 23; |
The registration key is locked to Computer Name hardware ID that was changed, but the program does not allow changes of this hardware ID. See Hardware Lock |
KEY_STATUS_HARDWARECHANGESEXCEEDED_CPU = 24; |
The registration key is locked to CPU Type hardware ID that was changed, but the program does not allow changes of this hardware ID. See Hardware Lock |
KEY_STATUS_HARDWARECHANGESEXCEEDED_MOTHERBOARD = 25; |
The registration key is locked to Motherboard hardware ID that was changed, but the program does not allow changes of this hardware ID. See Hardware Lock |
KEY_STATUS_HARDWARECHANGESEXCEEDED_WINDOWSKEY = 26; |
The registration key is locked to Windows Serial Key hardware ID that was changed, but the program does not allow changes of this hardware ID. See Hardware Lock |
KEY_STATUS_HARDWARECHANGESEXCEEDED_HDDSERIAL = 27; |
The registration key is locked to Hard Disk Serial Number hardware ID that was changed, but the program does not allow changes of this hardware ID. See Hardware Lock |
KEY_STATUS_HARDWARECHANGESEXCEEDED_USERNAME = 28; |
The registration key is locked to Windows User Name hardware ID that was changed, but the program does not allow changes of this hardware ID. See Hardware Lock |
An unprotected application will always return KEY_STATUS_DOESNOTEXIST.
See function examples in the installation folder, Examples subfolder.