L_CC_CreateScanner

#include "ltcc.h"

L_LTCC_API L_INT L_CC_CreateScanner (scanner, options)

L_CC_Scanner* scanner;

pointer to the handle to the credit card scanner

const L_CC_ScannerOptions* options;

pointer to a  structure

Initializes the scanner session.

Parameter

Description

scanner Pointer to the credit card scanner handle. This handle is needed to work with the Credit Cards API.
options Pointer to a L_CC_ScannerOptions structure. This structure contains the global options that are applied to each frame used by the scanner. Pass NULL to use the default values.

Returns

SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Call L_CC_CreateScanner before calling any other LEADTOOLS Credit Cards toolkit functions.

When the handle to the scanner session is no longer needed, call L_CC_DestroyScanner to free the handle. For every call to L_CC_CreateScanner there must be a call to L_CC_DestroyScanner.

For a complete example, refer to the CreditCardCapture demo.

Required DLLs and Libraries

LTCC
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
See Also
Functions: L_CC_DestroyScanner
Topics: Scanning a Credit Card

 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.