锘??xml version="1.0" encoding="utf-8" standalone="yes"?>91精品婷婷国产综合久久,久久亚洲中文字幕精品一区,久久伊人影视http://www.shnenglu.com/edog/category/474.html鍐板喕鐑嫍zh-cnWed, 21 May 2008 20:37:15 GMTWed, 21 May 2008 20:37:15 GMT60涓涓覆鍙i氳鐨勭被http://www.shnenglu.com/edog/archive/2007/11/21/37062.html鍐板喕鐑嫍鍐板喕鐑嫍Wed, 21 Nov 2007 02:28:00 GMThttp://www.shnenglu.com/edog/archive/2007/11/21/37062.htmlhttp://www.shnenglu.com/edog/comments/37062.htmlhttp://www.shnenglu.com/edog/archive/2007/11/21/37062.html#Feedback0http://www.shnenglu.com/edog/comments/commentRss/37062.htmlhttp://www.shnenglu.com/edog/services/trackbacks/37062.html闃呰鍏ㄦ枃

鍐板喕鐑嫍 2007-11-21 10:28 鍙戣〃璇勮
]]>
涓浜涘父鐢ㄥ嚱鏁?/title><link>http://www.shnenglu.com/edog/archive/2007/11/21/37060.html</link><dc:creator>鍐板喕鐑嫍</dc:creator><author>鍐板喕鐑嫍</author><pubDate>Wed, 21 Nov 2007 02:12:00 GMT</pubDate><guid>http://www.shnenglu.com/edog/archive/2007/11/21/37060.html</guid><wfw:comment>http://www.shnenglu.com/edog/comments/37060.html</wfw:comment><comments>http://www.shnenglu.com/edog/archive/2007/11/21/37060.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/edog/comments/commentRss/37060.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/edog/services/trackbacks/37060.html</trackback:ping><description><![CDATA[1銆佸彇褰撳墠璺緞<br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #000000">    </span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000"> szCurPath[</span><span style="COLOR: #000000">256</span><span style="COLOR: #000000">];<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top>    GetModuleFileName(NULL, szCurPath, </span><span style="COLOR: #000000">256</span><span style="COLOR: #000000">);<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">strlen(szCurPath)</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">; i</span><span style="COLOR: #000000">>=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">; i</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">)<br><img id=Codehighlighter1_108_179_Open_Image onclick="this.style.display='none'; Codehighlighter1_108_179_Open_Text.style.display='none'; Codehighlighter1_108_179_Closed_Image.style.display='inline'; Codehighlighter1_108_179_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_108_179_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_108_179_Closed_Text.style.display='none'; Codehighlighter1_108_179_Open_Image.style.display='inline'; Codehighlighter1_108_179_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top>    </span><span id=Codehighlighter1_108_179_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_108_179_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>        </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(szCurPath[i] </span><span style="COLOR: #000000">==</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">\\</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">)<br><img id=Codehighlighter1_141_176_Open_Image onclick="this.style.display='none'; Codehighlighter1_141_176_Open_Text.style.display='none'; Codehighlighter1_141_176_Closed_Image.style.display='inline'; Codehighlighter1_141_176_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_141_176_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_141_176_Closed_Text.style.display='none'; Codehighlighter1_141_176_Open_Image.style.display='inline'; Codehighlighter1_141_176_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </span><span id=Codehighlighter1_141_176_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_141_176_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>            szCurPath[i</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">]</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>            </span><span style="COLOR: #0000ff">break</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        }</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>    }</span></span></div> <br>2銆佽緗瓹ListCtrl椋庢牸<br>m_List1.SetExtendedStyle(LVS_EX_GRIDLINES | LVS_EX_FULLROWSELECT | LVS_EX_HEADERDRAGDROP);<br><br>3銆両NI鏂囦歡鎿嶄綔<br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000"> ss[</span><span style="COLOR: #000000">20</span><span style="COLOR: #000000">];<br>GetPrivateProfileString(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">COMM</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">BaudRate</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">""</span><span style="COLOR: #000000">, ss, </span><span style="COLOR: #000000">20</span><span style="COLOR: #000000">, szCurPath);<br>WritePrivateProfileString(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">COMM</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">BaudRate</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">, ss, szCurPath);</span></div> <br>4銆佸瓧絎︿覆杞負(fù)16榪涘埗<br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"> CommUtils::HexToChar(unsigned </span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">hex, </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> dwLength, </span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">buf)<br>{<br>    </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> i;<br>    </span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000"> s[</span><span style="COLOR: #000000">10</span><span style="COLOR: #000000">];<br>    buf[</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">]</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br>    </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">; i</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">dwLength; i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br>    {<br>        sprintf(s, </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%02X </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">, hex[i]);<br>        strcat(buf, s);<br>    }<br>}</span></div> <img src ="http://www.shnenglu.com/edog/aggbug/37060.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/edog/" target="_blank">鍐板喕鐑嫍</a> 2007-11-21 10:12 <a href="http://www.shnenglu.com/edog/archive/2007/11/21/37060.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>璇誨彇紜洏鐗╃悊搴忓垪鍙?/title><link>http://www.shnenglu.com/edog/archive/2005/12/01/1455.html</link><dc:creator>鍐板喕鐑嫍</dc:creator><author>鍐板喕鐑嫍</author><pubDate>Wed, 30 Nov 2005 18:23:00 GMT</pubDate><guid>http://www.shnenglu.com/edog/archive/2005/12/01/1455.html</guid><wfw:comment>http://www.shnenglu.com/edog/comments/1455.html</wfw:comment><comments>http://www.shnenglu.com/edog/archive/2005/12/01/1455.html#Feedback</comments><slash:comments>23</slash:comments><wfw:commentRss>http://www.shnenglu.com/edog/comments/commentRss/1455.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/edog/services/trackbacks/1455.html</trackback:ping><description><![CDATA[<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>WINNT</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓嬪疄鐜扮殑錛?/SPAN><SPAN lang=EN-US>WIN98</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓嬩笉琛岋紝緗戜笂鎼滅儲浜嗕竴閫氾紝楂樹漢緇欏嚭</SPAN><SPAN lang=EN-US>WIN98</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓嬬殑瀹炵幇浠g爜瑕佺敤鍒版眹緙栵紝榪樿鍙栧緱</SPAN><SPAN lang=EN-US>Ring0</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">綰у埆鐨勬帶鍒舵潈錛岀媯鏅曪綖锝烇綖鍋舵瘯涓氬悗灝辨妸姹囩紪榪樼粰鑰佸笀浜嗭紝榪樻槸鑰佽佸疄瀹炵敤</SPAN><SPAN lang=EN-US>C++</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">浠g爜鍚с傚叿浣撶殑</SPAN><SPAN lang=EN-US>C++</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍜屾眹緙栨簮鐮佸彲浠ュ湪姝ゆ壘鍒幫細(xì)</SPAN><SPAN lang=EN-US><A >http://www.cz88.net/2004/7-7/235257.htm</A> </SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US> <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">璇誨彇紜洏鐗╃悊搴忓垪鍙鋒湁浠涔堢敤錛熺敤鏉ュ杞歡鍔犲瘑鏈濂戒簡錛屽埆鍛婅瘔鎴戜綘鏄敤</SPAN><SPAN lang=EN-US>C</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐩樼殑閫昏緫搴忓垪鍙鋒潵鍔犲瘑鐨勶紝閭d釜鍐啲鍙槸鍙互鐢ㄧ▼搴忔敼鐨勩備笉榪囧惉璇寸幇鍦ㄨ繛紜洏鐨勭墿鐞嗗簭鍒楀彿涔熷彲浠ユ敼錛屼笉鐭ラ亾鎬庝箞鎵嶈兘鏀瑰憿錛岄珮浜烘寚鐐逛竴涓嬨傝繖涓▼搴忎富瑕佹槸閽堝鏈夊簭鍒楀彿鐨?/SPAN><SPAN lang=EN-US>IDE HDD</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鑰岃█</SPAN><SPAN lang=EN-US>, </SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀵逛簬娌℃湁搴忓垪鍙鋒垨</SPAN><SPAN lang=EN-US>SCSI HDD</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">紜洏鍒欐棤鑳戒負(fù)鍔涳紝榪欐槸鍏跺眬闄愭с?/SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US> <o:p></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹炵幇鍘熺悊錛?/SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></B></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; tab-stops: list 18.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US>1銆?SPAN style="FONT: 7pt 'Times New Roman'">  </SPAN></SPAN><SPAN lang=EN-US>CreateFile</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍙互鎵撳紑鐗╃悊璁懼鍜屼覆鍙g瓑錛屼嬌鐢?/SPAN><SPAN lang=EN-US>CreateFile("<A href="file://.//PHYSICALDRIVE0">\\\\.\\PHYSICALDRIVE0</A>",鈥?</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鎵撳紑紜洏錛屽叾涓殑</SPAN><SPAN lang=EN-US>0</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓?/SPAN><SPAN lang=EN-US>0-255</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛岃涔庢湁鍑犱釜紜洏浜嗐?/SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; tab-stops: list 18.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US>2銆?SPAN style="FONT: 7pt 'Times New Roman'">  </SPAN></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">浣跨敤</SPAN><SPAN lang=EN-US>DeviceIoControl</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍑芥暟瀵規(guī)墦寮鐨勮澶囪繘琛岄氫俊錛屽彂閫佹寚瀹氬懡浠わ紝鏍規(guī)嵁榪斿洖鐨?/SPAN><SPAN lang=EN-US>PSENDCMDOUTPARAMS</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">緇撴瀯錛屽緱鍒扮墿鐞嗗簭鍒楀彿鍜屾ā鍨嬪彿錛屾妸鐗╃悊搴忓垪鍙峰拰妯″瀷鍙鋒牸寮忓寲涓轟竴瀹氱殑鏍煎紡杈撳嚭銆?BR><IMG height=297 alt=DiskInfo.jpg src="http://www.shnenglu.com/images/cppblog_com/edog/DiskInfo.jpg" width=461 border=0><BR><BR>欏轟究鎶婂悇涓昏緫椹卞姩鍣ㄧ殑淇℃伅涔熻鍙栦竴涓嬶紝鍖呮嫭鍗鋒爣錛岄┍鍔ㄥ櫒綾誨瀷鍜岄昏緫搴忓垪鍙風(fēng)瓑銆備富瑕佹槸鐢℅etLogicalDriveStrings鍜孏etVolumeInformation鍜孏etDriveType鍑犱釜API銆傚浘紺烘槸鍋剁殑鏈哄櫒涓婄殑緇撴灉銆?BR>紼嬪簭錛?A href="/Files/edog/DiskInfo.zip">diskinfo.zip</A><BR></SPAN></P><img src ="http://www.shnenglu.com/edog/aggbug/1455.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/edog/" target="_blank">鍐板喕鐑嫍</a> 2005-12-01 02:23 <a href="http://www.shnenglu.com/edog/archive/2005/12/01/1455.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍙栨湰鏈篒P鍦板潃鍜岀綉鍗″彿http://www.shnenglu.com/edog/archive/2005/11/30/1424.html鍐板喕鐑嫍鍐板喕鐑嫍Tue, 29 Nov 2005 17:13:00 GMThttp://www.shnenglu.com/edog/archive/2005/11/30/1424.htmlhttp://www.shnenglu.com/edog/comments/1424.htmlhttp://www.shnenglu.com/edog/archive/2005/11/30/1424.html#Feedback15http://www.shnenglu.com/edog/comments/commentRss/1424.htmlhttp://www.shnenglu.com/edog/services/trackbacks/1424.html鐣岄潰濡備笅錛屼富瑕佹槸浣跨敤Winsock鐨勪竴浜涗笢涓滃彇鏈哄櫒鍚嶅拰IP鍦板潃錛屽彇緗戝崱灝遍夯鐑︿簺錛岄渶瑕佸彂閫?/SPAN>Netbios鍛戒護(hù)錛岄渶瑕佹敞鎰忕殑鏄渶瑕佸寘鍚?/SPAN>winsock2.h鍜?/SPAN>nb30.h錛屽茍涓旇寮曞叆涓や釜lib錛?BR>GetIPName.jpg

