- generates a barcode pattern string from a data string using the current default barcode properties.
int WINAPI BarCdp(LPSTR lpszin,LPSTR lpszout)
where lpszin is a pointer to a character string containing the data to be placed in the barcode, and lpszout is a pointer to a character buffer that will receive the pattern of 1s and 0s that represent bars and spaces respectively.
The function returns the length of the pattern string lpszout.
Visual Basic declaration:
Private Declare Function BarCds Lib "Dlsbar32" (ByVal y As String, ByVal x As String) As Long
More: