Int WINAPI BarCodewF(LPSTR szin, LPINT ni, LPSTR szout, LPSTR fontname, LPINT fontheight)
- generates a font based barcode string which is copied to the buffer pointed to by szout using the current default settings and the data string in the buffer pointed to by szin. The current default values for the barcode fontname and fontheight are copied to the buffers pointed to by the fontname and fontheight parameters. Any trailing characters in szin which have ASCII values of less than 33 are removed before the barcode is created. This avoids the data having a trailing carriage return, linefeed or space, which typically occurs when characters are selected by double-clicking on words in Microsoft Office applications.
(The ni parameter is not used in this version and should be 0.)
The return value is 0 if the barcode is created or an errorcode number in the event of an error.
Visual Basic declaration:
Private Declare Function BarCodewF Lib "Dlsbar34" (ByVal sin$, ByRef ni As Long, ByRef sout$, ByRef fontname$, ByRef fontheight As Long) As Long
More: