BarCdc ()

- creates text for Universal Barcode Font and copies text to the Windows clipboard

Declared for C as

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

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.

Returns 0 if successful, or –1 otherwise.

Basic declaration

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

More:

BarCdw ()