锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久久九九精品影院,伊人久久大香线蕉av不变影院,91精品国产高清91久久久久久http://www.shnenglu.com/davyy/浜庢棤澹板zh-cnThu, 08 May 2025 18:06:54 GMTThu, 08 May 2025 18:06:54 GMT60瑙e喅CFrameWnd鐨勮竟妗嗛棶棰?/title><link>http://www.shnenglu.com/davyy/archive/2006/11/14/15152.html</link><dc:creator>琛岃儨浜庤█</dc:creator><author>琛岃儨浜庤█</author><pubDate>Tue, 14 Nov 2006 05:49:00 GMT</pubDate><guid>http://www.shnenglu.com/davyy/archive/2006/11/14/15152.html</guid><wfw:comment>http://www.shnenglu.com/davyy/comments/15152.html</wfw:comment><comments>http://www.shnenglu.com/davyy/archive/2006/11/14/15152.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.shnenglu.com/davyy/comments/commentRss/15152.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/davyy/services/trackbacks/15152.html</trackback:ping><description><![CDATA[ <p align="left"> <br />澶у閮藉仛榪囧熀浜嶮FC Dialog鐨勫簲鐢ㄧ▼搴?鎴戞洿鍠滄鐢–FrameWnd媧劇敓綾繪潵瀹炵幇搴旂敤紼嬪簭鐨勪富妗嗘灦,鎴戜笉澶枩嬈DI妯℃澘,鍙堟槸Document鍙堟槸View鐨?MFC鑳岀潃浣犲共浜嗗緢澶氫簨鎯?<br />濂戒簡錛岃璇撮棶棰?澶у濡傛灉浣滆繃鍩轟簬CFrameWnd鐨勪富紿楀彛,鍙兘浼氬彂鐜頒富紿楀彛浼氭湁涓涓?D鐨勮竟妗?涓寮濮嬫垜鐢∕odifyStyle鍙戠幇涓嶈,閭e氨鍦≒reCreateWindow閲岄潰鍚?鍛靛懙,涔熶笉綆$敤,璺熻繘MFC鐨勪唬鐮?鍙戠幇CFrameWnd::PreCreateWindow浼氶噸緗甦wExStyle,濂戒簡鐪嬩唬鐮佸惂!<br /></p> <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">BOOL聽CMainFrame::PreCreateWindow(CREATESTRUCT</span> <span style="COLOR: #000000">&</span> <span style="COLOR: #000000">聽cs)聽<br /><img id="Codehighlighter1_52_182_Open_Image" onclick="this.style.display='none'; Codehighlighter1_52_182_Open_Text.style.display='none'; Codehighlighter1_52_182_Closed_Image.style.display='inline'; Codehighlighter1_52_182_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /></span> <span id="Codehighlighter1_52_182_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽BOOL聽bRet</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">CFrameWnd::PreCreateWindow(cs);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽</span> <span style="COLOR: #0000ff">if</span> <span style="COLOR: #000000">(bRet)<br /><img id="Codehighlighter1_110_165_Open_Image" onclick="this.style.display='none'; Codehighlighter1_110_165_Open_Text.style.display='none'; Codehighlighter1_110_165_Closed_Image.style.display='inline'; Codehighlighter1_110_165_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /></span> <span id="Codehighlighter1_110_165_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽cs.dwExStyle</span> <span style="COLOR: #000000">&=~</span> <span style="COLOR: #000000">WS_EX_CLIENTEDGE;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽TRUE;<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/InBlock.gif" align="top" />聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽FALSE;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span> </span> </div> <img src ="http://www.shnenglu.com/davyy/aggbug/15152.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/davyy/" target="_blank">琛岃儨浜庤█</a> 2006-11-14 13:49 <a href="http://www.shnenglu.com/davyy/archive/2006/11/14/15152.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍙堣榪?0-1浜?/title><link>http://www.shnenglu.com/davyy/archive/2006/09/27/13035.html</link><dc:creator>琛岃儨浜庤█</dc:creator><author>琛岃儨浜庤█</author><pubDate>Wed, 27 Sep 2006 08:34:00 GMT</pubDate><guid>http://www.shnenglu.com/davyy/archive/2006/09/27/13035.html</guid><wfw:comment>http://www.shnenglu.com/davyy/comments/13035.html</wfw:comment><comments>http://www.shnenglu.com/davyy/archive/2006/09/27/13035.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/davyy/comments/commentRss/13035.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/davyy/services/trackbacks/13035.html</trackback:ping><description><![CDATA[ <p>濂借薄榪樻槸鏈夌偣涓嶅紑蹇?澶ф鎼濼MD 杞歡姣忓ぉ閮芥湁瑙e喅涓嶅畬鐨勯棶棰?灝ゅ叾璞℃垜榪欑涓嶇煡閬撳ぉ楂樺湴鍘氱殑浜烘洿鏄姝?<br />鐗㈤獨瑕佸彂,涔熷緱緇х畫鎼?灞忓箷鎹曡幏鐨勭畻娉曠粓浜庝紭鍖栧嚭鏉ヤ簡,涓嬩竴姝ユ槸鐢ˋSF Container鎶婃暟鎹寘瑁呰搗鏉?鏁堟灉搴旇涓嶉敊,鎴戞湁鐐規悶涓嶆槑鐧界殑鏄疉VI鐨勭儲寮曚負浠涔堥偅涔堟參,鏁版嵁閲忓ぇ鏄竴鏂歸潰,鍏抽敭榪樻槸鏁版嵁緇勭粐涓婂瓨鍦ㄧ己闄?涓嶅MPEG4!<br />濡傛灉欏哄埄,搴旇鍦?0鏈堜喚灝卞彲浠ユ嬁鍑轟竴涓薄鏍風殑鐗堟湰鐨勫綍鍒惰蔣浠朵簡,搴旇鍙互姣欐帀涓鎵瑰瀮鍦懼綍灞忚蔣浠朵簡,榪欐槸鎴戝笇鏈涚湅鍒扮殑!<img height="19" src="http://www.shnenglu.com/Emoticons/77_77.gif" width="19" border="0" /><br />涓嬮潰鐨勪簨鎯呰繕寰堝錛屾瘡涓兘澶熷晝鐨勶紝鎴戣繕寰楀浜涜愬績錛屽皯浜涚劍铏戯紝涔熷笇鏈涜璇嗕竴浜涙湅鍙嬪ぇ瀹朵竴鍧楀悎浣滐紒</p> <img src ="http://www.shnenglu.com/davyy/aggbug/13035.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/davyy/" target="_blank">琛岃儨浜庤█</a> 2006-09-27 16:34 <a href="http://www.shnenglu.com/davyy/archive/2006/09/27/13035.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>寰侀?/title><link>http://www.shnenglu.com/davyy/archive/2006/09/18/12680.html</link><dc:creator>琛岃儨浜庤█</dc:creator><author>琛岃儨浜庤█</author><pubDate>Mon, 18 Sep 2006 05:55:00 GMT</pubDate><guid>http://www.shnenglu.com/davyy/archive/2006/09/18/12680.html</guid><wfw:comment>http://www.shnenglu.com/davyy/comments/12680.html</wfw:comment><comments>http://www.shnenglu.com/davyy/archive/2006/09/18/12680.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.shnenglu.com/davyy/comments/commentRss/12680.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/davyy/services/trackbacks/12680.html</trackback:ping><description><![CDATA[ <p>鎴戣寮濮嬪緛閫斾簡,涔熻鍓嶉潰鏄潶閫旀垨鑽嗘,榪欏凡緇忛兘涓嶉噸瑕佷簡,鏇村鍦ㄤ簬鎴戠殑鏈轟細涔熻鍙兘鍦ㄦ寰侀斾綋鐜頒簡,濡傛灉澶辮觸,涔熻灝辨剰鍛崇潃鎴戝湪IT琛屼笟鐨勫交搴曢瑕?鎴戣浜?<br />鎴戞妸鑷繁blog瀹氫負琛岃儨浜庤█,鎰忎箟灝卞湪榪欓噷,鎴戠殑璁″垝寮濮嬩簡,浠庝粖澶╁紑濮?</p> <img src ="http://www.shnenglu.com/davyy/aggbug/12680.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/davyy/" target="_blank">琛岃儨浜庤█</a> 2006-09-18 13:55 <a href="http://www.shnenglu.com/davyy/archive/2006/09/18/12680.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>濡備綍璁╀綘鐨勭▼搴忓畨鍏ㄩ氳繃windows闃茬伀澧?/title><link>http://www.shnenglu.com/davyy/archive/2006/07/24/10410.html</link><dc:creator>琛岃儨浜庤█</dc:creator><author>琛岃儨浜庤█</author><pubDate>Mon, 24 Jul 2006 08:01:00 GMT</pubDate><guid>http://www.shnenglu.com/davyy/archive/2006/07/24/10410.html</guid><wfw:comment>http://www.shnenglu.com/davyy/comments/10410.html</wfw:comment><comments>http://www.shnenglu.com/davyy/archive/2006/07/24/10410.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.shnenglu.com/davyy/comments/commentRss/10410.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/davyy/services/trackbacks/10410.html</trackback:ping><description><![CDATA[ <p> <font face="Arial" size="1">澶у寮鍙戠綉緇滅▼搴?緇忓父瑕佽繛鎺ュ叾浠栦富鏈?濡傛灉鍦▁p涓婅繍琛?涓瀹氫細鎻愮ず浣?鍙湁閫夋嫨瑙i櫎闃繪鎵嶈兘瀹炵幇姝e父鐨勭綉緇滆繛鎺?閭d箞鏈夋病鏈夊姙娉曞湪闃茬伀澧欑殑渚嬪鍒楄〃閲岄潰閫氳繃緙栫▼鐨勬柟寮忓姞鍏ヨ嚜宸辯殑紼嬪簭鍛?<br />聽褰撶劧鏈変簡,涓嶇劧灝變笉瑕佷粙緇嶄簡<img height="19" src="http://www.shnenglu.com/Emoticons/teeth_smile.gif" width="19" border="0" /><br />xp鐨勭郴緇熺洰褰曚笅闈㈡湁涓猦netcfg.dll灝辨槸榪欎釜緙栫▼鎺ュ彛,澶存枃浠舵槸netfw.h,鍒濆鍖栦唬鐮佸涓?<br />INetFwProfile* m_pFireWallProfile=NULL;<br /></font> </p> <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">HRESULT聽hr聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽S_FALSE;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽INetFwMgr</span> <span style="COLOR: #000000">*</span> <span style="COLOR: #000000">聽fwMgr聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽NULL;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽INetFwPolicy</span> <span style="COLOR: #000000">*</span> <span style="COLOR: #000000">聽fwPolicy聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽NULL;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽FW_ERROR_CODE聽ret聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽FW_NOERROR;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff">try</span> <span style="COLOR: #000000"> <br /> <img id="Codehighlighter1_120_710_Open_Image" onclick="this.style.display='none'; Codehighlighter1_120_710_Open_Text.style.display='none'; Codehighlighter1_120_710_Closed_Image.style.display='inline'; Codehighlighter1_120_710_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_120_710_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_120_710_Closed_Text.style.display='none'; Codehighlighter1_120_710_Open_Image.style.display='inline'; Codehighlighter1_120_710_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />聽聽聽聽</span> <span id="Codehighlighter1_120_710_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_120_710_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">(聽m_pFireWallProfile聽)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">throw</span> <span style="COLOR: #000000">聽FW_ERR_INITIALIZED;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">聽Create聽an聽instance聽of聽the聽firewall聽settings聽manager.</span> <span style="COLOR: #008000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">聽聽聽聽聽聽聽聽hr聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽CoCreateInstance(聽__uuidof(NetFwMgr),聽NULL,聽CLSCTX_INPROC_SERVER,聽__uuidof(聽INetFwMgr),聽(</span> <span style="COLOR: #0000ff">void</span> <span style="COLOR: #000000">**</span> <span style="COLOR: #000000">)</span> <span style="COLOR: #000000">&</span> <span style="COLOR: #000000">fwMgr聽);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">if</span> <span style="COLOR: #000000">(聽FAILED(聽hr聽))<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">throw</span> <span style="COLOR: #000000">聽FW_ERR_CREATE_SETTING_MANAGER;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">聽Retrieve聽the聽local聽firewall聽policy.</span> <span style="COLOR: #008000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">聽聽聽聽聽聽聽聽hr聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽fwMgr</span> <span style="COLOR: #000000">-></span> <span style="COLOR: #000000">get_LocalPolicy(聽</span> <span style="COLOR: #000000">&</span> <span style="COLOR: #000000">fwPolicy聽);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">if</span> <span style="COLOR: #000000">(聽FAILED(聽hr聽))<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">throw</span> <span style="COLOR: #000000">聽FW_ERR_LOCAL_POLICY;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">聽Retrieve聽the聽firewall聽profile聽currently聽in聽effect</span> <span style="COLOR: #008000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">聽聽聽聽聽聽聽聽hr聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽fwPolicy</span> <span style="COLOR: #000000">-></span> <span style="COLOR: #000000">get_CurrentProfile(聽</span> <span style="COLOR: #000000">&</span> <span style="COLOR: #000000">m_pFireWallProfile聽);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">if</span> <span style="COLOR: #000000">(聽FAILED(聽hr聽))<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">throw</span> <span style="COLOR: #000000">聽FW_ERR_PROFILE;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />聽聽聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff">catch</span> <span style="COLOR: #000000">(聽FW_ERROR_CODE聽nError)<br /><img id="Codehighlighter1_743_762_Open_Image" onclick="this.style.display='none'; Codehighlighter1_743_762_Open_Text.style.display='none'; Codehighlighter1_743_762_Closed_Image.style.display='inline'; Codehighlighter1_743_762_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_743_762_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_743_762_Closed_Text.style.display='none'; Codehighlighter1_743_762_Open_Image.style.display='inline'; Codehighlighter1_743_762_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />聽聽聽聽</span> <span id="Codehighlighter1_743_762_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_743_762_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽ret聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽nError;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />聽聽聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff">if</span> <span style="COLOR: #000000">(聽fwPolicy聽)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽fwPolicy</span> <span style="COLOR: #000000">-></span> <span style="COLOR: #000000">Release();<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff">if</span> <span style="COLOR: #000000">(聽fwMgr聽)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽fwMgr</span> <span style="COLOR: #000000">-></span> <span style="COLOR: #000000">Release();<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽ret;</span> </div>灝嗙▼搴忓悕縐板姞鍏ヤ緥澶栧垪琛?<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">WinXPSP2FireWall::AddApplication(聽</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">聽wchar_t</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">聽lpszProcessImageFileName,聽</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">聽wchar_t</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">聽lpszRegisterName聽)<br /><img id="Codehighlighter1_109_2313_Open_Image" onclick="this.style.display='none'; Codehighlighter1_109_2313_Open_Text.style.display='none'; Codehighlighter1_109_2313_Closed_Image.style.display='inline'; Codehighlighter1_109_2313_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_109_2313_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_109_2313_Closed_Text.style.display='none'; Codehighlighter1_109_2313_Open_Image.style.display='inline'; Codehighlighter1_109_2313_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span id="Codehighlighter1_109_2313_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_109_2313_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽FW_ERROR_CODE聽ret聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽FW_NOERROR;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽HRESULT聽hr;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽BOOL聽bAppEnable;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽BSTR聽bstrProcessImageFileName聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽NULL;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽BSTR聽bstrRegisterName聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽NULL;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽INetFwAuthorizedApplication</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">聽pFWApp聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽NULL;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽INetFwAuthorizedApplications</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">聽pFWApps聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽NULL;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">try</span><span style="COLOR: #000000"><br /><img id="Codehighlighter1_344_2090_Open_Image" onclick="this.style.display='none'; Codehighlighter1_344_2090_Open_Text.style.display='none'; Codehighlighter1_344_2090_Closed_Image.style.display='inline'; Codehighlighter1_344_2090_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_344_2090_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_344_2090_Closed_Text.style.display='none'; Codehighlighter1_344_2090_Open_Image.style.display='inline'; Codehighlighter1_344_2090_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽</span><span id="Codehighlighter1_344_2090_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_344_2090_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">(聽m_pFireWallProfile聽</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">聽NULL聽)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">throw</span><span style="COLOR: #000000">聽FW_ERR_INITIALIZED;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(聽lpszProcessImageFileName聽</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">聽NULL聽</span><span style="COLOR: #000000">||</span><span style="COLOR: #000000">聽lpszRegisterName聽聽</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">聽NULL聽)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">throw</span><span style="COLOR: #000000">聽FW_ERR_INVALID_ARG;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">聽First聽of聽all,聽check聽the聽application聽is聽already聽authorized;</span><span style="COLOR: #008000"><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽FW_ERROR_CODE聽聽nError聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">this</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">IsAppEnabled(聽lpszProcessImageFileName,聽bAppEnable聽);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(聽nError聽</span><span style="COLOR: #000000">!=</span><span style="COLOR: #000000">聽FW_NOERROR聽)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">throw</span><span style="COLOR: #000000">聽nError;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">聽Only聽add聽the聽application聽if聽it聽isn't聽authorized</span><span style="COLOR: #008000"><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(聽bAppEnable聽</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">聽FALSE聽)<br /><img id="Codehighlighter1_790_2087_Open_Image" onclick="this.style.display='none'; Codehighlighter1_790_2087_Open_Text.style.display='none'; Codehighlighter1_790_2087_Closed_Image.style.display='inline'; Codehighlighter1_790_2087_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_790_2087_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_790_2087_Closed_Text.style.display='none'; Codehighlighter1_790_2087_Open_Image.style.display='inline'; Codehighlighter1_790_2087_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span id="Codehighlighter1_790_2087_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_790_2087_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">聽Retrieve聽the聽authorized聽application聽collection</span><span style="COLOR: #008000"><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽聽聽聽聽hr聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽m_pFireWallProfile</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">get_AuthorizedApplications(聽</span><span style="COLOR: #000000">&</span><span style="COLOR: #000000">pFWApps聽);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(聽FAILED(聽hr聽))<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">throw</span><span style="COLOR: #000000">聽FW_ERR_AUTH_APPLICATIONS;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">聽Create聽an聽instance聽of聽an聽authorized聽application</span><span style="COLOR: #008000"><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽聽聽聽聽hr聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽CoCreateInstance(聽__uuidof(NetFwAuthorizedApplication),聽NULL,聽CLSCTX_INPROC_SERVER,聽__uuidof(INetFwAuthorizedApplication),聽(</span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000">**</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000">&</span><span style="COLOR: #000000">pFWApp);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(聽FAILED(聽hr聽))<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">throw</span><span style="COLOR: #000000">聽FW_ERR_CREATE_APP_INSTANCE;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">聽Allocate聽a聽BSTR聽for聽the聽Process聽Image聽FileName</span><span style="COLOR: #008000"><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽聽聽聽聽bstrProcessImageFileName聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽SysAllocString(聽lpszProcessImageFileName聽);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(聽SysStringLen(聽bstrProcessImageFileName聽)聽</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">throw</span><span style="COLOR: #000000">聽FW_ERR_SYS_ALLOC_STRING;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">聽Set聽the聽process聽image聽file聽name</span><span style="COLOR: #008000"><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽聽聽聽聽hr聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽pFWApp</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">put_ProcessImageFileName(聽bstrProcessImageFileName聽);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(聽FAILED(聽hr聽)聽)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">throw</span><span style="COLOR: #000000">聽FW_ERR_PUT_PROCESS_IMAGE_NAME;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">聽Allocate聽a聽BSTR聽for聽register聽name</span><span style="COLOR: #008000"><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽聽聽聽聽bstrRegisterName聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽SysAllocString(聽lpszRegisterName聽);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(聽SysStringLen(聽bstrRegisterName聽)聽</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">throw</span><span style="COLOR: #000000">聽FW_ERR_SYS_ALLOC_STRING;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">聽Set聽a聽registered聽name聽of聽the聽process</span><span style="COLOR: #008000"><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽聽聽聽聽hr聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽pFWApp</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">put_Name(聽bstrRegisterName聽);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(聽FAILED(聽hr聽))<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">throw</span><span style="COLOR: #000000">聽FW_ERR_PUT_REGISTER_NAME;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">聽Add聽the聽application聽to聽the聽collection</span><span style="COLOR: #008000"><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽聽聽聽聽hr聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽pFWApps</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">Add(聽pFWApp聽);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(聽FAILED(聽hr聽))<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">throw</span><span style="COLOR: #000000">聽FW_ERR_ADD_TO_COLLECTION;<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/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽}</span></span><span style="COLOR: #000000"><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">catch</span><span style="COLOR: #000000">(聽FW_ERROR_CODE聽nError聽)<br /><img id="Codehighlighter1_2124_2143_Open_Image" onclick="this.style.display='none'; Codehighlighter1_2124_2143_Open_Text.style.display='none'; Codehighlighter1_2124_2143_Closed_Image.style.display='inline'; Codehighlighter1_2124_2143_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_2124_2143_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2124_2143_Closed_Text.style.display='none'; Codehighlighter1_2124_2143_Open_Image.style.display='inline'; Codehighlighter1_2124_2143_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽</span><span id="Codehighlighter1_2124_2143_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_2124_2143_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽ret聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽nError;<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/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽SysFreeString(聽bstrProcessImageFileName聽);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽SysFreeString(聽bstrRegisterName聽);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(聽pFWApp聽)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽pFWApp</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">Release();<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(聽pFWApps聽)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽pFWApps</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">Release();<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽ret;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span></div><img src ="http://www.shnenglu.com/davyy/aggbug/10410.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/davyy/" target="_blank">琛岃儨浜庤█</a> 2006-07-24 16:01 <a href="http://www.shnenglu.com/davyy/archive/2006/07/24/10410.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>瑙嗛鍘嬬緝鎶鏈湪妗岄潰褰曞埗涓殑搴旂敤http://www.shnenglu.com/davyy/archive/2006/07/22/10342.html琛岃儨浜庤█琛岃儨浜庤█Sat, 22 Jul 2006 06:02:00 GMThttp://www.shnenglu.com/davyy/archive/2006/07/22/10342.htmlhttp://www.shnenglu.com/davyy/comments/10342.htmlhttp://www.shnenglu.com/davyy/archive/2006/07/22/10342.html#Feedback3http://www.shnenglu.com/davyy/comments/commentRss/10342.htmlhttp://www.shnenglu.com/davyy/services/trackbacks/10342.html銆鐜頒粖鐨勫嵆鏃墮氫俊杞歡閮藉疄鐜頒簡闊抽銆佽棰戜簰閫氱殑鍔熻兘錛岃繖寰楃泭浜庤棰戠紪鐮佹妧鏈殑搴旂敤錛岀洰鍓嶅競闈笂Microsoft 鏈塎PEG4 v3,DIVX,XVID絳夌瓑涓嶄竴鑰岃凍錛屼絾鐩墠甯傚満涓婂ソ璞″鐢ㄦ埛妗岄潰褰曞埗鎶鏈叧娉ㄤ笉澶燂紝鍥犱負澶у鐭ラ亾妗岄潰鍥捐薄鍜岃繍鍔ㄥ浘璞℃槸涓嶄竴鏍風殑錛岃繖涔熼犳垚浼樼鐨勬闈㈠綍鍒惰蔣浠墮潪甯哥己涔忋?br />涓轟粈涔堣璁ㄨ妗岄潰鍘嬬緝鍛紵鍥犱負璧峰簲鐢ㄩ鍩熼潪甯稿箍娉涳紝絎竴浠栫敤鍦ㄨ浠跺埗浣滄妧鏈柟闈紝鍙互瀹屾暣榪樺師鏁欏笀鐨勫煿璁繃紼嬶紝灝ゅ叾鏄搷浣滅被鍩硅鐨勮紼嬫洿鏈夊疄闄呮剰涔夈傜浜屾闈㈠叡浜緷璧栦簬妗岄潰鍘嬬緝鎶鏈紝鏇村ソ鐨勫帇緙╂晥鐜囧拰璐ㄩ噺灝嗕嬌寰椾綆甯﹀涓嬬殑楂樿川閲忔闈㈠叡浜垚涓哄彲鑳斤紵
澶у閮界煡閬撴闈㈠帇緙╂妧鏈殑瀹炵幇鍙互鍩轟簬RLE鎴朒UFFMAN鎴栧叾浠栨洿楂樼駭鐨勭畻娉曡繘琛屽疄鐜幫紝濡備綍瀹炵幇鏇翠負浼樼鐨勫洖鏀炬晥鏋滃拰璐ㄩ噺錛屾槸鐩墠榪欎簺鏂規硶鎵涓嶈兘瑙e喅鐨勩?br />鍚屾椂錛屼負浜嗗吋瀹瑰簲鐢ㄩ渶姹傦紝褰曞埗鐨勮緭鍑烘牸寮忎篃鏈夊緢澶氳姹傦紝姣斿瀹炵幇緗戜笂鐐規挱銆佸綍鍒舵垚ASF鏍煎紡絳夈?br />鍦ㄦ渶榪戜竴孌墊椂闂寸殑寮鍙戣繃紼嬪拰瀹炵幇榪囩▼涓紝鎴戝皾璇曚簡涓浜涙柊鐨勬柟娉曪紝鍙栧緱浜嗕竴浜涚獊鐮達紝浣嗙鑷繁鏈緇堢殑鎯蟲硶榪樻湁涓瀹氳窛紱伙紝濡傛灉澶у鎰熷叴瓚g殑璇濓紝鍙互鍒版垜鐨勭綉绔欎笅杞斤細灞忚釜騫誨獎錛岀敱浜庣洰鍓嶈蔣浠惰繕涓嶆槸闈炲父瀹屽杽錛屾墍浠ョ洰鍓嶈繕鏃犳硶鍏紑浠g爜錛屽湪鍚庣畫鐨勬椂闂撮噷鎴戜細鍏紑紼嬪簭緇撴瀯鍜屽唴閮ㄤ唬鐮佸疄鐜般?br />甯屾湜澶у瀵規垜鐨勮蔣浠跺疄鐜版彁鍑哄緩璁拰淇敼鎰忚銆?/p>

