DestroyBarcodeInstance - destroy an instance of the barcode toolkit (win32 dll only)
Syntax
mtDestroyBarcodeInstance(hBarcode)
Parameters
hBarcode Handle to an instance of the barcode toolkit.
Return Value
1/True on success and 0/False on failure.
Remarks
DestroyBarcodeInstance destroys an instance of the barcode toolkit and releases any resources used by the toolkit. This function only exists in the dll interface to the SDK.
Example:
Dim hBarcode As System.IntPtr
hBarcode = mtCreateBarcodeInstance()
mtDestroyBarcodeInstance(hBarcode)
Win32 dll declarations:
VB.Net:
Private Declare Function mtDestroyBarcodeInstance Lib “Softekbarcode” (ByVal hBarcode As System.IntPtr) As Short
Visual C++:
extern “C” {
short __stdcall mtDestroyBarcodeInstance(HANDLE hBarcode) ;
}