#include “BlackIceDEVMODE.h”
BOOL GetBarcodeValue (BlackIceDEVMODE* pDevMode, LPTSTR pValue, DWORD* pSize);
Description
Returns the value of the barcode. This value is used for the barcode generation if SetBarcodeValueSource is set to BARCODE_STRING (0).
If pValue is NULL or too small, the function returns FALSE, and pSize will contain the number of bytes required for storing the value. The maximum number of characters allowed 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.