L_CC_GetCardType

#include "ltcc.h"

L_LTCC_API L_INT L_CC_GetCardType (cardNumber, cardType)

const L_TCHAR* cardNumber;

pointer to the card number for detecting the card type

L_CC_CardType* cardType;

pointer to a L_CC_CardType to fill

Gets the L_CC_CardType from the specified credit card number.

Parameter

Description

cardNumber Pointer to a string containing the credit card number.
cardType Pointer to a L_CC_CardType to fill.

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, free it by calling L_CC_DestroyScanner. 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.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.