琛岃儨浜庤█ 2006-07-22 14:02 鍙戣〃璇勮
]]>
浜旇浠g爜鎼炲畾"闊抽噺璋冭妭鍚戝"http://www.shnenglu.com/davyy/archive/2006/07/06/9492.html琛岃儨浜庤█琛岃儨浜庤█Thu, 06 Jul 2006 09:05:00 GMThttp://www.shnenglu.com/davyy/archive/2006/07/06/9492.htmlhttp://www.shnenglu.com/davyy/comments/9492.htmlhttp://www.shnenglu.com/davyy/archive/2006/07/06/9492.html#Feedback2http://www.shnenglu.com/davyy/comments/commentRss/9492.htmlhttp://www.shnenglu.com/davyy/services/trackbacks/9492.html聽聽 浠婂ぉ緇欏ぇ瀹朵粙緇嶇殑浣跨敤DirectX涓湁鍏矰irectVoice涓殑瀹炵幇鏉ヨВ鍐蟲垜浠殑闂:

//http://www.handytech.cn
#include <dvoice.h>
#pragma聽 comment(lib,"dxguid.lib")
void CTestDlg::OnButton1()
{
聽// TODO: Add your control notification handler code here
聽IDirectPlayVoiceTest* pTest;
聽HRESULT hr=CoCreateInstance(CLSID_DirectPlayVoiceTest,NULL,CLSCTX_INPROC_SERVER,IID_IDirectPlayVoiceTest,(void**)&pTest);
聽if(SUCCEEDED(hr))
聽{
聽聽pTest->CheckAudioSetup(&DSDEVID_DefaultVoicePlayback,&DSDEVID_DefaultCapture,NULL,DVFLAGS_ALLOWBACK);
聽聽pTest->Release();
聽}

聽 OK涓婇潰鐨勪唬鐮佸氨璋冪敤浜咲irectVoice涓殑瀹炵幇,澶у鐪嬬湅鏁堟灉!



琛岃儨浜庤█ 2006-07-06 17:05 鍙戣〃璇勮
]]>
色综合久久综合网观看| 热久久最新网站获取| 色婷婷综合久久久久中文 | 久久天天躁狠狠躁夜夜2020| 久久精品国产网红主播| 亚洲午夜久久久久妓女影院 | 国产色综合久久无码有码| 久久综合日本熟妇| 色婷婷狠狠久久综合五月| 久久婷婷五月综合色99啪ak| 久久人妻少妇嫩草AV无码蜜桃| 久久国产成人亚洲精品影院| 亚洲国产精品婷婷久久| 国产女人aaa级久久久级| 久久精品国产秦先生| 国产999精品久久久久久| 国产精品免费久久| 天天影视色香欲综合久久| 国产精品成人久久久| 亚洲精品无码久久久久久| 无遮挡粉嫩小泬久久久久久久 | 国产∨亚洲V天堂无码久久久| 久久精品国产亚洲AV嫖农村妇女| 精品国产乱码久久久久久1区2区| 久久国产高潮流白浆免费观看| 亚洲国产二区三区久久| 久久无码国产| 色欲久久久天天天综合网精品| 99精品久久久久中文字幕| 久久综合狠狠综合久久激情 | 久久露脸国产精品| 久久亚洲私人国产精品| 亚洲成人精品久久| 国产精品乱码久久久久久软件 | 日韩欧美亚洲国产精品字幕久久久 | 亚洲AV成人无码久久精品老人| 国产V亚洲V天堂无码久久久| 久久久无码精品午夜| 精品久久久久久无码专区| 欧美性猛交xxxx免费看久久久| 久久天天躁狠狠躁夜夜躁2O2O|