typedef struct { Char barcode[15]; Char cases[4]; Char units[4]; } RatScanDbRecord; //static void CloseBabboScanner(); static void CloseBCS2Scanner(); static DmOpenRef CreateScanDatabase(); static void DrawCustomTableItem(void* table, Int16 row, Int16 col, RectangleType* bounds); static UInt16 GetActiveFieldId(FormPtr form); static Int16 GetCheckedValue(UInt16 objId); static void *GetObjectPtrById(FormPtr form, UInt16 objId); static Boolean MainFormHandleEvent(EventPtr event); static void MainFormInit(FormPtr form); static void MainFormLoadTable(TablePtr table, Boolean updateScroll); //static Boolean OpenBabboScanner(); static Boolean OpenBCS2Scanner(); static DmOpenRef OpenScanDatabase(); static void ProcessScan(); static void SetFieldFocus(UInt16 objId); static Boolean StoreScanData();