10350 Santa Monica Blvd. Suite 285,
Phone: 310-691-8920, 310-788-9840, Fax: 419-735-2419
Card Scanning Solutions 24
The states constant values in the country ARE NOT always consecutive
And should be obtained using the function GetNextStateByCountry.
1.1.24. GetNextCountry
Format
Return value
ID_ERR_COUNTRY_NOT_INIT : Returned if GetFirstCntry function was not called before..
ID_ERR_NO_MATCH: Returned if list has internal error.
ID_ERR_NO_NEXT_COUNTRY – Returned if this country is the last country in the list.
Return the next country constant.
Remarks
Use this function to obtain the next country in the country list. To obtain the
countries list call GetFirstCountry once to obtain the first country. Then
countiuousely call GetNextCountry until the value ID_ERR_NO_NEXT_COUNTRY
is returned.
1.1.25. GetNextStateByCountry
Format
Parameters
[in] country – Constant value of the country
Return value
ID_ERR_NO_MATCH: Bad country constant.
ID_ERR_COUNTRY_NOT_INIT : Returned if GetFirstCountry function was not called before..
ID_ERR_NO_NEXT_STATE – Returned if this state is the last state of the country state list .
Return the next state constant.
Remarks
Use this function to obtain the next state in the list.
GetNextCountry( ) As Long
GetNextStateByCountry (country As Integer) As Long