.net/com/ocx: Object.ScanBarCodeFromDIB(hDIB) Parameters hBarcode Handle to an instance of the barcode toolkit (dll only). Return Value -1 N/A Remarks Scan the specified device independent bitmap for bar code strings and return the number of bar codes found. The image must be single plane. A device independent barcode can be created by calling the Windows GDI function CreateDIBSection. Note that the function will stop when the first barcode is found in a document unless the MulipleRead property is set to True. See also ScanBarCodeFromBitmap VB.Net: Private Declare Function mtScanBarCodeFromDIB Lib "SoftekBarcode" (ByVal hBarcode As System.IntPtr, ByVal hDIB As IntPtr) As Short Visual C++: extern "C" {
dll: mtScanBarCodeFromDIB(hBarcode, hDIB)
hDIB handle (HDIB) to a device independent bitmap.
-2 DIB is multi-plane
-3 Invalid number of bits per sample
-4 Memory allocation error
-5 N/A
-6,-7,-8 Invalid license key.
short __stdcall mtScanBarCodeFromDIB(HANDLE hBarcode, long hDIB);
}



