L_EpnOEMUpdateServerLic

#include "l_eprint.h"

L_INT EXT_FUNCTION L_EpnOEMUpdateServerLic(pszSerialNumber, pszLicenseKey)

L_CHAR L_FAR * pszSerialNumber;

/* ePrint OEM serial number*/

L_CHAR L_FAR * pszLicenseKey;

/* license key*/

Updates the number of users allowed to use the ePrint terminal server edition.

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. This is a null terminated string.

pszLicenseKey

Character string that contains the License Key. This is a null terminated string.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

When ePrint Terminal server edition is installed in the server, the user will automatically get 10 user licenses; this function will help our OEM client to update the number of licenses programmatically.

Our OEM client should contact our sales department to get License key associated with serial number.

This function requires the OEM functionality; you should unlock it using L_EpnUnlockSupport.

Required DLLs and Libraries

LPKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to ePrint Files.

Platforms

Windows 98 / Me, Windows 2000 / XP.

See Also

Functions:

L_EpnUnlockSupport

Topics:

ePrint: OEM Printers

 

Using the OEM Version of ePrint

Example

L_INT UpateServerLic(L_CHAR * pszSerialNumber, L_CHAR * pszLicenseKey )
{
   // "oem key" is a sample key, you should get a key from sales
   L_EpnUnlockSupport( "oem key" , EPN_SUPPORT_OEM );
   
    // update server license
    return L_EpnOEMUpdateServerLic( pszSerialNumber, pszLicenseKey );
}