getModeName()

The getModeNmae() function may be used to obtain the names modes supported by the library.

Declaration

Int getModeName(int iType, int iMode, char * szName)

iType - is the barcode type

iMode - is the mode for which the name is required

szName - is a string buffer that receives that mode name as a null-terminated string. This buffer must exist and be at least 24 bytes in length.

The function returns -1 if the call is successful, with the mode name copied to the szName buffer; it returns 0 if the value of iType or iMode is not supported.

 

More:

getLevels()