L_BarCodeAAMVAIDOver18

#include "ltbar.h"

L_LTBAR_API L_INT L_BarCodeAAMVAIDOver18(pId, pszCurrentDate, bOver18)

const AAMVAID * pId;

pointer the AAMVAID

const L_CHAR * pszCurrentDate;

current date

L_BOOL * bOver18;

the result

Determines whether the cardholder is over 18 years old, based on the encoded data elements.

Parameter

Description

pId Pointer to the AAMVAID.
pszCurrentDate Pointer to the current date in yyyyMMdd format.
bOver18 Pointer to a variable to be updated with the value indicating the cardholder is over 18 years old.
Value Meaning
L_TRUE The cardholder is over 18 years old.
L_FALSE The cardholder is below 18 years old.

Returns

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

Comments

Acquisition of current date string left up to user.

Required DLLs and Libraries

LTBAR 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

Win32, x64, Linux.

Help Version 20.0.2018.2.22
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Barcode C API Help