<?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=VDI_CloseDevice</id>
		<title>VDI 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=VDI_CloseDevice"/>
		<link rel="alternate" type="text/html" href="http://www.viewtool.com/wiki/index.php?title=VDI_CloseDevice&amp;action=history"/>
		<updated>2026-05-07T01:59:35Z</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=VDI_CloseDevice&amp;diff=277572&amp;oldid=prev</id>
		<title>Szmz: Created page with &quot;Close the opened device.&lt;br&gt;  ==== Prototype ==== int32_t WINAPI VDI_CloseDevice(int32_t DevType, int32_t DevIndex);&lt;br&gt; ==== Parameter ==== '''DevType''':Device type code. Fo...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.viewtool.com/wiki/index.php?title=VDI_CloseDevice&amp;diff=277572&amp;oldid=prev"/>
				<updated>2021-05-24T10:29:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Close the opened device.&amp;lt;br&amp;gt;  ==== Prototype ==== int32_t WINAPI VDI_CloseDevice(int32_t DevType, int32_t DevIndex);&amp;lt;br&amp;gt; ==== Parameter ==== &amp;#039;&amp;#039;&amp;#039;DevType&amp;#039;&amp;#039;&amp;#039;:Device type code. Fo...&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.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Prototype ====&lt;br /&gt;
int32_t WINAPI VDI_CloseDevice(int32_t DevType, int32_t DevIndex);&amp;lt;br&amp;gt;&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. &lt;br /&gt;
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.&amp;lt;br&amp;gt;&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
 #include &amp;quot;ControlDigRF.h&amp;quot;&lt;br /&gt;
 int ret; &lt;br /&gt;
 ret = VDI_CloseDevice(VDI_USBDIGRF, 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>Szmz</name></author>	</entry>

	</feed>