Gets the cardholder's address postal code.
#include "ltbar.h"
L_LTBAR_API L_INT L_BarCodeAAMVAIDAddressPostalCode(pId, pszAddressPostalCode)
Pointer to the AAMVAID from which the address postal code will be retrieved.
Pointer to a character string to be updated with the cardholder's address postal code.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Separation using dashes or spaces are ignored.
Canadian postal codes are typically six alphanumeric characters long:
eg. M4RQ5R
United States postal codes are typically in the five numeric character pre-1983 format or the nine numeric character post-1983 ZIP+4 format:
eg. 28205 or 282053245
Mexican postal codes are typically five numeric characters long:
eg. 77508
Win32, x64, Linux.
For an example, refer to L_BarCodeParseAAMVAData