BarCdv()

 - creates text for Universal Barcode Font using the current default barcode characteristics and returns text in szOut

Declared for C as

int WINAPI BarCdv(LPSTR szIn , LPINT n, LPSTR szOut, LPSTR fname, LPINT fht);

where szIn is a pointer to a string containing the text which is to be converted into the barcode;
n is the number of characters in the string (or 0 – in which case the string may not contain NULL characters),
szOut is a pointer to a string which will receive the characters to be rendered in the barcode font.

fname returns the current default barcode font name, and

fht returns the current default barcode font height in points.

Returns the number of characters in szOut. If the return is negative it represent the negative of an errorcode.

Basic declaration

Private Declare Function BarCdv Lib "dlunif" (ByVal szIn As String, ByRef n As Long, _
ByVal szOut As String, ByVal szFnt As String, ByRef fntht As Long) As Long

 

More:

BarCdvc()