L_UnlockSupport

#include "l_bitmap.h"

L_LTKRN_API L_VOID L_UnlockSupport(uType, pKey)

L_UINTuType;

/* optional feature to unlock */

L_TCHAR* pKey;

/* key to unlock the feature */

Unlocks support for an optional feature, such as LEADTOOLS Imaging Pro, Document and Medical Imaging capabilities, or PDF support.

Parameter

Description

uType

The optional feature to check.

 

Value

Meaning

 

L_SUPPORT_ABC

Support for the ABC file formats, which use proprietary LEAD 1-bit compression. Available in selected LEADTOOLS products.

 

L_SUPPORT_ABIC_READ

Support for reading the ABIC file format.

 

L_SUPPORT_ABIC_SAVE

Support for saving the ABIC file format.

 

L_SUPPORT_BARCODES_1D

Support for reading and writing Linear bar codes. This is available in the LEADTOOLS 1D Module.

 

L_SUPPORT_BARCODES_2D_READ

Support for reading 2D bar codes. This is available in the LEADTOOLS DataMatrix, PDF 417, MicroPDF 417, and QR modules.

 

L_SUPPORT_BARCODES_2D_WRITE

Support for writing 2D bar codes. This is available in the LEADTOOLS DataMatrix, PDF 417, MicroPDF 417, and QR modules.

 

L_SUPPORT_BARCODES_PDF_READ

Support for reading PDF bar codes. This is available in the LEADTOOLS 2D PDF Module (read).

 

L_SUPPORT_BARCODES_PDF_WRITE

Support for writing PDF bar codes. This is available in the LEADTOOLS 2D PDF Module (write).

 

L_SUPPORT_BARCODES_DATAMATRIX_READ

Support for reading Data Matrix bar codes. This is available in the LEADTOOLS 2D Data Matrix Module (read).

 

L_SUPPORT_BARCODES_DATAMATRIX_WRITE

Support for writing Data Matrix bar codes. This is available in the LEADTOOLS 2D Data Matrix Module (write).

 

L_SUPPORT_BARCODES_QR_READ

Support for reading QR bar codes. This is available in the LEADTOOLS 2D QR Module (read).

 

L_SUPPORT_BARCODES_QR_WRITE

Support for writing QR bar codes. This is available in the LEADTOOLS 2D QR Module (write).

 

L_SUPPORT_BITONAL

Support for Scale to Gray and Favor Black processing.

 

L_SUPPORT_CMW

Support for writing CMW images, which use Wavelet CMP compression. Read support is not locked.

 

L_SUPPORT_DICOM

DICOM file format support, but not the DICOM Communication support.

 

L_SUPPORT_DOCUMENT

LEADTOOLS Document Imaging features. A LEADTOOLS Document license is required

 

L_SUPPORT_DOCUMENT_WRITERS

Support for LEADTOOLS Document Writer functionality.

 

L_SUPPORT_DOCUMENT_WRITERS_PDF

Support for PDF output when using the LEADTOOLS Document Writer functionality.

 

L_SUPPORT_EXTGRAY

Support for 12 bit grayscale, 16-bit grayscale, 48-bit color and 64-bit color image creation and manipulation.

 

L_SUPPORT_FORMS

Support for Forms Recognition and Processing functionality. Available in selected LEADTOOLS products.

 

L_SUPPORT_ICR_PLUS

Support for the ICR Module within the OCR Plus engine. This supports the recognition of handwritten text. Available in selected LEADTOOLS products.

 

L_SUPPORT_ICR_PROFESSIONAL

Support for the ICR Module within the OCR Professional engine. This supports the recognition of handwritten text. Available in selected LEADTOOLS products.

 

L_SUPPORT_J2K

Unlocks support for writing JPEG2000 images is included with toolkits. The support needs to be unlocked to write both types of JPEG 2000 images (JPEG 2000 stream and JP2 files). Read support is not locked.

 

L_SUPPORT_JBIG2

Support for the JBIG2 file format.

 

L_SUPPORT_JPIP

Support for JPIP Client and Server functionality. Available in selected LEADTOOLS products.

 

L_SUPPORT_LEAD_OMR

Support for the LEADTOOLS OMR Module. This supports the recognition of check boxes. Available in selected LEADTOOLS products.

 

L_SUPPORT_LTPRO

No longer needed.

 

L_SUPPORT_MEDIA_WRITER

Support for Data DVD Writing.  Available in selected LEADTOOLS products.

 

L_SUPPORT_MEDICAL

