the ImageScanner (in C or C++) looks for barcodes in a library defined image object; the Window abstraction (in C or C++) sinks ... direct interaction with barcode scanning and decoding:.
zbar.sourceforge.net