<?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[Lock auf CreateFile ?]]></title><description><![CDATA[<p>Hi,</p>
<p>ich öffne ein HID USB Device mit</p>
<pre><code>HidDevHandle = CreateFile( detailData-&gt;DevicePath,
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
FILE_FLAG_OVERLAPPED,
NULL);
</code></pre>
<p>und möchte, das dieses Gerät nur noch für mich sichtbar ist.</p>
<p>Ein</p>
<pre><code>HidDevHandle = CreateFile( detailData-&gt;DevicePath,
GENERIC_READ | GENERIC_WRITE,
0,
NULL,
OPEN_EXISTING,
FILE_FLAG_OVERLAPPED,
NULL);
</code></pre>
<p>funktioniert leider nicht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>Wie kann man dieses Gerät / File so locken, das es für andere<br />
Applikationen nicht mehr zugreifbar ist ?</p>
<p>Gruß<br />
thenoname</p>
<p>ps. ein ähnlicher thread:</p>
<p><a href="http://www.everythingusb.com/forums/showthread.php?s=cfc4f491b6b7188c4fa777f7066782ce&amp;threadid=9760&amp;goto=nextnewest" rel="nofollow">http://www.everythingusb.com/forums/showthread.php?s=cfc4f491b6b7188c4fa777f7066782ce&amp;threadid=9760&amp;goto=nextnewest</a></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/148634/lock-auf-createfile</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 09:05:39 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/148634.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 May 2006 00:10:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Lock auf CreateFile ? on Mon, 29 May 2006 00:10:00 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich öffne ein HID USB Device mit</p>
<pre><code>HidDevHandle = CreateFile( detailData-&gt;DevicePath,
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
FILE_FLAG_OVERLAPPED,
NULL);
</code></pre>
<p>und möchte, das dieses Gerät nur noch für mich sichtbar ist.</p>
<p>Ein</p>
<pre><code>HidDevHandle = CreateFile( detailData-&gt;DevicePath,
GENERIC_READ | GENERIC_WRITE,
0,
NULL,
OPEN_EXISTING,
FILE_FLAG_OVERLAPPED,
NULL);
</code></pre>
<p>funktioniert leider nicht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>Wie kann man dieses Gerät / File so locken, das es für andere<br />
Applikationen nicht mehr zugreifbar ist ?</p>
<p>Gruß<br />
thenoname</p>
<p>ps. ein ähnlicher thread:</p>
<p><a href="http://www.everythingusb.com/forums/showthread.php?s=cfc4f491b6b7188c4fa777f7066782ce&amp;threadid=9760&amp;goto=nextnewest" rel="nofollow">http://www.everythingusb.com/forums/showthread.php?s=cfc4f491b6b7188c4fa777f7066782ce&amp;threadid=9760&amp;goto=nextnewest</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1067045</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1067045</guid><dc:creator><![CDATA[thenoname]]></dc:creator><pubDate>Mon, 29 May 2006 00:10:00 GMT</pubDate></item></channel></rss>