L_BarCodeAAMVAIDOver19

Summary

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

Syntax

#include "ltbar.h"

L_LTBAR_API L_INT L_BarCodeAAMVAIDOver19(pId, pszCurrentDate, bOver19)

Parameters

const AAMVAID * pId

Pointer to the AAMVAID.

const L_CHAR * pszCurrentDate

Pointer to the current date in yyyyMMdd format.

L_BOOL * bOver19

Pointer to a variable to be updated with the value indicating the cardholder is over 19 years old.
Possible values are:

Value Meaning
L_TRUE The cardholder is over 19 years old.
L_FALSE The cardholder is below 19 years old.

Returns

Value Meaning
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

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_BarCodeParseAAMVAData

Help Version 22.0.2022.12.13
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Barcode C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.