<?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[WCHAR wszName[MAX_INTERFACE_NAME_LEN] , welche Format ?]]></title><description><![CDATA[<p>Hallo,<br />
Ich habe folgendes Problemm.</p>
<p>Ich habe ein device von type MIB_IFROW bekommen,<br />
nun möchte device.wszName zurückt geben,<br />
es funtioniert aber nicht. Hat jemand eine Idee welche Datentyp ich nehmen soll ?</p>
<p>printf(&quot;Speed %d\n&quot;, device.dwSpeed );<br />
printf(&quot;MTU %d\n&quot;, device.dwMtu );<br />
printf(&quot;Name %ws\n&quot;, (WCHAR) device.wszName); // Diese Zeile sieht man nicht !!!!</p>
<p>Hier der stuct von MS.</p>
<p>The MIB_IFROW structure stores information about a particular interface.</p>
<p>typedef struct _MIB_IFROW<br />
{<br />
WCHAR wszName[MAX_INTERFACE_NAME_LEN];<br />
DWORD dwIndex;<br />
DWORD dwType;<br />
..<br />
..<br />
...<br />
.....</p>
<p>DWORD dwMtu;<br />
DWORD dwSpeed;<br />
DWORD dwDescrLen;<br />
BYTE bDescr[MAXLEN_IFDESCR];</p>
<p>} MIB_IFROW, *PMIB_IFROW;</p>
<p>Gruss</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/73105/wchar-wszname-max_interface_name_len-welche-format</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 07:36:19 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/73105.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 May 2004 08:17:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WCHAR wszName[MAX_INTERFACE_NAME_LEN] , welche Format ? on Thu, 06 May 2004 08:17:47 GMT]]></title><description><![CDATA[<p>Hallo,<br />
Ich habe folgendes Problemm.</p>
<p>Ich habe ein device von type MIB_IFROW bekommen,<br />
nun möchte device.wszName zurückt geben,<br />
es funtioniert aber nicht. Hat jemand eine Idee welche Datentyp ich nehmen soll ?</p>
<p>printf(&quot;Speed %d\n&quot;, device.dwSpeed );<br />
printf(&quot;MTU %d\n&quot;, device.dwMtu );<br />
printf(&quot;Name %ws\n&quot;, (WCHAR) device.wszName); // Diese Zeile sieht man nicht !!!!</p>
<p>Hier der stuct von MS.</p>
<p>The MIB_IFROW structure stores information about a particular interface.</p>
<p>typedef struct _MIB_IFROW<br />
{<br />
WCHAR wszName[MAX_INTERFACE_NAME_LEN];<br />
DWORD dwIndex;<br />
DWORD dwType;<br />
..<br />
..<br />
...<br />
.....</p>
<p>DWORD dwMtu;<br />
DWORD dwSpeed;<br />
DWORD dwDescrLen;<br />
BYTE bDescr[MAXLEN_IFDESCR];</p>
<p>} MIB_IFROW, *PMIB_IFROW;</p>
<p>Gruss</p>
]]></description><link>https://www.c-plusplus.net/forum/post/515178</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/515178</guid><dc:creator><![CDATA[knopper]]></dc:creator><pubDate>Thu, 06 May 2004 08:17:47 GMT</pubDate></item><item><title><![CDATA[Reply to WCHAR wszName[MAX_INTERFACE_NAME_LEN] , welche Format ? on Thu, 06 May 2004 09:43:37 GMT]]></title><description><![CDATA[<p>Versuch's mal mit wprintf und %s <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/515221</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/515221</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Thu, 06 May 2004 09:43:37 GMT</pubDate></item><item><title><![CDATA[Reply to WCHAR wszName[MAX_INTERFACE_NAME_LEN] , welche Format ? on Thu, 06 May 2004 10:36:52 GMT]]></title><description><![CDATA[<p>Das habe ich auch schon gemacht,<br />
Werte von &quot;Name&quot; ist leer, ich sehe das nihct auf dem Bilschirm.</p>
<p>gruss</p>
]]></description><link>https://www.c-plusplus.net/forum/post/515242</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/515242</guid><dc:creator><![CDATA[knopper]]></dc:creator><pubDate>Thu, 06 May 2004 10:36:52 GMT</pubDate></item><item><title><![CDATA[Reply to WCHAR wszName[MAX_INTERFACE_NAME_LEN] , welche Format ? on Thu, 06 May 2004 10:43:48 GMT]]></title><description><![CDATA[<p>Ich hatte so gemacht:<br />
wprintf(L&quot;Name %s \n&quot;,details.wszName);</p>
]]></description><link>https://www.c-plusplus.net/forum/post/515247</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/515247</guid><dc:creator><![CDATA[knopper]]></dc:creator><pubDate>Thu, 06 May 2004 10:43:48 GMT</pubDate></item><item><title><![CDATA[Reply to WCHAR wszName[MAX_INTERFACE_NAME_LEN] , welche Format ? on Thu, 06 May 2004 10:45:54 GMT]]></title><description><![CDATA[<p>die struktur wird auch richtig gefüllt ? rückgabewert ?<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp/getifentry.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp/getifentry.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/515250</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/515250</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Thu, 06 May 2004 10:45:54 GMT</pubDate></item><item><title><![CDATA[Reply to WCHAR wszName[MAX_INTERFACE_NAME_LEN] , welche Format ? on Thu, 06 May 2004 11:47:07 GMT]]></title><description><![CDATA[<p>Wie gesagt es liefert alles zurück, ausser wzname, keine Ahnung warum</p>
<p>MIB_IFROW&amp; details = ((PMIB_IFTABLE)infInfo)-&gt;table[index];<br />
printf(&quot;Interface %d: %s\n&quot;,<br />
index, (LPCTSTR) details.bDescr );</p>
]]></description><link>https://www.c-plusplus.net/forum/post/515299</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/515299</guid><dc:creator><![CDATA[knopper]]></dc:creator><pubDate>Thu, 06 May 2004 11:47:07 GMT</pubDate></item><item><title><![CDATA[Reply to WCHAR wszName[MAX_INTERFACE_NAME_LEN] , welche Format ? on Thu, 06 May 2004 12:37:52 GMT]]></title><description><![CDATA[<p>Hast Du denn mal mit dem Debugger den Inhalt der Struktur überprüft? Stehen da wirklich alle Deine gewünschten Infos drin?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/515306</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/515306</guid><dc:creator><![CDATA[Hepi]]></dc:creator><pubDate>Thu, 06 May 2004 12:37:52 GMT</pubDate></item></channel></rss>