The following pages contain a list of PLUS system library functions. They are listed in alphabetical order. Each function definition has the same format. The Applies to designation shows which libraries contain the listed function (i.e. Win32 or Win64). The syntax designation defines the use of each function, both in a 'C' and Visual Basic (VB) syntax.
Most functions have a numeric return value and reference a list of error codes defined in pp_errorstr(). This function contains a table of error numbers and their text description and can be used to convert the number into text during program execution.
It is to your benefit to read the Concepts & Definitions section before attempting to understand the library functions.
The following functions are available in the KeyLib library.
|
Function Name |
Description |
|
Adds or subtracts number of days from a given date | |
|
Clears a bit in a bit field | |
|
Sets a bit in a bit field | |
|
Determines if a bit is set in a bit field | |
|
Returns a valid code entry number for trigger screen | |
|
Determines the checksum of the License File or any other file | |
|
Returns the machine-identifying Computer ID Number | |
|
Initializes and caches the Enhanced Computer ID in memory. | |
|
Install/Uninstall/Test if a COMP32 driver | |
|
Converts Version 3.0 CF / CPF to Version 4.0 LF | |
|
Adds the current computer to the list of valid computers | |
|
Determines if the current computer is authorized | |
|
Determines if the current computer is authorized using threshold | |
|
Removes the current computer from the list of valid computers | |
|
Gets the computer ID from the given slot, if filled | |
|
Decrements a number variable stored in License File | |
|
Increments a number variable stored in License File | |
|
Determines number of days before expiration | |
|
Decrypts a string given a password | |
|
Encrypts a string given a password | |
|
Converts a return value error code into a string | |
|
Determines if an application has expired | |
|
Starts the file-based "offline" activation process | |
|
Runs the EZ Trial™ algorithm | |
|
Runs the EZ Trial™ algorithm with optional flags | |
|
Runs the EZ Trial 2 algorithm | |
|
Processes EZ Trigger™ algorithm with EZ Trial™ | |
|
Processes EZ Trigger™ algorithm | |
|
Displays Trigger Code dialog and optionally processes | |
|
Unconditionally erases a file | |
|
Displays generic Trigger Code dialog box and returns Trigger Code number | |
|
Retrieves the 32-bit Enhanced Computer ID from memory | |
|
Generates an XML string consisting of the hardware related items of the Enhanced Computer ID. | |
|
Gets the current date from the system clock | |
|
Gets the current date from the system clock | |
|
Gets the current time from the system clock | |
|
Gets the current time from the system clock | |
|
Gets a character-type License File variable | |
|
Gets a date-type License File variable | |
|
Gets a numeric-type License File variable | |
|
Launches default browser to specific URL | |
|
Gets the disk serial number | |
|
Completes the file-based "offline" activation process | |
|
Determines if License File indicates multiple users are allowed | |
|
Determines if workstation count is less than workstation limit | |
|
Determines the last date of the given month | |
|
Creates a redundant alias to an open License File | |
|
Closes the License File | |
|
Copies a License File to another location | |
|
Creates a file with the requested attributes | |
|
Removes a License File from the Registry | |
|
Locks the License File from other users | |
|
Opens the License File and returns a handle | |
|
Unlocks the License File | |
|
Determines if the valid PLUS system library has been altered or replaced | |
|
Decrypts a number given a seed number | |
|
Decrypts four numbers from string given a seed number | |
|
Encrypts a number given a seed number | |
|
Encrypts four numbers into string given a seed number | |
|
Closes the handle passed in for the Network Broadcast algorithm. | |
|
Opens a handle for the Network Broadcast algorithm. | |
|
Tests the validity of a handle for the Network Broadcast algorithm. | |
|
Determines payment expiration date of next month | |
|
Encrypts a string that cannot be decrypted | |
|
Determines if given drive letter is a redirected (network) drive | |
|
Closes the Network Semaphore File | |
|
Counts the number of available workstation licenses | |
|
Opens the Network Semaphore File in exclusive mode | |
|
Verifies the Network Semaphore File is still open | |
|
Counts the number of used workstation licenses | |
|
Sets a character-type License File variable | |
|
Sets a date-type License File variable | |
|
Sets a numeric-type License File variable | |
|
Tests if system is running in a specific environment. | |
|
Decode which Trigger Code number was entered | |
|
Determines if application timer has expired | |
|
Starts application timer to expire in given number of minutes | |
|
Assists in transferring license from one machine to another | |
|
Updates the last date and time used fields in License File | |
|
Verifies current date / time > last used date / time fields |