Calls to Barcodec create a metafile picture on the clipboard, usually for collection by Visual Basic (version 5 and later).
int WINAPI BarCodec(LPRECT lpRectIn, LPLOGFONT lpLogFontIn, LPBAR bc)
Where
lpRectIn is a pointer to a rectangle representing the target image (in units of 0.01 mm)
lpLogFontIn is a pointer to a LOGFONT structure filled with information about the font with which any text will be displayed on the barcode. The font height will be treated as Points.
Bc is a BARCODE structure containing details of the barcode required.
More: