L_EpnUnlockSupport
#include "l_eprint.h"
L_INT EXT_FUNCTION L_EpnUnlockSupport (pszKey, uSupportType);
|
/* key to unlock the feature */ | |
|
L_UINT uSupportType; |
/* feature to unlock */ |
Unlocks support for the ePrint features.
|
Parameter |
Description |
|
|
pszKey |
The key used to unlock the features. |
|
|
uSupportType |
The feature to unlock. Possible values are: |
|
|
|
Value |
Meaning |
|
|
EPN_SUPPORT_GENERAL |
[0] Support for Basic functionality. |
|
|
EPN_SUPPORT_OEM |
[1] Support for OEM functionality. |
|
|
EPN_SUPPORT_EVAL |
[2] Support for Evaluation copy of the toolkit functionality. |
Returns
|
SUCCESS |
The function was successful. |
|
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function must be called before most of the other toolkit functions.
To determine whether ePrint support is locked, call the L_EpnIsSupportLocked function.
If you have not purchased a copy of ePrint 5 API and want to try it, you must unlock the Evaluation ePrint APIs by passing the EPN_SUPPORT_EVAL value for the uSupportType parameter and pass an empty string for the pszKey parameter.
Unlocking the Evaluation ePrint APIs allows you to use all the ePrint APIs during the evaluation period.
Required DLLs and Libraries
|
LPKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to ePrint Files. |
See Also
|
Functions: |
|
|
Topics: |
|
|
|
|
|
|
Example
/* Unlock ePrint API. Note that this is a sample key, which will not work in your toolkit.
Before using ePrint API, you must first execute a License Agreement.
Please refer to the "Licensing" Section of the Help File for the applicable Licensing Documents
*/
L_EpnUnlockSupport( "Sample Key", EPN_SUPPORT_GENERAL );