L_EpnOEMActivate

#include "l_eprint.h"

L_INT EXT_FUNCTION L_EpnOEMActivate(pszSerialNumber)

L_CHAR L_FAR * pszSerialNumber;

/* ePrint OEM serial number */

Activates the OEM version of ePrint.

Parameter

Description

pszSerialNumber

Character string that contains the OEM serial number.

The user should pass the serial number given to him when he bought the ePrint OEM version.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Support for OEM functionality must be unlocked by calling the L_EpnUnlockSupport function before using this function.

Activation for the OEM version of the ePrint should be the first step to do before start using it. The activation performed only once per machine.

This function activates the OEM version of ePrint without connecting to LEAD Activation server. If the OEM version of ePrint is not activated, a nag dialog box will appear requests activation.

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_EpnUnlockSupport

Topics:

Using the OEM Version of ePrint

 

ePrint: OEM Activation

Example

   L_EpnUnlockSupport ( "sample key", EPN_SUPPORT_OEM );
   L_EpnOEMActivate( "sample serial number" );