Bar2Dqrw ()

 - creates text for the QR font and writes to file szFilename

Declared for C as

int WINAPI Bar2Dqrw(LPINT code, LPSTR szIn,LPINT n, LPINT mode,  LPINT sec, LPSTR szFilename);

where code specifies the barcode type required (0 for QR Code, 1 for Micro QR Code)
szIn is a pointer to a string containing the text which is to be converted into the barcode;
n is normally 0; otherwise it may be the number of characters in the string if the string is to be interpreted as a byte stream,
mode specifies the mode, sec is the security level and szOut is a pointer to a string which will receive the characters to be rendered in the QR (AZT) font.

The security level has allowed values of 0 – 3 for all modes for QR Code, or 0 – 2 for Micro QR Code.

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 Bar2Dqrw Lib "dqrdf" (ByRef c As Long, ByVal szIn As String, ByRef n As Long, ByRef mo As Long, ByRef sec As Long, ByRef szFilename As String) As Long

 

More:

Bar2Dqrd ()