<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Problem beim ansprechen von UDO-device]]></title><description><![CDATA[<p>hy</p>
<p>folgendes problem:<br />
ich will ueberpruefen, ob das device ready/available ist.</p>
<p>dafuer bekomme ich via &quot;CreateFile&quot; ein handle, das ohne probleme funktioniert.</p>
<p>danach rufe ich &quot;DeviceIoControl&quot; auf...und diese liefert mir 0 zurueck. die parameter sind eben das handle, IOCTL_STORAGE_CHECK_VERIFY, null, 0, null, 0, dword, null. der error, der zurueckgeliefert wird ist Nummer 1.</p>
<p>der DriveType von dem udo-device ist DRIVE_FIXED.</p>
<p>die installatiion des devices hat problemlos funktioniert. OS ist win xp, glaub SP2. VisualStudio 6. hat wer eine idee was da los sein koennte? thx fuer jede hilfe</p>
<p>hier noch infos zum udo-device:<br />
<a href="http://www.speicherguide.de/magazin/background.asp?theID=925&amp;bhcp=1" rel="nofollow">http://www.speicherguide.de/magazin/background.asp?theID=925&amp;bhcp=1</a><br />
wird im win-explorer als festplatte angezeigt, also nicht als wechsellaufwerk.</p>
<p>EDIT:</p>
<p>hab nun herausgefunden, dass das dword (bytesReturned oder so aehnlich stehts in der msdn) einen negativen wert zurueckgibt. vielleicht versteht nun einer mehr wie ich?!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/187490/problem-beim-ansprechen-von-udo-device</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Jul 2026 00:06:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/187490.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Jul 2007 08:06:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem beim ansprechen von UDO-device on Fri, 20 Jul 2007 11:26:07 GMT]]></title><description><![CDATA[<p>hy</p>
<p>folgendes problem:<br />
ich will ueberpruefen, ob das device ready/available ist.</p>
<p>dafuer bekomme ich via &quot;CreateFile&quot; ein handle, das ohne probleme funktioniert.</p>
<p>danach rufe ich &quot;DeviceIoControl&quot; auf...und diese liefert mir 0 zurueck. die parameter sind eben das handle, IOCTL_STORAGE_CHECK_VERIFY, null, 0, null, 0, dword, null. der error, der zurueckgeliefert wird ist Nummer 1.</p>
<p>der DriveType von dem udo-device ist DRIVE_FIXED.</p>
<p>die installatiion des devices hat problemlos funktioniert. OS ist win xp, glaub SP2. VisualStudio 6. hat wer eine idee was da los sein koennte? thx fuer jede hilfe</p>
<p>hier noch infos zum udo-device:<br />
<a href="http://www.speicherguide.de/magazin/background.asp?theID=925&amp;bhcp=1" rel="nofollow">http://www.speicherguide.de/magazin/background.asp?theID=925&amp;bhcp=1</a><br />
wird im win-explorer als festplatte angezeigt, also nicht als wechsellaufwerk.</p>
<p>EDIT:</p>
<p>hab nun herausgefunden, dass das dword (bytesReturned oder so aehnlich stehts in der msdn) einen negativen wert zurueckgibt. vielleicht versteht nun einer mehr wie ich?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1329008</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1329008</guid><dc:creator><![CDATA[baer1208]]></dc:creator><pubDate>Fri, 20 Jul 2007 11:26:07 GMT</pubDate></item><item><title><![CDATA[Reply to Problem beim ansprechen von UDO-device on Mon, 23 Jul 2007 13:23:59 GMT]]></title><description><![CDATA[<p>noch ein anhang:</p>
<p>getLastError nach DeviceIoControl(...)-aufruf gibt mir <strong>exception(1): Incorrect function</strong> zurueck</p>
<p>google sagt mir auch nur solche probleme mit cd/dvd-laufwerken (roxio-treiber war da meist das problem)</p>
<p>nja...vielleicht hat noch wer ne ahnung. falls ich noch was finde werde ich posten</p>
<p>bye</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1330839</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1330839</guid><dc:creator><![CDATA[baer1208]]></dc:creator><pubDate>Mon, 23 Jul 2007 13:23:59 GMT</pubDate></item><item><title><![CDATA[Reply to Problem beim ansprechen von UDO-device on Tue, 24 Jul 2007 01:02:08 GMT]]></title><description><![CDATA[<blockquote>
<p>hab nun herausgefunden, dass das dword (bytesReturned oder so aehnlich stehts in der msdn) einen negativen wert zurueckgibt. vielleicht versteht nun einer mehr wie ich?!</p>
</blockquote>
<p>Das ist OK so und auch in der MSDN dokumentiert. Der Wert in &quot;bytesReturned&quot; ist nach dem Aufruf von DeviceIoControl undefiniert und sollte nicht verwendet werden wenn kein Output-Buffer mitgegeben wurde.</p>
<p>Warum der IOCTL fehlschlägt weiss ich leider nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1331213</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1331213</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Tue, 24 Jul 2007 01:02:08 GMT</pubDate></item><item><title><![CDATA[Reply to Problem beim ansprechen von UDO-device on Wed, 25 Jul 2007 12:51:32 GMT]]></title><description><![CDATA[<p>thx fuer d antwort</p>
<p>problem geloest. treiber update.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1332280</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1332280</guid><dc:creator><![CDATA[baer1208]]></dc:creator><pubDate>Wed, 25 Jul 2007 12:51:32 GMT</pubDate></item></channel></rss>