L_EpnUnlockSupport

#include "l_eprint.h"

L_INT EXT_FUNCTION L_EpnUnlockSupport (pszKey, uSupportType);

L_CHAR L_FAR * pszKey;

/* key to unlock the feature */

L_UINT32 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 C DLL and want to try it, you must unlock the Evaluation ePrint C DLLs by passing the EPN_SUPPORT_EVAL value for the uSupportType parameter and pass an empty string for the pszKey parameter.

Unlocking the Evaluation ePrint C DLLs allows you to use all the ePrint C DLLs 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:

L_EpnIsSupportLocked

Topics:

ePrint: Miscellaneous

 

Using the OEM Version of ePrint

 

Unlocking ePrint Support

Example

/* Unlock ePrint C DLL. Note that this is a sample key, which will not work in your toolkit. 
Before using ePrint C DLL, 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 );