Platforms to show: All Mac Windows Linux Cross-Platform
HASPHLDMBS constants
Constants
Constant | Value | Description |
---|---|---|
HASP_DEFAULT_FID | 0 |
The HASP default Feature ID.
Available in every HASP key. |
HASP_FEATURETYPE_MASK | &hffff0000 |
Legacy HASP HL Run-time API: "Feature Type" mask.
AND-mask used to identify Feature type. |
HASP_INVALID_HANDLE_VALUE | 0 | Invalid handle value for Handle property. |
HASP_MIN_BLOCK_SIZE | 16 | Minimum block size for encrypt and decrypt functions. |
HASP_MIN_BLOCK_SIZE_LEGACY | 8 | Minimum block size for legacy encrypt and legacy decrypt functions. |
HASP_PROGNUM_DEFAULT_FID | &hffff0000 |
Legacy HASP HL Run-time API: The HASP default Feature ID
Available in every legacy HASP hardware key. |
HASP_PROGNUM_FEATURETYPE | &hffff0000 |
Legacy HASP HL Run-time API: "Program Number Feature" type
After AND-ing with HASP_FEATURETYPE_MASK the Feature type contain this value. |
HASP_PROGNUM_MASK | &h000000ff |
Legacy HASP HL Run-time API: "Program Number Mask"
AND-mask used to extract the Program Number from a "prognum" Feature ID. |
HASP_PROGNUM_OPT_CLASSIC | &h00001000 |
Legacy HASP HL Run-time API: "Program Number" option
Enables the API to access "classic" (HASP4 or earlier) keys. |
HASP_PROGNUM_OPT_MASK | &h0000ff00 | Legacy HASP HL Run-time API: "Program Number Options" mask. AND-mask used to identify Program Number options: more |
HASP_PROGNUM_OPT_NO_LOCAL | &h00008000 |
Legacy HASP HL Run-time API: "Program Number" option
Disables the search for local licenses. |
HASP_PROGNUM_OPT_NO_REMOTE | &h00004000 |
Legacy HASP HL Run-time API: "Program Number" option
Disables the search for network licenses. |
HASP_PROGNUM_OPT_PROCESS | &h00002000 |
Legacy HASP HL Run-time API: "Program Number" option
Sets session count of network licenses to "per-process". |
HASP_PROGNUM_OPT_TS | &h00000800 |
Legacy HASP HL Run-time API: "Program Number" option
Ignores the presence of terminal servers. |
HASP Error Codes
Constant | Value | Description |
---|---|---|
HASP_ACCESS_DENIED | 5 |
Access to Feature, HASP protection key or functionality denied. |
HASP_ALREADY_LOGGED_IN | 502 |
C++ API: Logging in twice to the same object. |
HASP_ALREADY_LOGGED_OUT | 503 |
C++ API: Logging out twice of the same object |
HASP_BROKEN_SESSION | 39 |
Session been interrupted. |
HASP_CANNOT_READ_FILE | 72 |
File not found or access denied. |
HASP_CLONE_DETECTED | 64 |
Cloned HASP SL secure storage detected. |
HASP_CONTAINER_NOT_FOUND | 7 |
Deprecated - use HASP_HASP_NOT_FOUND. |
HASP_DETACHED_LICENSE_FOUND | 76 |
Format SL-AdminMode or migrate SL-Legacy to SL-AdminMode not allowed as container has detached license. |
HASP_DETACH_DISABLED | 74 |
Detach of license not allowed as product. contains VM disabled feature and host machine is a virtual machine. |
HASP_DEVICE_ERR | 43 |
Input/Output error occurred in secure storage area of HASP SL key OR a USB error occurred when communicating with a HASP HL key |
HASP_DUPLICATE_HOSTNAME | 79 |
Duplicate Hostname found while key contains Hostname Fingerprinting. |
HASP_ENC_NOT_SUPP | 23 |
Sentinel HASP protection key does not support encryption type. |
HASP_EXTENSION_NOT_ALLOWED | 73 |
Extension of license not allowed as number of detached. licenses is greater than current concurrency count. |
HASP_FEATURE_EXPIRED | 41 |
Feature expired. |
HASP_FEATURE_NOT_FOUND | 31 |
Requested Feature not available. |
HASP_FEATURE_TYPE_NOT_IMPL | 28 |
Requested Feature type not implemented. |
HASP_FILEID_DYNAMIC_FIRST | 1 |
Sentinel dynamic memory file ID avaliable range File ID lower limit for Sentinel dynamic memory file. |
HASP_FILEID_DYNAMIC_LAST | &hffbf |
Sentinel dynamic memory file ID avaliable range File ID upper limit for Sentinel dynamic memory file. |
HASP_FIRST_HASP_ACT | 3001 |
Reserved for HASP Activation API |
HASP_FIRST_HELPER | 2001 |
Reserved for HASP helper libraries. |
HASP_HARDWARE_MODIFIED | 52 |
HASP SL key incompatible with machine hardware; HASP SL key is locked to different hardware. OR: In the case of a V2C file, conflict between HASP SL key data and machine hardware data; HASP SL key locked to different hardware |
HASP_HASP_INACTIVE | 66 |
Specified Hasp Id is in Inactive state |
HASP_HASP_NOT_FOUND | 7 |
Sentinel HASP protection key not available. |
HASP_INCOMPAT_FEATURE | 6 |
Legacy decryption function cannot work on Feature. |
HASP_INSUF_MEM | 3 |
System is out of memory. |
HASP_INT_ERR | 699 |
Internal error occurred in API. |
HASP_INVALID_OBJECT | 500 |
C++ API: Object incorrectly initialized. |
HASP_INVALID_PARAMETER | 501 |
Invalid function parameter. |
HASP_INV_ACTION | 59 |
Invalid XML "action" parameter |
HASP_INV_API_DYLIB | 401 |
API dispatcher: Unable to load API; DLL possibly corrupt? |
HASP_INV_DETACH_ACTION | 59 |
Invalid XML "action" parameter. |
HASP_INV_DURATION | 63 |
Invalid duration. |
HASP_INV_FILEID | 10 |
Specified File ID not recognized by API. |
HASP_INV_FORMAT | 15 |
Invalid XML format. |
HASP_INV_HND | 9 |
Invalid login handle passed to function. |
HASP_INV_PORT | 651 |
Internal use: invalid port value. |
HASP_INV_PORT_TYPE | 650 |
Internal use: invalid port type. |
HASP_INV_PRODUCT | 61 |
Invalid Product information. |
HASP_INV_PROGNUM_OPT | 2 |
Legacy HASP HL Run-time API: Unknown/Invalid Feature ID option. |
HASP_INV_RECIPIENT | 58 |
Invalid XML "recipient" parameter. |
HASP_INV_SCOPE | 36 |
Invalid XML scope. |
HASP_INV_SIG | 30 |
Signature verification operation failed. |
HASP_INV_SPEC | 35 |
Invalid XML specification. |
HASP_INV_TIME | 24 |
Passed time value outside supported value range. |
HASP_INV_UPDATE_CNTR | 21 |
Update counter set incorrectly. |
HASP_INV_UPDATE_DATA | 19 |
Required XML tags not found; Contents in binary data are missing or invalid |
HASP_INV_UPDATE_NOTSUPP | 20 |
Update request not supported by Sentinel HASP protection key. |
HASP_INV_UPDATE_OBJ | 17 |
Binary data passed to function does not contain valid update. |
HASP_INV_VCODE | 22 |
Invalid Vendor Code passed. |
HASP_INV_VLIB | 49 |
Unable to load Vendor library. |
HASP_KEYID_NOT_FOUND | 18 |
HASP protection key not found. |
HASP_LICENSE_REHOSTED | 70 |
License is rehosted to other machine |
HASP_LOCAL_COMM_ERR | 33 |
Communication error between API and local Sentinel HASP License Manager. |
HASP_MEM_RANGE | 1 |
Request exceeds memory range of a HASP file. |
HASP_MISSING_LM | 80 |
The Sentinel License Manager is required for this operation |
HASP_NET_DLL_BROKEN | 652 |
Dot-Net DLL found broken |
HASP_NEXT_FREE_VALUES | 5001 |
Next free error code. |
HASP_NOT_IMPL | 698 |
Requested function not implemented. |
HASP_NO_ACK_SPACE | 26 |
Acknowledge data requested by update, but ack_data parameter is NULL. |
HASP_NO_API_DYLIB | 400 |
API dispatcher: API for this Vendor Code was not found. |
HASP_NO_BATTERY_POWER | 25 |
Real-time clock battery out of power. |
HASP_NO_DETACHABLE_FEATURE | 67 |
No detachable feature exists. |
HASP_NO_DRIVER | 14 |
Required driver not installed. |
HASP_NO_EXTBLOCK | 600 |
Internal use: no classic memory extension block available. |
HASP_NO_LOG | 32 |
Access log not enabled. |
HASP_NO_TIME | 12 |
Real-time clock (rtc) not available. |
HASP_NO_VLIB | 48 |
Unable to find Vendor library. |
HASP_OLD_DRIVER | 11 |
Installed driver or daemon too old to execute function. |
HASP_OLD_LM | 42 |
Sentinel HASP License Manager version too old. |
HASP_OLD_VLIB | 56 |
Vendor library version too old. |
HASP_OPERATION_FAILED | 525 |
.NET API: Incorrect use of system or platform |
HASP_RDP_DETECTED | 27 |
Program running on a Remote Desktop |
HASP_RECIPIENT_OLD_LM | 77 |
Recipient of the requested operation is older than expected. |
HASP_REHOST_ALREADY_APPLIED | 71 |
Old rehost license try to apply |
HASP_REHOST_DISABLED | 75 |
Rehost of license not allowed as container contains VM disabled feature and host machine is a virtual machine |
HASP_REHOST_NOT_ALLOWED | 69 |
Rehost is not allowed for any license |
HASP_REMOTE_COMM_ERR | 40 |
Communication error between local and remote Sentinel HASP License Managers. |
HASP_REQ_NOT_SUPP | 16 |
Unable to execute function in this context; the requested functionality is not implemented. |
HASP_SCHAN_ERR | 46 |
Communication error occurred in secure channel. |
HASP_SCOPE_RESULTS_EMPTY | 50 |
Unable to locate any Feature matching scope. |
HASP_SECURE_STORE_ID_MISMATCH | 78 |
Secure storage ID mismatch |
HASP_STATUS_OK | 0 |
Request successfully completed |
HASP_STORAGE_CORRUPT | 47 |
Corrupt data exists in secure storage area of HASP SL protection key. |
HASP_SYS_ERR | 13 |
Generic error from host system call. |
HASP_TIME_ERR | 45 |
System time has been tampered with. |
HASP_TMOF | 4 |
Too many open Features/login sessions. |
HASP_TOO_MANY_HOSTS | 68 |
Scope does not specify a unique host |
HASP_TOO_MANY_KEYS | 37 |
Too many Sentinel HASP protection keys currently connected. |
HASP_TOO_MANY_PRODUCTS | 60 |
Scope does not specify a unique Product. |
HASP_TOO_MANY_USERS | 38 |
Too many concurrent user sessions currently connected. |
HASP_TOO_SHORT | 8 |
Encrypted/decrypted data length too short to execute function call. |
HASP_TS_DETECTED | 27 |
Program running on a terminal server. |
HASP_UNKNOWN_ALG | 29 |
Unknown algorithm used in H2R/V2C file. |
HASP_UNKNOWN_RECIPIENT | 62 |
Unknown Recipient; update can only be applied to the Recipient specified in hasp_detach(), and not to this computer. |
HASP_UNKNOWN_VCODE | 34 |
Vendor Code not recognized by API. |
HASP_UPDATE_ALREADY_ADDED | 65 |
Specified V2C update already installed in the LLM |
HASP_UPDATE_BLOCKED | 44 |
Update installation not permitted; This update was already applied. |
HASP_UPDATE_TOO_NEW | 55 |
Trying to install a V2C file with an update counter that is out of sequence with update counter in the Sentinel HASP protection key. The first value in the V2C file is greater than the value in the Sentinel HASP protection key. |
HASP_UPDATE_TOO_OLD | 54 |
Trying to install a V2C file with an update counter that is out of sequence with the update counter on the Sentinel HASP protection key. The update counter value in the V2C file is lower than the value in sentinel HASP protection key. |
HASP_UPLOAD_ERROR | 57 |
Upload via ACC failed, e.g. because of illegal format. |
HASP_USER_DENIED | 53 |
Login denied because of user restrictions. |
HASP_VM_DETECTED | 51 |
Program running on a virtual machine |
Memory File ID constants
Constant | Value | Description |
---|---|---|
HASP_FILEID_LICENSE | &hfff2 |
Legacy HASP HL Run-time API: HASP4 FAS memory file (Dummy) File ID for the license data area of memory contents. |
HASP_FILEID_MAIN | &hfff0 |
Legacy HASP HL Run-time API: HASP4 memory file File ID for HASP4-compatible memory contents w/o FAS. |
HASP_FILEID_RO | &hfff5 |
Sentinel HASP secure read only memory file. File ID for HASP Sentinel HASP read only memory. |
HASP_FILEID_RW | &hfff4 |
Sentinel HASP secure writable memory file File ID for Sentinel HASP secure writable memory. |