鍖呭惈澶村拰lib濡備笅錛?BR>
#include<winsock2.h>
#include 
<nb30.h>
#pragma comment(lib, 
"netapi32.lib")
#pragma comment(lib, 
"Wsock32.lib")

鍏蜂綋鐨勫疄鐜板弬鑰冩簮紼嬪簭銆?/SPAN>

婧愮▼搴忎笅杞斤細(xì)http://www.shnenglu.com/Files/edog/GetIPName.rar


鏍規(guī)嵁shootingstars 鐨勬寚鐐癸紝緙栧啓浜嗕竴涓嬬敤 Iphlpapi 鍙朓P鍦板潃鐨勪唬鐮侊紝鍙互鍙栨湰鏈篒P錛岀綉鍏矷P錛屽瓙緗戞帺鐮侊紝緗戝崱鍚嶅瓧絳夛紝闇瑕佸湪VC7涓婄紪璇戯細(xì)

#include "stdio.h" 
#include 
"windows.h" 
#include 
"Iphlpapi.h" 
#pragma comment(lib, 
"Iphlpapi.lib"
void main() 

IP_ADAPTER_INFO pAdapterInfo; 
ULONG len 
= sizeof(pAdapterInfo); 

if(GetAdaptersInfo(&pAdapterInfo, &len) != ERROR_SUCCESS) 

