GetBarcodeValueFile

 

 

#include “BlackIceDEVMODE.h”

 

BOOL            GetBarcodeValueFile (BlackIceDEVMODE* pDevMode, LPTSTR pValue, DWORD* pSize);

Description

Returns the file and path that is used for the value of the barcode. This value is used for the barcode generation if SetBarcodeValueSource is set to BARCODE_FILE (1).

If pValue is NULL or too small, the function returns FALSE, and pSize will contain the number of bytes required for storing the filename. The maximum number of characters allowed in the file depends on the set barcode type; in case of QR and PDF417 codes the error correction levels; and in case of QR, Datamatrix and PDF417 codes, the type of characters used. (digits, alphanumeric, etc.). The allowed characters depend on the barcode type used. For more information, please refer to the manual.

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

LPTSTR pValue                                           - pointer to the string

DWORD* pSize                                            - pointer to a variable that contains the length of pValue in bytes.

Return value

TRUE on success, otherwise FALSE.