L_LTBAR_API L_INT L_BarCodeAAMVAIDOver18(pId, pszCurrentDate, bOver18)
Determines whether the cardholder is over 18 years old, based on the encoded data elements.
Pointer to the AAMVAID.
Pointer to the current date in yyyyMMdd format.
Pointer to a variable to be updated with the value indicating the cardholder is over 18 years old.
Possible values are:
|L_TRUE||The cardholder is over 18 years old.|
|L_FALSE||The cardholder is below 18 years old.|
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Acquisition of current date string left up to user.
Required DLLs and Libraries
Win32, x64, Linux.