Bar2Dinf

Calls to Bar2DInf with an integer value specifying the barcode type in itype will return bc the abbreviated name of that type

Bar2DInf returns the value of itype for code types that it can process; otherwise it returns -1.

Thus to fill a list box with the names of available code types the following sample code may be used:

for (i=0; (Bar2DInf(hModule,i,&bc)>=0); i++){

SendDlgItemMessage(hDlg,IDD_TYPE,CB_ADDSTRING,0,(LONG)(LPSTR)bc.name);

          }

int WINAPI BarInfo(HANDLE hModule, int itype,LPBAR2D bc)

where

hModule is the Module handle of the calling application.

itype is the barcode type index (0-27), and

bc is a long pointer to a BARCODE2D structure.

 

More:

Bar2Dinit