Bar2Dazw ()

 - creates text for Aztec font and writes text to file szFilename

Declared for C as

int WINAPI Bar2Dazw(LPSTR szIn,LPINT n, LPINT flags, LPINT level, LPINT mode,  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),
flags must be 0 in the present release,
mode is the mode for the barcode type (normally 0), and
szFilename is a pointer to a string that contains the full pathname of the file to receive the text. If the file exists it will be overwritten. If it does not exist it will be created if possible.

The call returns the number of bytes written to file, which is 0 in the event of a barcode creation error, or -1 in the event of a file creation error.

 

Basic declaration

Private Declare Function Bar2Dazw Lib "aztdf" (ByVal szIn As String, ByRef n As Long, ByRef fl As Long, ByRef lv As Long, ByRef mo As Long, ByRef szFilename As String) As Long

 

More:

Bar2Dazd ()