printf(
"GetAdaptersInfo ERROR!\n"); 
}
 
else 

printf(
"AdapterName: %s\n", pAdapterInfo.AdapterName); 
printf(
"Description: %s\n", pAdapterInfo.Description); 
printf(
"IP Address : %s\n", pAdapterInfo.IpAddressList.IpAddress.String); 
printf(
"IP Mask : %s\n", pAdapterInfo.IpAddressList.IpMask.String); 
printf(
"Gateway IP : %s\n", pAdapterInfo.GatewayList.IpAddress.String); 
}
 
}
 

杈撳嚭緇撴灉濡備笅錛?nbsp;
AdapterName: 
{475CB3CA-3478-415A-86D8-7E5982306F58} 
Description: D
-Link DFE-530TX PCI Fast Ethernet Adapter (rev.C) 
IP Address : 
192.168.168.23 
IP Mask : 
255.255.255.0 
Gateway IP : 
192.168.168.10 


]]>
鏂囦歡鏀瑰悕灝忕▼搴?/title><link>http://www.shnenglu.com/edog/archive/2005/11/30/1423.html</link><dc:creator>鍐板喕鐑嫍</dc:creator><author>鍐板喕鐑嫍</author><pubDate>Tue, 29 Nov 2005 16:52:00 GMT</pubDate><guid>http://www.shnenglu.com/edog/archive/2005/11/30/1423.html</guid><wfw:comment>http://www.shnenglu.com/edog/comments/1423.html</wfw:comment><comments>http://www.shnenglu.com/edog/archive/2005/11/30/1423.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.shnenglu.com/edog/comments/commentRss/1423.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/edog/services/trackbacks/1423.html</trackback:ping><description><![CDATA[<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">寰堜箙浠ュ墠鍐欑殑涓涓皬紼嬪簭錛屼負(fù)浜嗚嚜宸卞伐浣滅殑鏂逛究銆備互鍓嶅伐浣滆鐢ㄥ埌涓浜涘伐紼嬩唬鐮侊紝緇撴瀯鏄浐瀹氱殑錛屽張涓嶈兘浣跨敤</SPAN><SPAN lang=EN-US>VC</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏉ュ緩绔嬪伐紼嬶紝鍙ソ姣忔鍋氫竴涓柊鐨勭▼搴忛兘鎷垮師鏉ョ殑紼嬪簭宸ョ▼鏀瑰悕錛岀劧鍚庡啀鐢?/SPAN><SPAN lang=EN-US>UltraEdit</SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">絳夋墦寮姣忎釜婧愭枃浠跺啀鏀瑰瓧絎︿覆錛屾瘮杈冪畝鍗曞疄鐢紝鐢ㄦ潵鏀逛唬鐮佸伐紼嬫濂姐?BR></SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT color=#ff1493><STRONG>涓嬭澆錛?/STRONG></FONT><A HREF="/Files/edog/ChangeName.rar">http://www.shnenglu.com/Files/edog/ChangeName.rar</A><BR> <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><B><SPAN lang=EN-US style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓銆?SPAN style="FONT: 7pt 'Times New Roman'">             </SPAN></SPAN></B><B><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">紼嬪簭浠嬬粛</SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></B></P><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 瀹嬩綋; mso-bidi-font-size: 12.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">浣跨敤鍩烘湰鐨勫璇濇紼嬪簭錛岀晫闈㈠涓嬶紝閫氳繃閫夋嫨鐩綍錛屾妸鍏朵腑鐨勬枃浠跺垪鍑猴紝杈撳叆闇瑕佷慨鏀圭殑鍚嶅瓧鍜屼慨鏀瑰悗鐨勫悕瀛楋紝鐒跺悗鎸夆滆漿鎹⑩濇寜閽嵆鍙?BR> <P align=center><IMG height=216 alt=ChangeName.jpg src="http://www.shnenglu.com/images/cppblog_com/edog/ChangeName.jpg" width=365 border=0></P><BR> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><B><SPAN lang=EN-US style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓銆?SPAN style="FONT: 7pt 'Times New Roman'">             </SPAN></SPAN></B><B><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">紼嬪簭緇撴瀯</SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></B></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 39pt; TEXT-INDENT: -18pt; tab-stops: list 39.0pt; mso-list: l0 level2 lfo1"><SPAN lang=EN-US><FONT face="Times New Roman">1銆?SPAN style="FONT: 7pt 'Times New Roman'">  </SPAN></FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓昏浣跨敤浜嗕竴涓?/SPAN><SPAN lang=EN-US><FONT face="Times New Roman">PathDialog</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨勭被錛岀敤鏉ラ夋嫨鐩綍錛屾槸緗戜笂鎵劇殑銆?/SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 39pt; TEXT-INDENT: -18pt; tab-stops: list 39.0pt; mso-list: l0 level2 lfo1"><SPAN lang=EN-US><FONT face="Times New Roman">2銆?SPAN style="FONT: 7pt 'Times New Roman'">  </SPAN></FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">閫夋嫨浜嗙洰褰曞悗錛屼嬌鐢?/SPAN><SPAN lang=EN-US><FONT face="Times New Roman">CListBox</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨?/SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Dir</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍑芥暟鎶婃枃浠跺垪涓懼嚭鏉ワ紝鐪佺暐浜嗙敤</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">FindFile</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍘繪壘鏂囦歡鐨勯夯鐑︼細(xì)錛?/SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 39pt; TEXT-INDENT: -18pt; tab-stops: list 39.0pt; mso-list: l0 level2 lfo1"><SPAN lang=EN-US><FONT face="Times New Roman">3銆?SPAN style="FONT: 7pt 'Times New Roman'">  </SPAN></FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">杞崲鏃朵粠</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">ListBox</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">璇誨彇姣忎釜鏂囦歡錛屽啀鏍規(guī)嵁婧愬瓧絎︿覆鍜岀洰鏍囧瓧絎︿覆錛屼嬌鐢?/SPAN><SPAN lang=EN-US><FONT face="Times New Roman">rename</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍑芥暟鏀瑰悕錛岃璁頒綇鍔犱笂鏂囦歡鐨勮礬寰勩?/SPAN></P><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 瀹嬩綋; mso-bidi-font-size: 12.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">瀹屾垚鏀瑰悕鍚庨噸鏂板垪涓炬枃浠跺埌</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-fareast-font-family: 瀹嬩綋; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">ListBox</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 瀹嬩綋; mso-bidi-font-size: 12.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">錛屼竴鍒?/SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-fareast-font-family: 瀹嬩綋; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">OVER</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 瀹嬩綋; mso-bidi-font-size: 12.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">銆?/SPAN></SPAN><img src ="http://www.shnenglu.com/edog/aggbug/1423.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/edog/" target="_blank">鍐板喕鐑嫍</a> 2005-11-30 00:52 <a href="http://www.shnenglu.com/edog/archive/2005/11/30/1423.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鐢╒C++6.0緙栫▼瀹炵幇姹夊瓧鎷奸煶鏌ユ壘http://www.shnenglu.com/edog/archive/2005/11/30/1422.html鍐板喕鐑嫍鍐板喕鐑嫍Tue, 29 Nov 2005 16:25:00 GMThttp://www.shnenglu.com/edog/archive/2005/11/30/1422.htmlhttp://www.shnenglu.com/edog/comments/1422.htmlhttp://www.shnenglu.com/edog/archive/2005/11/30/1422.html#Feedback15http://www.shnenglu.com/edog/comments/commentRss/1422.htmlhttp://www.shnenglu.com/edog/services/trackbacks/1422.html闃呰鍏ㄦ枃

