<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.viewtool.com/wiki/index.php?action=history&amp;feed=atom&amp;title=VGI_CloseDevice</id>
		<title>VGI CloseDevice - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.viewtool.com/wiki/index.php?action=history&amp;feed=atom&amp;title=VGI_CloseDevice"/>
		<link rel="alternate" type="text/html" href="http://www.viewtool.com/wiki/index.php?title=VGI_CloseDevice&amp;action=history"/>
		<updated>2026-05-04T19:43:22Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.viewtool.com/wiki/index.php?title=VGI_CloseDevice&amp;diff=270658&amp;oldid=prev</id>
		<title>Xuzuolan: Created page with &quot;Close the opened device.  ==== Prototype ==== int32_t WINAPI VGI_CloseDevice(int32_t DevType,int32_t DevIndex); ==== Parameter ==== '''DevType''':Device type code. For detail,...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.viewtool.com/wiki/index.php?title=VGI_CloseDevice&amp;diff=270658&amp;oldid=prev"/>
				<updated>2021-04-18T09:20:00Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Close the opened device.  ==== Prototype ==== int32_t WINAPI VGI_CloseDevice(int32_t DevType,int32_t DevIndex); ==== Parameter ==== &amp;#039;&amp;#039;&amp;#039;DevType&amp;#039;&amp;#039;&amp;#039;:Device type code. For detail,...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Close the opened device.&lt;br /&gt;
&lt;br /&gt;
==== Prototype ====&lt;br /&gt;
int32_t WINAPI VGI_CloseDevice(int32_t DevType,int32_t DevIndex);&lt;br /&gt;
==== Parameter ====&lt;br /&gt;
'''DevType''':Device type code. For detail, please refer to Device Type Definition Table.&amp;lt;br&amp;gt;&lt;br /&gt;
'''DevIndex''':Device index number. Index number 0 indicates only one device is connected with computer. In case multiple devices are connected, set index number corresponding to the devices required to be openeded.&amp;lt;br&amp;gt;&lt;br /&gt;
==== Return code ====&lt;br /&gt;
Program execution state. Parameter 0 indicates related function executes successfully. For other return codes' definition, please refer to Error Code Definition Table.&lt;br /&gt;
==== Example ====&lt;br /&gt;
 #include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
 #include &amp;quot;ControGPIO.h&amp;quot;&lt;br /&gt;
 int ret;&lt;br /&gt;
 ret = VGI_CloseDevice(VGI_USBGPIO, 0);&lt;br /&gt;
 if (ret != ERR_SUCCESS){&lt;br /&gt;
 printf(&amp;quot;Close device error!\n&amp;quot;);&lt;br /&gt;
 return;&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Xuzuolan</name></author>	</entry>

	</feed>