LONG BCGetCheckDigitsA ( t_BarCode pBarCode,
LPSTR  lpszCDText,
LONG  nSize 
)

Returns all computed check-digits for the current barcode.

Returns a string that contains all computed check-digits - in most cases 1 or 2 character(s). The string may contain unprintable characters (e.g. ASCII 0). Please note that symbology internal check sums (e.g. Mod-103 with Code-128) are not returned here. Call this function after BCCalcCD() or after BCCreate()

See also:
BCCalcCD(), BCCreate()
Parameters:
[in] pBarCode Pointer to barcode structure.
[in,out] lpszCDText Check-digit text buffer. If NULL this function returns only the number of check-digits.
[in] nSize Buffer size of lpszCDText.
Return values:
LONG Number of check-digits
-1 In case of error (buffer size to small)


© 2008 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Tue May 5 15:50:33 2009 for TEC-IT TBarCode Library 9.2 with doxygen 1.5.3