鍐板喕鐑嫍 2005-11-30 00:25 鍙戣〃璇勮
]]>
国内高清久久久久久| 久久精品国产久精国产一老狼| 国产精品久久久久jk制服| 国产精品对白刺激久久久| 青青青青久久精品国产h| 久久九九免费高清视频| 综合久久给合久久狠狠狠97色 | 久久精品三级视频| 久久亚洲AV成人无码| 久久精品成人免费网站| 亚洲一级Av无码毛片久久精品| 婷婷综合久久中文字幕蜜桃三电影| 91精品婷婷国产综合久久| 久久久久久精品免费看SSS| 91久久精品国产成人久久| 久久精品国产日本波多野结衣| 日本久久久久久中文字幕| 久久人人爽人人人人爽AV| 国产精品99久久久久久猫咪| 久久综合狠狠综合久久| 久久久久国产一区二区| 热久久国产精品| 国产精品久久成人影院| 亚洲∧v久久久无码精品| 欧美日韩中文字幕久久久不卡| 久久99热精品| 72种姿势欧美久久久久大黄蕉| 久久99久国产麻精品66| 久久久久亚洲精品中文字幕| 精品综合久久久久久97超人| 色婷婷久久综合中文久久蜜桃av| 国内精品久久国产| 亚洲精品综合久久| 色婷婷狠狠久久综合五月| 伊人色综合久久天天| 国产69精品久久久久9999| 亚洲国产精品一区二区久久| 久久精品一区二区国产| 久久久久久免费一区二区三区| 久久久久久亚洲Av无码精品专口| 久久久国产精品亚洲一区|