BarCdw ()

 - creates text for Universal Barcode Font and writes text to file szFilename

Declared for C as

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

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
szFilename is a pointer to a string which contains the fully qualified pathname of a file to receive the string of characters which represent the barcode when rendered in the PDF font.

Returns the number of characters written to file, or 0 if function fails.

Basic declaration

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

 

More:

Functions for setting and using default characteristics