Support for the capabilities unlocked by L_SUPPORT_DICOM and L_SUPPORT_EXTGRAY, plus all Medical features.

 

L_SUPPORT_MEDICAL_NET

Support for everything unlocked by L_SUPPORT_MEDICAL, plus support for the unsecure DICOM Network Communication for Message Exchange.

 

L_SUPPORT_NITF

Support for the NITF file format. Available in selected LEADTOOLS products.

 

L_SUPPORT_OCR_ADVANTAGE

Support for the OCR features provided by the OCR Advantage engine. OCR add-on to Document and Medical Imaging toolkits.

 

L_SUPPORT_OCR_ADVANTAGE_PDF_LEAD_OUTPUT

Support for saving OCR results from the OCR Advantage engine as a PDF file using LEAD's proprietary PDF output. This license is in addition to the cost of the OCR Plugin or Document Imaging.

 

L_SUPPORT_OCR_ARABIC

Support for Arabic OCR.

 

L_SUPPORT_OCR_ARABIC_PDF_LEAD_OUTPUT

Support for saving OCR results from the OCR Arabic engine as a PDF file using LEAD's proprietary PDF output. This license is in addition to the cost of the OCR Plugin or Document Imaging.

 

L_SUPPORT_OCR_PLUS

Support for the OCR features provided by the OCR Plus engine. OCR add-on to Document and Medical Imaging toolkits.

 

L_SUPPORT_OCR_PLUS_PDF_LEAD_OUTPUT

Support for saving OCR results from the OCR Plus engine as a PDF file using LEAD's proprietary PDF output. This license is in addition to the cost of the OCR Plugin or Document Imaging.

 

L_SUPPORT_OCR_PROFESSIONAL

Support for the OCR features provided by the OCR Professional engine. OCR add-on to Document and Medical Imaging toolkits.

 

L_SUPPORT_OCR_PROFESSIONAL_ASIAN

Support for the OCR Professional engine to recognize Asian text. available in selected LEADTOOLS products.

 

L_SUPPORT_OCR_PROFESSIONAL_PDF_LEAD_OUTPUT

Support for saving OCR results from the OCR Professional engine as a PDF file using LEAD's proprietary PDF output. This license is in addition to the cost of the OCR Plugin or Document Imaging.

 

L_SUPPORT_PDF

Support for reading PDF file format.

 

L_SUPPORT_PDF_ADVANCED

Support for advanced PDF save and compression features. This includes MRC and JBIG2 support.

 

L_SUPPORT_PDF_READ

Support for the PDF, PS and EPS file formats. available in the LEADTOOLS PDF Plug in. If this support is locked, the PDF, PS and EPS files will not be loaded or saved.

 

L_SUPPORT_PDF_SAVE

Support for saving raster images as a PDF file. available in selected LEADTOOLS products.

 

L_SUPPORT_PRINT_DRIVER

Support for LEADTOOLS Virtual Printer Driver Driver functionality.

 

L_SUPPORT_PRINT_DRIVER_SERVER

Support for LEADTOOLS Virtual Printer Driver Driver functionality on Windows Server.

 

L_SUPPORT_VECTOR

Support for the Vector Features and Vector file formats. available in selected LEADTOOLS products.

 

L_SUPPORT_MEDICAL_3D

Support for the Medical 3D feature.

 

L_SUPPORT_MOBILE

Support for the Mobile Imaging feature.

pKey

The key to unlock the feature.

Returns

None

Comments

For more information about LEADTOOLS Imaging Pro, Document and Medical Imaging toolkit capabilities, contact LEAD.

For information on unlocking Document/Medical, refer to Document and Medical Support and Licensing Agreements.

The code examples in this toolkit use the UNLOCKSUPPORT macro, which is defined in the LTLCK.H header file. You can specify keys in the header file to unlock capabilities in the example programs.

Required DLLs and Libraries

LTKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Windows 2000 / XP/Vista, Windows CE.

See Also

Functions:

L_IsSupportLocked, L_VersionInfo

Example

Unlock PDF support. Note that this is a sample key, which will not work in your toolkit.

 L_INT UnlockSupportExample(L_VOID)
{
   L_UnlockSupport(L_SUPPORT_PDF, TEXT("TestKey"));

   /* Unlock  DOCUMENT support. Document toolkit required.
   Note that "Document_key" must be obtained from LEAD. */
   L_UnlockSupport(L_SUPPORT_DOCUMENT, TEXT("Document_key"));

   return SUCCESS;
}