BarCdf ()

 - creates text for Universal Barcode Font and returns text in szOut

Declared for C as

int WINAPI BarCdf(LPSTR szIn,LPINT n, LPINT code, LPINT flags, LPSTR szOut);

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),
code specifies the barcode type
flags sets barcode characteristics,
szOut is a pointer to a string which will receive the characters to be rendered in the barcode font.

Return the number of characters in the converted string, or less than zero if conversion has failed – in which case the absolute value of the return is the error code.

Basic declaration

Private Declare Function BarCdf Lib "dlunif" (ByVal szIn As String, ByRef n As Long, ByRef cd As Long, ByRef fl As Long, ByVal szOut As String) As Long

 

More:

BarCdc ()