{"id":1285,"date":"2010-12-08T10:28:01","date_gmt":"2010-12-08T10:28:01","guid":{"rendered":"http:\/\/www.bardecode.com\/en1\/?p=1285"},"modified":"2013-02-12T10:28:32","modified_gmt":"2013-02-12T10:28:32","slug":"destroybarcodeinstance-destroy-an-instance-of-the-barcode-toolkit-win32-dll-only","status":"publish","type":"post","link":"https:\/\/www.bardecode.com\/en1\/destroybarcodeinstance-destroy-an-instance-of-the-barcode-toolkit-win32-dll-only\/","title":{"rendered":"DestroyBarcodeInstance &#8211; destroy an instance of the barcode toolkit (win32 dll only)"},"content":{"rendered":"<p><strong>Syntax<\/strong><\/p>\n<p><strong>mtDestroyBarcodeInstance<\/strong>(hBarcode)<\/p>\n<p><strong>Parameters<\/strong><\/p>\n<p>hBarcode\u00a0Handle to an instance of the barcode toolkit.<\/p>\n<p><strong>Return Value<\/strong><\/p>\n<p>1\/True on success and 0\/False on failure.<\/p>\n<p><strong>Remarks<\/strong><\/p>\n<p>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.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<p>Dim hBarcode As System.IntPtr<br \/>\nhBarcode = mtCreateBarcodeInstance()<br \/>\nmtDestroyBarcodeInstance(hBarcode)<\/p>\n<p><strong>Win32 dll declarations:<\/strong><\/p>\n<p><strong>VB.Net:<\/strong><\/p>\n<p>Private Declare Function mtDestroyBarcodeInstance Lib &#8220;Softekbarcode&#8221; (ByVal hBarcode As System.IntPtr) As Short<br \/>\n<strong>Visual C++:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>extern &#8220;C&#8221; {<br \/>\nshort __stdcall mtDestroyBarcodeInstance(HANDLE hBarcode) ;<\/p>\n<p>}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Syntax mtDestroyBarcodeInstance(hBarcode) Parameters hBarcode\u00a0Handle 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 =<\/p>\n<p><a href=\"https:\/\/www.bardecode.com\/en1\/destroybarcodeinstance-destroy-an-instance-of-the-barcode-toolkit-win32-dll-only\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[236,18],"tags":[],"class_list":["post-1285","post","type-post","status-publish","format-standard","hentry","category-documentation-for-our-toolkits-and-applications","category-knowledge-base"],"_links":{"self":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/1285"}],"collection":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/comments?post=1285"}],"version-history":[{"count":1,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/1285\/revisions"}],"predecessor-version":[{"id":1286,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/1285\/revisions\/1286"}],"wp:attachment":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/media?parent=1285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/categories?post=1285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/tags?post=1285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}