﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-不进则退</title><link>http://www.cnblogs.com/roger/</link><description>Roger's blog @cnblogs</description><language>zh-cn</language><lastBuildDate>Wed, 17 Mar 2010 00:44:29 GMT</lastBuildDate><pubDate>Wed, 17 Mar 2010 00:44:29 GMT</pubDate><ttl>60</ttl><item><title>[过时的消息]VS2005 Shipped！</title><link>http://www.cnblogs.com/roger/archive/2005/11/01/266294.html</link><dc:creator>Roger Wo</dc:creator><author>Roger Wo</author><pubDate>Tue, 01 Nov 2005 05:37:00 GMT</pubDate><guid>http://www.cnblogs.com/roger/archive/2005/11/01/266294.html</guid><description><![CDATA[<p>阅读: 640 评论: 1 作者: <a href="http://www.cnblogs.com/roger/" target="_blank">Roger Wo</a> 发表于 2005-11-01 13:37 <a href="http://www.cnblogs.com/roger/archive/2005/11/01/266294.html" target="_blank">原文链接</a></p>Visual Studio 2005的各个版本都陆续发布了，如果之前有安装过CTP、beta版本，最好在安装前把先前的版本都卸载掉，以免不必要的麻烦。有个专门的卸载工具，下载地址是：<BR><BR><A href="http://go.microsoft.com/fwlink/?LinkId=47598">http://go.microsoft.com/fwlink/?LinkId=47598</A> <img src="http://www.cnblogs.com/roger/aggbug/266294.html?type=1" width="1" height="1" alt=""/><p>评论: 1　<a href="http://www.cnblogs.com/roger/archive/2005/11/01/266294.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/roger/archive/2005/11/01/266294.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/58891/" target="_blank">谷歌称Android应用网店程序数量已经达到3万</a><span style="color:gray">(2010-03-17 08:38)</span><br/>· <a href="http://news.cnblogs.com/n/58890/" target="_blank">中国电信天翼空间应用商城今日正式上线</a><span style="color:gray">(2010-03-17 08:37)</span><br/>· <a href="http://news.cnblogs.com/n/58889/" target="_blank">Eclipse 3.6 M6版本发布</a><span style="color:gray">(2010-03-17 08:34)</span><br/>· <a href="http://news.cnblogs.com/n/58887/" target="_blank">迅雷旗下影院推出收费服务 遭多数网友抵制</a><span style="color:gray">(2010-03-17 08:20)</span><br/>· <a href="http://news.cnblogs.com/n/58886/" target="_blank">苹果谷歌互挖墙角愈演愈烈 当事人为新主辩护</a><span style="color:gray">(2010-03-17 08:14)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/58848/" target="_blank">IT蚁族：蜗居和逃离</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>用Atlas来实现一个基于AJAX的无刷新Chatroom</title><link>http://www.cnblogs.com/roger/archive/2005/10/22/259600.html</link><dc:creator>Roger Wo</dc:creator><author>Roger Wo</author><pubDate>Sat, 22 Oct 2005 09:24:00 GMT</pubDate><guid>http://www.cnblogs.com/roger/archive/2005/10/22/259600.html</guid><description><![CDATA[<p>阅读: 3933 评论: 8 作者: <a href="http://www.cnblogs.com/roger/" target="_blank">Roger Wo</a> 发表于 2005-10-22 17:24 <a href="http://www.cnblogs.com/roger/archive/2005/10/22/259600.html" target="_blank">原文链接</a></p>Atlas是微软提供的一个AJAX工具包，封装了实现AJAX的所需的Java Script，使用起来非常简单，可以直接调用Web Service方法，然后通过Asynchronous Call的方式回调给客户端script，我用Atlas写了个简单的基于AJAX的无刷新chatroom： <BR><BR><STRONG>Atlas Chatroom<BR></STRONG><A href="http://www.worong.com/atlaschat/"><STRONG>http://www.worong.com/atlaschat/</STRONG></A><BR><BR>为了引用Web Service，首先要在页面中添加以下客户端脚本： <BR><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 height=16 src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width=11 align=top><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">script&nbsp;language</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">JavaScript</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;src</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">ChatService.asmx/js</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN> </DIV><BR>用来显示和添加message的调用如下，对于每个方法的调用需要三个参数，分别是：Web Service方法的参数、调用成功后的回调函数、调用超时的回调函数。<BR>&nbsp;<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 id=Codehighlighter1_18_186_Open_Image onclick="this.style.display='none'; Codehighlighter1_18_186_Open_Text.style.display='none'; Codehighlighter1_18_186_Closed_Image.style.display='inline'; Codehighlighter1_18_186_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_18_186_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_18_186_Closed_Text.style.display='none'; Codehighlighter1_18_186_Open_Image.style.display='inline'; Codehighlighter1_18_186_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" align=top><SPAN style="COLOR: #0000ff">function</SPAN><SPAN style="COLOR: #000000">&nbsp;GetMsg()&nbsp;</SPAN><SPAN id=Codehighlighter1_18_186_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.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_18_186_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;AtlsChat.ChatService.GetConversation(<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">""</SPAN><SPAN style="COLOR: #000000">,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">params</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;OnComplete,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">Complete&nbsp;event</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;OnTimeout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">Timeout&nbsp;event</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">false</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><BR><IMG id=Codehighlighter1_204_581_Open_Image onclick="this.style.display='none'; Codehighlighter1_204_581_Open_Text.style.display='none'; Codehighlighter1_204_581_Closed_Image.style.display='inline'; Codehighlighter1_204_581_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_204_581_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_204_581_Closed_Text.style.display='none'; Codehighlighter1_204_581_Open_Image.style.display='inline'; Codehighlighter1_204_581_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">function</SPAN><SPAN style="COLOR: #000000">&nbsp;Add()&nbsp;</SPAN><SPAN id=Codehighlighter1_204_581_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.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_204_581_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById('info').innerHTML&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;'</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">span&nbsp;style</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">background-color:&nbsp;yellow</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&gt;&amp;</SPAN><SPAN style="COLOR: #000000">nbsp;posting<IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">span</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000">';<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;AtlsChat.ChatService.Add(<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById('inputName').value.replace('\t','</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">nbsp;')</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">'\t'</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;document.getElementById('inputMsg').value.replace('\t','</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">nbsp;'),<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;GetMsg,<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;OnTimeout<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">false</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">function</SPAN><SPAN style="COLOR: #000000">&nbsp;OnComplete(result)&nbsp;<BR><IMG id=Codehighlighter1_621_755_Open_Image onclick="this.style.display='none'; Codehighlighter1_621_755_Open_Text.style.display='none'; Codehighlighter1_621_755_Closed_Image.style.display='inline'; Codehighlighter1_621_755_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_621_755_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_621_755_Closed_Text.style.display='none'; Codehighlighter1_621_755_Open_Image.style.display='inline'; Codehighlighter1_621_755_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_621_755_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.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_621_755_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById('msg').innerHTML&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;result;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById('info').innerHTML&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">""</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">function</SPAN><SPAN style="COLOR: #000000">&nbsp;OnTimeout(result)&nbsp;<BR><IMG id=Codehighlighter1_794_864_Open_Image onclick="this.style.display='none'; Codehighlighter1_794_864_Open_Text.style.display='none'; Codehighlighter1_794_864_Closed_Image.style.display='inline'; Codehighlighter1_794_864_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_794_864_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_794_864_Closed_Text.style.display='none'; Codehighlighter1_794_864_Open_Image.style.display='inline'; Codehighlighter1_794_864_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_794_864_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.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_794_864_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById('info').innerHTML&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">time&nbsp;out</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN></DIV><BR><BR>
<P>最后，需要在页面中引用Atlas提供的几个js：<BR><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.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">atlas:Script&nbsp;ID</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Script1</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;runat</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">server</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;Path</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">~/ScriptLibrary/AtlasCompat.js</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;Browser</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Mozilla</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">atlas:Script&nbsp;ID</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Script2</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;runat</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">server</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;Path</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">~/ScriptLibrary/AtlasCompat.js</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;Browser</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Firefox</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">atlas:Script&nbsp;ID</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Script3</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;runat</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">server</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;Path</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">~/ScriptLibrary/AtlasCompat.js</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;Browser</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">AppleMAC-Safari</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">atlas:Script&nbsp;ID</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Script4</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;runat</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">server</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;Path</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">~/ScriptLibrary/AtlasCore.js</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">atlas:Script&nbsp;ID</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Script5</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;runat</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">server</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;Path</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">~/ScriptLibrary/AtlasCompat2.js</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;Browser</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">AppleMAC-Safari</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">script&nbsp;type</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">text/xml-script</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">page&nbsp;xmlns:script</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">http://schemas.microsoft.com/xml-script/2005</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">references</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;!--</SPAN><SPAN style="COLOR: #000000">&nbsp;Repath&nbsp;the&nbsp;following&nbsp;src&nbsp;attributes,&nbsp;using&nbsp;regular&nbsp;client&nbsp;relative&nbsp;paths&nbsp;as&nbsp;necessary&nbsp;</SPAN><SPAN style="COLOR: #000000">--&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">add&nbsp;src</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">ScriptLibrary/AtlasUI.js</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">add&nbsp;src</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">ScriptLibrary/AtlasControls.js</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">references</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">components</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">components</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">page</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">script</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN></DIV><BR>Atlas的官方网站是<A href="http://beta.asp.net/default.aspx?tabindex=7&amp;tabid=47">http://beta.asp.net/default.aspx?tabindex=7&amp;tabid=47</A>，虽然提供了对非IE浏览器的支持，但是在Firefox中更新div会有刷新的感觉，在Mac的Safari上也根本就不work<IMG src="http://www.cnblogs.com/Emoticons/emsad.gif" align=absMiddle border=0> <img src="http://www.cnblogs.com/roger/aggbug/259600.html?type=1" width="1" height="1" alt=""/><p>评论: 8　<a href="http://www.cnblogs.com/roger/archive/2005/10/22/259600.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/roger/archive/2005/10/22/259600.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/58891/" target="_blank">谷歌称Android应用网店程序数量已经达到3万</a><span style="color:gray">(2010-03-17 08:38)</span><br/>· <a href="http://news.cnblogs.com/n/58890/" target="_blank">中国电信天翼空间应用商城今日正式上线</a><span style="color:gray">(2010-03-17 08:37)</span><br/>· <a href="http://news.cnblogs.com/n/58889/" target="_blank">Eclipse 3.6 M6版本发布</a><span style="color:gray">(2010-03-17 08:34)</span><br/>· <a href="http://news.cnblogs.com/n/58887/" target="_blank">迅雷旗下影院推出收费服务 遭多数网友抵制</a><span style="color:gray">(2010-03-17 08:20)</span><br/>· <a href="http://news.cnblogs.com/n/58886/" target="_blank">苹果谷歌互挖墙角愈演愈烈 当事人为新主辩护</a><span style="color:gray">(2010-03-17 08:14)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/58848/" target="_blank">IT蚁族：蜗居和逃离</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>Passion回来了</title><link>http://www.cnblogs.com/roger/archive/2005/10/19/257533.html</link><dc:creator>Roger Wo</dc:creator><author>Roger Wo</author><pubDate>Tue, 18 Oct 2005 16:40:00 GMT</pubDate><guid>http://www.cnblogs.com/roger/archive/2005/10/19/257533.html</guid><description><![CDATA[<p>阅读: 137 评论: 2 作者: <a href="http://www.cnblogs.com/roger/" target="_blank">Roger Wo</a> 发表于 2005-10-19 00:40 <a href="http://www.cnblogs.com/roger/archive/2005/10/19/257533.html" target="_blank">原文链接</a></p>痛定思痛，这个blog不能再荒废了<img src="http://www.cnblogs.com/roger/aggbug/257533.html?type=1" width="1" height="1" alt=""/><p>评论: 2　<a href="http://www.cnblogs.com/roger/archive/2005/10/19/257533.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/roger/archive/2005/10/19/257533.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/58891/" target="_blank">谷歌称Android应用网店程序数量已经达到3万</a><span style="color:gray">(2010-03-17 08:38)</span><br/>· <a href="http://news.cnblogs.com/n/58890/" target="_blank">中国电信天翼空间应用商城今日正式上线</a><span style="color:gray">(2010-03-17 08:37)</span><br/>· <a href="http://news.cnblogs.com/n/58889/" target="_blank">Eclipse 3.6 M6版本发布</a><span style="color:gray">(2010-03-17 08:34)</span><br/>· <a href="http://news.cnblogs.com/n/58887/" target="_blank">迅雷旗下影院推出收费服务 遭多数网友抵制</a><span style="color:gray">(2010-03-17 08:20)</span><br/>· <a href="http://news.cnblogs.com/n/58886/" target="_blank">苹果谷歌互挖墙角愈演愈烈 当事人为新主辩护</a><span style="color:gray">(2010-03-17 08:14)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/58848/" target="_blank">IT蚁族：蜗居和逃离</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>SQL Server / Access数据类型对照表</title><link>http://www.cnblogs.com/roger/archive/2005/04/12/136118.html</link><dc:creator>Roger Wo</dc:creator><author>Roger Wo</author><pubDate>Tue, 12 Apr 2005 06:33:00 GMT</pubDate><guid>http://www.cnblogs.com/roger/archive/2005/04/12/136118.html</guid><description><![CDATA[<p>阅读: 950 评论: 0 作者: <a href="http://www.cnblogs.com/roger/" target="_blank">Roger Wo</a> 发表于 2005-04-12 14:33 <a href="http://www.cnblogs.com/roger/archive/2005/04/12/136118.html" target="_blank">原文链接</a></p><strong>SQL Server and Access data types.</strong>
<table borderColor="#000000" cellSpacing="1" cellPadding="2" width="393" border="1">
   <tbody>
       <tr>
           <td vAlign="top" width="47%"><strong>SQL Server 7 data type</strong>
           </td>
           <td vAlign="top" width="53%"><b>ADO data type Enum value</b>
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">binary
           </td>
           <td vAlign="top" width="53%">adVarBinary
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">bit
           </td>
           <td vAlign="top" width="53%">adBoolean
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">char
           </td>
           <td vAlign="top" width="53%">adChar
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">datetime
           </td>
           <td vAlign="top" width="53%">adDate
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">decimal
           </td>
           <td vAlign="top" width="53%">adNumeric
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">float
           </td>
           <td vAlign="top" width="53%">adDouble
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">int
           </td>
           <td vAlign="top" width="53%">adInteger
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">money
           </td>
           <td vAlign="top" width="53%">adCurrency
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">nchar
           </td>
           <td vAlign="top" width="53%">adWChar
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">ntext
           </td>
           <td vAlign="top" width="53%">adLongVarChar
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">numeric
           </td>
           <td vAlign="top" width="53%">adNumeric
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">nvarchar
           </td>
           <td vAlign="top" width="53%">adVarWChar
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">real
           </td>
           <td vAlign="top" width="53%">adSingle
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">smalldatetime
           </td>
           <td vAlign="top" width="53%">adDate
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">smallint
           </td>
           <td vAlign="top" width="53%">adSmallInt
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">text
           </td>
           <td vAlign="top" width="53%">adLongVarChar
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">timestamp
           </td>
           <td vAlign="top" width="53%">adBinary
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">tinyint
           </td>
           <td vAlign="top" width="53%">adUnsignedTinyInt
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">UniqueIdentifier
           </td>
           <td vAlign="top" width="53%">adGUID
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">varBinary
           </td>
           <td vAlign="top" width="53%">adVarBinary
           </td>
       </tr>
       <tr>
           <td vAlign="top" width="47%">varChar
           </td>
           <td vAlign="top" width="53%">adVarChar
           </td>
       </tr>
   </tbody>
</table><img src="http://www.cnblogs.com/roger/aggbug/136118.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/roger/archive/2005/04/12/136118.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/roger/archive/2005/04/12/136118.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/58891/" target="_blank">谷歌称Android应用网店程序数量已经达到3万</a><span style="color:gray">(2010-03-17 08:38)</span><br/>· <a href="http://news.cnblogs.com/n/58890/" target="_blank">中国电信天翼空间应用商城今日正式上线</a><span style="color:gray">(2010-03-17 08:37)</span><br/>· <a href="http://news.cnblogs.com/n/58889/" target="_blank">Eclipse 3.6 M6版本发布</a><span style="color:gray">(2010-03-17 08:34)</span><br/>· <a href="http://news.cnblogs.com/n/58887/" target="_blank">迅雷旗下影院推出收费服务 遭多数网友抵制</a><span style="color:gray">(2010-03-17 08:20)</span><br/>· <a href="http://news.cnblogs.com/n/58886/" target="_blank">苹果谷歌互挖墙角愈演愈烈 当事人为新主辩护</a><span style="color:gray">(2010-03-17 08:14)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/58848/" target="_blank">IT蚁族：蜗居和逃离</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>VS.NET Add-in在Design time获取控件值</title><link>http://www.cnblogs.com/roger/archive/2005/04/05/132525.html</link><dc:creator>Roger Wo</dc:creator><author>Roger Wo</author><pubDate>Tue, 05 Apr 2005 06:44:00 GMT</pubDate><guid>http://www.cnblogs.com/roger/archive/2005/04/05/132525.html</guid><description><![CDATA[<p>阅读: 829 评论: 2 作者: <a href="http://www.cnblogs.com/roger/" target="_blank">Roger Wo</a> 发表于 2005-04-05 14:44 <a href="http://www.cnblogs.com/roger/archive/2005/04/05/132525.html" target="_blank">原文链接</a></p><p>客户要写一个Visual Studio .NET的Add-in，需要在design time获取form上控件的值，以下是用Reflection的做法</p>
<p>&#160;&#160;&#160;&#160;&#160;</p>
<div style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
   <div><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /><span style="COLOR: #000000">&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000">&#160;win&#160;</span><span style="COLOR: #0000ff">As</span><span style="COLOR: #000000">&#160;Window&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;applicationObject.ActiveWindow 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000">&#160;d&#160;</span><span style="COLOR: #0000ff">As</span><span style="COLOR: #000000">&#160;ComponentModel.Design.IDesignerHost&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;win.</span><span style="COLOR: #0000ff">Object</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;iss&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;d.GetService(</span><span style="COLOR: #0000ff">GetType</span><span style="COLOR: #000000">(ComponentModel.Design.ISelectionService)) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000">&#160;c&#160;</span><span style="COLOR: #0000ff">As</span><span style="COLOR: #000000">&#160;ComponentModel.Component&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;iss.PrimarySelection 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000">&#160;pi&#160;</span><span style="COLOR: #0000ff">As</span><span style="COLOR: #000000">&#160;Reflection.PropertyInfo&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">CObj</span><span style="COLOR: #000000">(c).</span><span style="COLOR: #0000ff">GetType</span><span style="COLOR: #000000">().GetProperty(</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">Visible</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">val</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">As</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">Object</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;pi.GetValue(c,&#160;</span><span style="COLOR: #0000ff">Nothing</span><span style="COLOR: #000000">) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000">&#160;tc&#160;</span><span style="COLOR: #0000ff">As</span><span style="COLOR: #000000">&#160;System.ComponentModel.TypeConverter&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;ComponentModel.TypeDescriptor.GetConverter(</span><span style="COLOR: #0000ff">val</span><span style="COLOR: #000000">) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">MsgBox</span><span style="COLOR: #000000">(c.Site.Name&#160;</span><span style="COLOR: #000000">&amp;</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">.</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">&amp;</span><span style="COLOR: #000000">&#160;pi.Name&#160;</span><span style="COLOR: #000000">&amp;</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">&#160;=&#160;</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">&amp;</span><span style="COLOR: #000000">&#160;tc.ConvertToString(</span><span style="COLOR: #0000ff">val</span><span style="COLOR: #000000">))</span> 
   </div>
</div>
<p></p>
<p>
<br/>这样做有一个问题，当我要取TextBox.Visible这类属性的时候，返回值永远为true，因为reflect的是designer中的textbox对象，它的visible值永远为true。正确的做法是通过PropertyDescriptorCollection来读取Properties window里面的值，代码如下： 
</p>
<p></p>
<div style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
   <div><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /><span style="COLOR: #000000">&#160;<img height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" />&#160;<img height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">&#39;</span><span style="COLOR: #008000">query&#160;Properties</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /></span><span style="COLOR: #000000">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000">&#160;properties&#160;</span><span style="COLOR: #0000ff">As</span><span style="COLOR: #000000">&#160;System.ComponentModel.PropertyDescriptorCollection 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;properties&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;System.ComponentModel.TypeDescriptor.GetProperties(c) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000">&#160;prop&#160;</span><span style="COLOR: #0000ff">As</span><span style="COLOR: #000000">&#160;System.ComponentModel.PropertyDescriptor 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;prop&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;properties(</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">Visible</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">MsgBox</span><span style="COLOR: #000000">(c.Site.Name&#160;</span><span style="COLOR: #000000">&amp;</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">.</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">&amp;</span><span style="COLOR: #000000">&#160;prop.Name&#160;</span><span style="COLOR: #000000">&amp;</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">&#160;=&#160;</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">&amp;</span><span style="COLOR: #000000">&#160;prop.GetValue(c)) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /></span> 
   </div>
</div>
<br/><em><font size="2">本贴子以&#8220;现状&#8221;提供且没有任何担保，同时也没有授予任何权利</font></em> <img src="http://www.cnblogs.com/roger/aggbug/132525.html?type=1" width="1" height="1" alt=""/><p>评论: 2　<a href="http://www.cnblogs.com/roger/archive/2005/04/05/132525.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/roger/archive/2005/04/05/132525.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/58891/" target="_blank">谷歌称Android应用网店程序数量已经达到3万</a><span style="color:gray">(2010-03-17 08:38)</span><br/>· <a href="http://news.cnblogs.com/n/58890/" target="_blank">中国电信天翼空间应用商城今日正式上线</a><span style="color:gray">(2010-03-17 08:37)</span><br/>· <a href="http://news.cnblogs.com/n/58889/" target="_blank">Eclipse 3.6 M6版本发布</a><span style="color:gray">(2010-03-17 08:34)</span><br/>· <a href="http://news.cnblogs.com/n/58887/" target="_blank">迅雷旗下影院推出收费服务 遭多数网友抵制</a><span style="color:gray">(2010-03-17 08:20)</span><br/>· <a href="http://news.cnblogs.com/n/58886/" target="_blank">苹果谷歌互挖墙角愈演愈烈 当事人为新主辩护</a><span style="color:gray">(2010-03-17 08:14)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/58848/" target="_blank">IT蚁族：蜗居和逃离</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>Visual Studio .NET 2002 Service Pack 1 出来了</title><link>http://www.cnblogs.com/roger/archive/2005/03/02/111321.html</link><dc:creator>Roger Wo</dc:creator><author>Roger Wo</author><pubDate>Wed, 02 Mar 2005 03:23:00 GMT</pubDate><guid>http://www.cnblogs.com/roger/archive/2005/03/02/111321.html</guid><description><![CDATA[<p>阅读: 1342 评论: 4 作者: <a href="http://www.cnblogs.com/roger/" target="_blank">Roger Wo</a> 发表于 2005-03-02 11:23 <a href="http://www.cnblogs.com/roger/archive/2005/03/02/111321.html" target="_blank">原文链接</a></p>下载地址：<a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C41D8159-B42F-4D06-A797-E510494976EE&amp;displaylang=en">
<br/>http://www.microsoft.com/downloads/details.aspx?FamilyId=C41D8159-B42F-4D06-A797-E510494976EE&amp;displaylang=en</a>
<br/>
<br/>需要VS.NET 2003 SP1的同志再等等，马上就会有了。<img src="http://www.cnblogs.com/roger/aggbug/111321.html?type=1" width="1" height="1" alt=""/><p>评论: 4　<a href="http://www.cnblogs.com/roger/archive/2005/03/02/111321.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/roger/archive/2005/03/02/111321.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/58891/" target="_blank">谷歌称Android应用网店程序数量已经达到3万</a><span style="color:gray">(2010-03-17 08:38)</span><br/>· <a href="http://news.cnblogs.com/n/58890/" target="_blank">中国电信天翼空间应用商城今日正式上线</a><span style="color:gray">(2010-03-17 08:37)</span><br/>· <a href="http://news.cnblogs.com/n/58889/" target="_blank">Eclipse 3.6 M6版本发布</a><span style="color:gray">(2010-03-17 08:34)</span><br/>· <a href="http://news.cnblogs.com/n/58887/" target="_blank">迅雷旗下影院推出收费服务 遭多数网友抵制</a><span style="color:gray">(2010-03-17 08:20)</span><br/>· <a href="http://news.cnblogs.com/n/58886/" target="_blank">苹果谷歌互挖墙角愈演愈烈 当事人为新主辩护</a><span style="color:gray">(2010-03-17 08:14)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/58848/" target="_blank">IT蚁族：蜗居和逃离</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>在.NET程序中控制系统音量</title><link>http://www.cnblogs.com/roger/archive/2005/02/22/107592.html</link><dc:creator>Roger Wo</dc:creator><author>Roger Wo</author><pubDate>Tue, 22 Feb 2005 08:43:00 GMT</pubDate><guid>http://www.cnblogs.com/roger/archive/2005/02/22/107592.html</guid><description><![CDATA[<p>阅读: 1867 评论: 7 作者: <a href="http://www.cnblogs.com/roger/" target="_blank">Roger Wo</a> 发表于 2005-02-22 16:43 <a href="http://www.cnblogs.com/roger/archive/2005/02/22/107592.html" target="_blank">原文链接</a></p><p>在windows下控制系统音量，需要通过使用win32的WDM audio components（winmm.dll）来实现，为了方便起见，将其封装到了一个AudioMixerHelper类中，可以直接通过GetVolume()和SetVolume方法来改变音量。 
<br/>
</p>
<div style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
   <div><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /><span style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&#160;System; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /></span><span style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&#160;System.Runtime.InteropServices; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /></span><span style="COLOR: #0000ff">namespace</span><span style="COLOR: #000000">&#160;Microsoft 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_78_12217_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_78_12217_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_78_12217_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_78_12217_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_78_12217_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_78_12217_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_78_12217_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_78_12217_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" width="11" align="top" style="DISPLAY: none" /></span><span id="Codehighlighter1_78_12217_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_78_12217_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">&#160;AudioMixerHelper 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_125_12214_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_125_12214_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_125_12214_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_125_12214_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_125_12214_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_125_12214_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_125_12214_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_125_12214_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_125_12214_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_125_12214_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MMSYSERR_NOERROR&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MAXPNAMELEN&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">32</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXER_LONG_NAME_CHARS&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">64</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXER_SHORT_NAME_CHARS&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">16</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXER_GETLINEINFOF_COMPONENTTYPE&#160;&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">0x3</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXER_GETCONTROLDETAILSF_VALUE&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">0x0</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXER_GETLINECONTROLSF_ONEBYTYPE&#160;&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">0x2</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXER_SETCONTROLDETAILSF_VALUE&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">0x0</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXERLINE_COMPONENTTYPE_DST_FIRST&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">0x0</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXERLINE_COMPONENTTYPE_SRC_FIRST&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">0x1000</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXERLINE_COMPONENTTYPE_DST_SPEAKERS&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(MIXERLINE_COMPONENTTYPE_DST_FIRST&#160;</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">4</span><span style="COLOR: #000000">); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(MIXERLINE_COMPONENTTYPE_SRC_FIRST&#160;</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">3</span><span style="COLOR: #000000">); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXERLINE_COMPONENTTYPE_SRC_LINE&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(MIXERLINE_COMPONENTTYPE_SRC_FIRST&#160;</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXERCONTROL_CT_CLASS_FADER&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">0x50000000</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXERCONTROL_CT_UNITS_UNSIGNED&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">0x30000</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXERCONTROL_CONTROLTYPE_FADER&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(MIXERCONTROL_CT_CLASS_FADER&#160;</span><span style="COLOR: #000000">|</span><span style="COLOR: #000000">&#160;MIXERCONTROL_CT_UNITS_UNSIGNED); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;MIXERCONTROL_CONTROLTYPE_VOLUME&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(MIXERCONTROL_CONTROLTYPE_FADER&#160;</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[DllImport(</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">winmm.dll</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">,&#160;CharSet</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">CharSet.Ansi)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">extern</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;mixerClose&#160;(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;hmx); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[DllImport(</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">winmm.dll</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">,&#160;CharSet</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">CharSet.Ansi)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">extern</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;mixerGetControlDetailsA&#160;(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;hmxobj,</span><span style="COLOR: #0000ff">ref</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERCONTROLDETAILS&#160;pmxcd&#160;,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;fdwDetails); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[DllImport(</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">winmm.dll</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">,&#160;CharSet</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">CharSet.Ansi)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">extern</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;mixerGetDevCapsA(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;uMxId,&#160;MIXERCAPS 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;pmxcaps,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cbmxcaps); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[DllImport(</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">winmm.dll</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">,&#160;CharSet</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">CharSet.Ansi)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">extern</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;mixerGetID&#160;(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;hmxobj,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;pumxID,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;fdwId); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[DllImport(</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">winmm.dll</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">,&#160;CharSet</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">CharSet.Ansi)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">extern</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;&#160;mixerGetLineControlsA&#160;(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;hmxobj,</span><span style="COLOR: #0000ff">ref</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERLINECONTROLS&#160;pmxlc,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;fdwControls); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[DllImport(</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">winmm.dll</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">,&#160;CharSet</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">CharSet.Ansi)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">extern</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;&#160;mixerGetLineInfoA&#160;(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;hmxobj,</span><span style="COLOR: #0000ff">ref</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERLINE&#160;pmxl&#160;,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;fdwInfo); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[DllImport(</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">winmm.dll</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">,&#160;CharSet</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">CharSet.Ansi)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">extern</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;&#160;mixerGetNumDevs(); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[DllImport(</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">winmm.dll</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">,&#160;CharSet</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">CharSet.Ansi)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">extern</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;&#160;mixerMessage(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;hmx&#160;,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;uMsg&#160;,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;dwParam1&#160;,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwParam2); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[DllImport(</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">winmm.dll</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">,&#160;CharSet</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">CharSet.Ansi)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">extern</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;&#160;mixerOpen&#160;&#160;(</span><span style="COLOR: #0000ff">out</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;phmx&#160;,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;uMxId&#160;, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwCallback&#160;,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwInstance&#160;,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;fdwOpen); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[DllImport(</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">winmm.dll</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">,&#160;CharSet</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">CharSet.Ansi)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">extern</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;&#160;mixerSetControlDetails(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;hmxobj&#160;,</span><span style="COLOR: #0000ff">ref</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERCONTROLDETAILS&#160;pmxcd&#160;&#160;,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;fdwDetails); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">struct</span><span style="COLOR: #000000">&#160;MIXERCAPS 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_3216_3526_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_3216_3526_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_3216_3526_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_3216_3526_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_3216_3526_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_3216_3526_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_3216_3526_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_3216_3526_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_3216_3526_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_3216_3526_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;wMid; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;wPid; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;vDriverVersion; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[MarshalAs(UnmanagedType.ByValTStr,&#160;SizeConst</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">MAXPNAMELEN)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">string</span><span style="COLOR: #000000">&#160;szPname; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;fdwSupport; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cDestinations; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">struct</span><span style="COLOR: #000000">&#160;MIXERCONTROL 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_3578_4248_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_3578_4248_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_3578_4248_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_3578_4248_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_3578_4248_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_3578_4248_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_3578_4248_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_3578_4248_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_3578_4248_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_3578_4248_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cbStruct; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwControlID; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwControlType; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;fdwControl; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cMultipleItems; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[MarshalAs(&#160;UnmanagedType.ByValTStr, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;SizeConst</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">MIXER_SHORT_NAME_CHARS)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">string</span><span style="COLOR: #000000">&#160;szShortName&#160;; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[MarshalAs(&#160;UnmanagedType.ByValTStr, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;SizeConst</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">MIXER_LONG_NAME_CHARS)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">string</span><span style="COLOR: #000000">&#160;szName; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;lMinimum; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;lMaximum; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[MarshalAs(UnmanagedType.U4,&#160;SizeConst</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">10</span><span style="COLOR: #000000">)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;reserved; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">struct</span><span style="COLOR: #000000">&#160;MIXERCONTROLDETAILS 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_4307_4540_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_4307_4540_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_4307_4540_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_4307_4540_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_4307_4540_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_4307_4540_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_4307_4540_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_4307_4540_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_4307_4540_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_4307_4540_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cbStruct; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwControlID; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cChannels; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;item; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cbDetails; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;IntPtr&#160;paDetails; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">struct</span><span style="COLOR: #000000">&#160;MIXERCONTROLDETAILS_UNSIGNED 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_4608_4655_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_4608_4655_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_4608_4655_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_4608_4655_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_4608_4655_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_4608_4655_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_4608_4655_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_4608_4655_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_4608_4655_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_4608_4655_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwValue; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">struct</span><span style="COLOR: #000000">&#160;MIXERLINE 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_4704_5677_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_4704_5677_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_4704_5677_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_4704_5677_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_4704_5677_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_4704_5677_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_4704_5677_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_4704_5677_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_4704_5677_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_4704_5677_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cbStruct; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwDestination; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwSource; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwLineID; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;fdwLine; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwUser; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwComponentType; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cChannels; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cConnections; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cControls; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[MarshalAs(UnmanagedType.ByValTStr, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;SizeConst</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">MIXER_SHORT_NAME_CHARS)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">string</span><span style="COLOR: #000000">&#160;szShortName; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[MarshalAs(UnmanagedType.ByValTStr, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;SizeConst</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">MIXER_LONG_NAME_CHARS&#160;)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">string</span><span style="COLOR: #000000">&#160;szName; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwType; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwDeviceID; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;wMid; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;wPid; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;vDriverVersion&#160;; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[MarshalAs(UnmanagedType.ByValTStr,&#160;SizeConst</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">MAXPNAMELEN)] 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">string</span><span style="COLOR: #000000">&#160;szPname&#160;; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">struct</span><span style="COLOR: #000000">&#160;MIXERLINECONTROLS 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_5734_5970_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_5734_5970_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_5734_5970_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_5734_5970_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_5734_5970_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_5734_5970_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_5734_5970_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_5734_5970_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_5734_5970_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_5734_5970_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cbStruct; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwLineID; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;dwControl; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cControls; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;cbmxctrl; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;IntPtr&#160;pamxctrl; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">bool</span><span style="COLOR: #000000">&#160;GetVolumeControl(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;hmixer,&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;componentType, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;ctrlType,&#160;</span><span style="COLOR: #0000ff">out</span><span style="COLOR: #000000">&#160;MIXERCONTROL&#160;mxc,&#160;</span><span style="COLOR: #0000ff">out</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;vCurrentVol) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_6135_9266_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_6135_9266_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_6135_9266_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_6135_9266_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_6135_9266_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_6135_9266_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_6135_9266_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_6135_9266_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_6135_9266_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_6135_9266_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">&#160;This&#160;function&#160;attempts&#160;to&#160;obtain&#160;a&#160;mixer&#160;control. 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">&#160;Returns&#160;True&#160;if&#160;successful.</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERLINECONTROLS&#160;mxlc&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000">&#160;MIXERLINECONTROLS(); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERLINE&#160;mxl&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000">&#160;MIXERLINE(); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERCONTROLDETAILS&#160;pmxcd&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000">&#160;MIXERCONTROLDETAILS(); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERCONTROLDETAILS_UNSIGNED&#160;du&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERCONTROLDETAILS_UNSIGNED(); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxc&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000">&#160;MIXERCONTROL(); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;rc; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">bool</span><span style="COLOR: #000000">&#160;retValue; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;vCurrentVol&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxl.cbStruct&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;Marshal.SizeOf(mxl); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxl.dwComponentType&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;componentType; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;rc&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;mixerGetLineInfoA(hmixer,</span><span style="COLOR: #0000ff">ref</span><span style="COLOR: #000000">&#160;mxl, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXER_GETLINEINFOF_COMPONENTTYPE&#160;); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(MMSYSERR_NOERROR&#160;</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">&#160;rc) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_6945_9186_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_6945_9186_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_6945_9186_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_6945_9186_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_6945_9186_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_6945_9186_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_6945_9186_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_6945_9186_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_6945_9186_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_6945_9186_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;sizeofMIXERCONTROL&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">152</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;ctrl&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;Marshal.SizeOf(</span><span style="COLOR: #0000ff">typeof</span><span style="COLOR: #000000">(MIXERCONTROL)); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxlc.pamxctrl&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;Marshal.AllocCoTaskMem(sizeofMIXERCONTROL); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxlc.cbStruct&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;Marshal.SizeOf(mxlc); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxlc.dwLineID&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;mxl.dwLineID; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxlc.dwControl&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;ctrlType; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxlc.cControls&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxlc.cbmxctrl&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;sizeofMIXERCONTROL; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">&#160;Allocate&#160;a&#160;buffer&#160;for&#160;the&#160;control</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxc.cbStruct&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;sizeofMIXERCONTROL; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">&#160;Get&#160;the&#160;control</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;rc&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;mixerGetLineControlsA(hmixer,</span><span style="COLOR: #0000ff">ref</span><span style="COLOR: #000000">&#160;mxlc, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXER_GETLINECONTROLSF_ONEBYTYPE); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(MMSYSERR_NOERROR&#160;</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">&#160;rc) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_7747_8022_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_7747_8022_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_7747_8022_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_7747_8022_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_7747_8022_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_7747_8022_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_7747_8022_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_7747_8022_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_7747_8022_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_7747_8022_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;retValue&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">true</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">&#160;Copy&#160;the&#160;control&#160;into&#160;the&#160;destination&#160;structure</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxc&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;(MIXERCONTROL)Marshal.PtrToStructure( 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxlc.pamxctrl,</span><span style="COLOR: #0000ff">typeof</span><span style="COLOR: #000000">(MIXERCONTROL)); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_8069_8133_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_8069_8133_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_8069_8133_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_8069_8133_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_8069_8133_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_8069_8133_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_8069_8133_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_8069_8133_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_8069_8133_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_8069_8133_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;retValue&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">false</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;sizeofMIXERCONTROLDETAILS&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Marshal.SizeOf(</span><span style="COLOR: #0000ff">typeof</span><span style="COLOR: #000000">(MIXERCONTROLDETAILS)); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;sizeofMIXERCONTROLDETAILS_UNSIGNED&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Marshal.SizeOf(</span><span style="COLOR: #0000ff">typeof</span><span style="COLOR: #000000">(MIXERCONTROLDETAILS_UNSIGNED)); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;pmxcd.cbStruct&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;sizeofMIXERCONTROLDETAILS; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;pmxcd.dwControlID&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;mxc.dwControlID; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;pmxcd.paDetails&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Marshal.AllocCoTaskMem(sizeofMIXERCONTROLDETAILS_UNSIGNED)&#160;; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;pmxcd.cChannels&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;pmxcd.item&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;pmxcd.cbDetails&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;sizeofMIXERCONTROLDETAILS_UNSIGNED; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;rc&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;mixerGetControlDetailsA(hmixer,</span><span style="COLOR: #0000ff">ref</span><span style="COLOR: #000000">&#160;pmxcd, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXER_GETCONTROLDETAILSF_VALUE); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;du&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;(MIXERCONTROLDETAILS_UNSIGNED)Marshal.PtrToStructure( 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;pmxcd.paDetails,&#160;</span><span style="COLOR: #0000ff">typeof</span><span style="COLOR: #000000">(MIXERCONTROLDETAILS_UNSIGNED)); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;vCurrentVol&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;du.dwValue; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">&#160;retValue; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;retValue&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">false</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">&#160;retValue; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">bool</span><span style="COLOR: #000000">&#160;SetVolumeControl(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;hmixer,&#160;MIXERCONTROL&#160;mxc, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;volume) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_9385_10715_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_9385_10715_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_9385_10715_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_9385_10715_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_9385_10715_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_9385_10715_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_9385_10715_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_9385_10715_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_9385_10715_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_9385_10715_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">&#160;This&#160;function&#160;sets&#160;the&#160;value&#160;for&#160;a&#160;volume&#160;control. 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">&#160;Returns&#160;True&#160;if&#160;successful</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">bool</span><span style="COLOR: #000000">&#160;retValue; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;rc; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERCONTROLDETAILS&#160;mxcd&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000">&#160;MIXERCONTROLDETAILS(); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERCONTROLDETAILS_UNSIGNED&#160;vol&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERCONTROLDETAILS_UNSIGNED(); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxcd.item&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxcd.dwControlID&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;mxc.dwControlID; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxcd.cbStruct&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;Marshal.SizeOf(mxcd); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxcd.cbDetails&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;Marshal.SizeOf(vol); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">&#160;Allocate&#160;a&#160;buffer&#160;for&#160;the&#160;control&#160;value&#160;buffer</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxcd.cChannels&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;vol.dwValue&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;volume; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">&#160;Copy&#160;the&#160;data&#160;into&#160;the&#160;control&#160;value&#160;buffer</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mxcd.paDetails&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;Marshal.AllocCoTaskMem(Marshal.SizeOf( 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">typeof</span><span style="COLOR: #000000">(MIXERCONTROLDETAILS_UNSIGNED))); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Marshal.StructureToPtr(vol,&#160;mxcd.paDetails,</span><span style="COLOR: #0000ff">false</span><span style="COLOR: #000000">); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">&#160;Set&#160;the&#160;control&#160;value</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;rc&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;mixerSetControlDetails(hmixer,</span><span style="COLOR: #0000ff">ref</span><span style="COLOR: #000000">&#160;mxcd, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXER_SETCONTROLDETAILSF_VALUE); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(MMSYSERR_NOERROR&#160;</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">&#160;rc) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_10540_10594_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_10540_10594_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_10540_10594_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_10540_10594_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_10540_10594_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_10540_10594_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_10540_10594_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_10540_10594_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_10540_10594_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_10540_10594_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;retValue&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">true</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_10631_10686_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_10631_10686_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_10631_10686_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_10631_10686_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_10631_10686_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_10631_10686_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_10631_10686_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_10631_10686_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_10631_10686_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_10631_10686_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;retValue&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">false</span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">&#160;retValue; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;GetVolume() 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_10770_11226_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_10770_11226_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_10770_11226_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_10770_11226_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_10770_11226_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_10770_11226_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_10770_11226_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_10770_11226_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_10770_11226_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_10770_11226_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;mixer; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERCONTROL&#160;volCtrl&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000">&#160;MIXERCONTROL(); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;currentVol; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mixerOpen(</span><span style="COLOR: #0000ff">out</span><span style="COLOR: #000000">&#160;mixer,</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">&#160;,</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">&#160;,</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">,&#160;</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;type&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;MIXERCONTROL_CONTROLTYPE_VOLUME; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;GetVolumeControl(mixer, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERLINE_COMPONENTTYPE_DST_SPEAKERS,type,</span><span style="COLOR: #0000ff">out</span><span style="COLOR: #000000">&#160;volCtrl,&#160;</span><span style="COLOR: #0000ff">out</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;currentVol); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mixerClose(mixer); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">&#160;currentVol; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000">&#160;SetVolume(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;vVolume) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_11293_12206_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_11293_12206_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_11293_12206_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_11293_12206_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_11293_12206_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_11293_12206_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_11293_12206_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_11293_12206_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_11293_12206_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_11293_12206_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;mixer; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERCONTROL&#160;volCtrl&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000">&#160;MIXERCONTROL(); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;currentVol; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mixerOpen(</span><span style="COLOR: #0000ff">out</span><span style="COLOR: #000000">&#160;mixer,</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">&#160;,</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">&#160;,</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">,&#160;</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;type&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;MIXERCONTROL_CONTROLTYPE_VOLUME; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;GetVolumeControl(mixer, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERLINE_COMPONENTTYPE_DST_SPEAKERS,type,</span><span style="COLOR: #0000ff">out</span><span style="COLOR: #000000">&#160;volCtrl,&#160;</span><span style="COLOR: #0000ff">out</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;currentVol); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(vVolume&#160;</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">&#160;volCtrl.lMaximum)&#160;vVolume&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;volCtrl.lMaximum; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(vVolume&#160;</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">&#160;volCtrl.lMinimum)&#160;vVolume&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;volCtrl.lMinimum; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;SetVolumeControl(mixer,&#160;volCtrl,&#160;vVolume); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;GetVolumeControl(mixer, 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;MIXERLINE_COMPONENTTYPE_DST_SPEAKERS,type,</span><span style="COLOR: #0000ff">out</span><span style="COLOR: #000000">&#160;volCtrl,&#160;</span><span style="COLOR: #0000ff">out</span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;currentVol); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(vVolume&#160;</span><span style="COLOR: #000000">!=</span><span style="COLOR: #000000">&#160;currentVol) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_12081_12160_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_12081_12160_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_12081_12160_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_12081_12160_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_12081_12160_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_12081_12160_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_12081_12160_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_12081_12160_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_12081_12160_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_12081_12160_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">throw</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000">&#160;Exception(</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">Cannot&#160;Set&#160;Volume</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mixerClose(mixer); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" width="11" align="top" />}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /></span> 
   </div>
</div>
<br/><em><font size="2">本贴子以&#8220;现状&#8221;提供且没有任何担保，同时也没有授予任何权利</font></em> <img src="http://www.cnblogs.com/roger/aggbug/107592.html?type=1" width="1" height="1" alt=""/><p>评论: 7　<a href="http://www.cnblogs.com/roger/archive/2005/02/22/107592.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/roger/archive/2005/02/22/107592.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/58891/" target="_blank">谷歌称Android应用网店程序数量已经达到3万</a><span style="color:gray">(2010-03-17 08:38)</span><br/>· <a href="http://news.cnblogs.com/n/58890/" target="_blank">中国电信天翼空间应用商城今日正式上线</a><span style="color:gray">(2010-03-17 08:37)</span><br/>· <a href="http://news.cnblogs.com/n/58889/" target="_blank">Eclipse 3.6 M6版本发布</a><span style="color:gray">(2010-03-17 08:34)</span><br/>· <a href="http://news.cnblogs.com/n/58887/" target="_blank">迅雷旗下影院推出收费服务 遭多数网友抵制</a><span style="color:gray">(2010-03-17 08:20)</span><br/>· <a href="http://news.cnblogs.com/n/58886/" target="_blank">苹果谷歌互挖墙角愈演愈烈 当事人为新主辩护</a><span style="color:gray">(2010-03-17 08:14)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/58848/" target="_blank">IT蚁族：蜗居和逃离</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>Winform下通过控件名称来获取控件</title><link>http://www.cnblogs.com/roger/archive/2005/02/07/103154.html</link><dc:creator>Roger Wo</dc:creator><author>Roger Wo</author><pubDate>Mon, 07 Feb 2005 08:53:00 GMT</pubDate><guid>http://www.cnblogs.com/roger/archive/2005/02/07/103154.html</guid><description><![CDATA[<p>阅读: 1147 评论: 1 作者: <a href="http://www.cnblogs.com/roger/" target="_blank">Roger Wo</a> 发表于 2005-02-07 16:53 <a href="http://www.cnblogs.com/roger/archive/2005/02/07/103154.html" target="_blank">原文链接</a></p>以前一直在Webform下用Control.FindControl(string)方法来获取页面上的某个控件，可是Winform下面的ControlCollection却没有提供FindControl的方法: 
<br/><a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwindowsformscontrolcontrolcollectionmemberstopic.asp?frame=true">http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwindowsformscontrolcontrolcollectionmemberstopic.asp?frame=true</a> 
<br/>
<br/>没办法，只好自己建一个Hash表来实现。 
<br/>
<br/>
<br/>
<div style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
   <div><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /><span style="COLOR: #000000">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">Populate&#160;data</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /></span><span style="COLOR: #000000"> 
<br/><img id="Codehighlighter1_51_92_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_51_92_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_51_92_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_51_92_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_51_92_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_51_92_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_51_92_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_51_92_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">ushort</span><span style="COLOR: #000000">[]&#160;mydata&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">ushort</span><span style="COLOR: #000000">[]</span><span id="Codehighlighter1_51_92_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_51_92_Open_Text"><span style="COLOR: #000000">{</span><span style="COLOR: #000000">111</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">222</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">333</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">444</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">555</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">666</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">777</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">888</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">999</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">1000</span><span style="COLOR: #000000">}</span></span><span style="COLOR: #000000">; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">Create&#160;a&#160;Hashtable&#160;reference&#160;to&#160;all&#160;the&#160;TextBoxes</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Hashtable&#160;htTextBox&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000">&#160;Hashtable(); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">foreach</span><span style="COLOR: #000000">&#160;(Control&#160;c&#160;</span><span style="COLOR: #0000ff">in</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #0000ff">this</span><span style="COLOR: #000000">.Controls) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_349_537_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_349_537_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_349_537_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_349_537_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_349_537_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_349_537_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_349_537_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_349_537_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_349_537_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_349_537_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">&#160;(c.GetType().ToString()&#160;</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">&#160;</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">System.Windows.Forms.TextBox</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;htTextBox.Add(c.Name,c); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">Search&#160;TextBox&#160;from&#160;Hashtable&#160;and&#160;evalute&#160;it.</span><span style="COLOR: #008000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /></span><span style="COLOR: #000000"> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">&#160;(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&#160;i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;i</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">10</span><span style="COLOR: #000000">;i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">) 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /> 
<br/><img id="Codehighlighter1_685_905_Open_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_685_905_Open_Text.style.display=&#39;none&#39;; Codehighlighter1_685_905_Closed_Image.style.display=&#39;inline&#39;; Codehighlighter1_685_905_Closed_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" width="11" align="top" /><img id="Codehighlighter1_685_905_Closed_Image" onclick="this.style.display=&#39;none&#39;; Codehighlighter1_685_905_Closed_Text.style.display=&#39;none&#39;; Codehighlighter1_685_905_Open_Image.style.display=&#39;inline&#39;; Codehighlighter1_685_905_Open_Text.style.display=&#39;inline&#39;;" height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" width="11" align="top" style="DISPLAY: none" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span id="Codehighlighter1_685_905_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 height="20" src="http://www.cnblogs.com/Images/dot.gif" width="15" /></span><span id="Codehighlighter1_685_905_Open_Text"><span style="COLOR: #000000">{ 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;TextBox&#160;t; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;t&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;(TextBox)htTextBox[</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">textBox</span><span style="COLOR: #000000">&quot;</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">(i</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">).ToString()]; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;t.Text&#160;</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">&#160;mydata[i].ToString(); 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" width="11" align="top" /> 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" width="11" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</span></span><span style="COLOR: #000000">&#160; 
<br/><img height="16" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" width="11" align="top" /></span> 
   </div>
</div>
<br/>查了下.NET Framework 2.0的文档，果然发现.NET 2.0中给Control.ControlCollection对象增加了名为Find的方法... 
<br/><a href="http://msdn2.microsoft.com/library/1hb809fy.aspx">http://msdn2.microsoft.com/library/1hb809fy.aspx</a> 
<br/>
<br/>
<br/><em><font size="2">本贴子以&#8220;现状&#8221;提供且没有任何担保，同时也没有授予任何权利</font></em> <img src="http://www.cnblogs.com/roger/aggbug/103154.html?type=1" width="1" height="1" alt=""/><p>评论: 1　<a href="http://www.cnblogs.com/roger/archive/2005/02/07/103154.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/roger/archive/2005/02/07/103154.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/58891/" target="_blank">谷歌称Android应用网店程序数量已经达到3万</a><span style="color:gray">(2010-03-17 08:38)</span><br/>· <a href="http://news.cnblogs.com/n/58890/" target="_blank">中国电信天翼空间应用商城今日正式上线</a><span style="color:gray">(2010-03-17 08:37)</span><br/>· <a href="http://news.cnblogs.com/n/58889/" target="_blank">Eclipse 3.6 M6版本发布</a><span style="color:gray">(2010-03-17 08:34)</span><br/>· <a href="http://news.cnblogs.com/n/58887/" target="_blank">迅雷旗下影院推出收费服务 遭多数网友抵制</a><span style="color:gray">(2010-03-17 08:20)</span><br/>· <a href="http://news.cnblogs.com/n/58886/" target="_blank">苹果谷歌互挖墙角愈演愈烈 当事人为新主辩护</a><span style="color:gray">(2010-03-17 08:14)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/58848/" target="_blank">IT蚁族：蜗居和逃离</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>关于AD编程的一些资料</title><link>http://www.cnblogs.com/roger/archive/2005/02/04/102003.html</link><dc:creator>Roger Wo</dc:creator><author>Roger Wo</author><pubDate>Fri, 04 Feb 2005 08:24:00 GMT</pubDate><guid>http://www.cnblogs.com/roger/archive/2005/02/04/102003.html</guid><description><![CDATA[<p>阅读: 1349 评论: 0 作者: <a href="http://www.cnblogs.com/roger/" target="_blank">Roger Wo</a> 发表于 2005-02-04 16:24 <a href="http://www.cnblogs.com/roger/archive/2005/02/04/102003.html" target="_blank">原文链接</a></p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">
<p>有人问我怎样在.NET下操作AD对象，找了些资料和Sample，留作备用。 
<br/>
<br/>.NET Framework Class Library: System.DirectoryServices Namespace 
<br/><a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdirectoryservices.asp">http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdirectoryservices.asp</a> 
<br/>
<br/>How to poll for changes to the Active Directory by using Visual C# .NET 
<br/><a href="http://support.microsoft.com/default.aspx?id=326091">http://support.microsoft.com/default.aspx?id=326091</a> 
</p>
<p>
<br/>HOW TO: Add a User to the Local System by Using Directory Services and Visual C# .NET 
<br/><a href="http://support.microsoft.com/default.aspx?id=306273">http://support.microsoft.com/default.aspx?id=306273</a> 
</p>
<p>
<br/>HOW TO: Access ADSI Objects in Visual C# .NET 
<br/><a href="http://support.microsoft.com/default.aspx?id=315716">http://support.microsoft.com/default.aspx?id=315716</a> 
</p>
<p>
<br/>Using Active Directory In ASP.NET - Enumerate Active Directory Users 
<br/><a href="http://www.codeproject.com/aspnet/adsi2.asp">http://www.codeproject.com/aspnet/adsi2.asp</a> 
</p>
<p>
<br/>Querying Active Directory using .NET classes and LDAP queries 
<br/><a href="http://www.codeproject.com/dotnet/activedirquery.asp">http://www.codeproject.com/dotnet/activedirquery.asp</a> 
</p>
<p>
<br/>How to get the list of groups that a user is a member of 
<br/><a href="http://www.codeproject.com/dotnet/usergroupmembership.asp">http://www.codeproject.com/dotnet/usergroupmembership.asp</a> 
</p>
<p>
<br/>
</p></span><em>本贴子以&#8220;现状&#8221;提供且没有任何担保，同时也没有授予任何权利</em></span><img src="http://www.cnblogs.com/roger/aggbug/102003.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/roger/archive/2005/02/04/102003.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/roger/archive/2005/02/04/102003.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/58891/" target="_blank">谷歌称Android应用网店程序数量已经达到3万</a><span style="color:gray">(2010-03-17 08:38)</span><br/>· <a href="http://news.cnblogs.com/n/58890/" target="_blank">中国电信天翼空间应用商城今日正式上线</a><span style="color:gray">(2010-03-17 08:37)</span><br/>· <a href="http://news.cnblogs.com/n/58889/" target="_blank">Eclipse 3.6 M6版本发布</a><span style="color:gray">(2010-03-17 08:34)</span><br/>· <a href="http://news.cnblogs.com/n/58887/" target="_blank">迅雷旗下影院推出收费服务 遭多数网友抵制</a><span style="color:gray">(2010-03-17 08:20)</span><br/>· <a href="http://news.cnblogs.com/n/58886/" target="_blank">苹果谷歌互挖墙角愈演愈烈 当事人为新主辩护</a><span style="color:gray">(2010-03-17 08:14)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/58848/" target="_blank">IT蚁族：蜗居和逃离</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>Microsoft发布Member Management 组件 for ASP.NET v1.1 </title><link>http://www.cnblogs.com/roger/archive/2004/12/11/75765.html</link><dc:creator>Roger Wo</dc:creator><author>Roger Wo</author><pubDate>Sat, 11 Dec 2004 15:06:00 GMT</pubDate><guid>http://www.cnblogs.com/roger/archive/2004/12/11/75765.html</guid><description><![CDATA[<p>阅读: 1927 评论: 6 作者: <a href="http://www.cnblogs.com/roger/" target="_blank">Roger Wo</a> 发表于 2004-12-11 23:06 <a href="http://www.cnblogs.com/roger/archive/2004/12/11/75765.html" target="_blank">原文链接</a></p><p>Member Management可以非常容易地创建和管理用户、对 Web 应用程序中的页面进行密码保护。尽管是ASP.NET 2.0新增的功能，现在我们也可以在ASP.NET 1.1下使用Member Management Component了！不用再自己去写代码实现user check, role based authentication了，在<font size="2"><a href="http://www.DotNetNuke.com"><font size="2">DotNetNuke</font></a>和<a href="http://www.communityserver.org/">Community Server</a>中，都已经用到了这个组件。 
<br/>
<br/>下载地址： 
<br/><a href="">http://www.asp.net/MemberRoles/WSHA-MemberRoles.msi 
<br/></a>
<br/>安装之后就可以在ASP .NET 1.1上使用<a href="http://msdn2.microsoft.com/library/hyhxbhz6.aspx">System.Web.Security Namespace</a>和<a href="http://msdn2.microsoft.com/library/hyhxbhz6.aspx">System.Web.Profile Namespace</a>了。 
<br/>
<br/><img height="19" src="http://www.cnblogs.com/Emoticons/emangel.gif" width="19" align="absMiddle" border="0" /></font><font size="2">This is also a non Microsoft supported component. <img height="19" src="http://www.cnblogs.com/Emoticons/emangel.gif" width="19" align="absMiddle" border="0" /> 
<br/></font>
</p><img src="http://www.cnblogs.com/roger/aggbug/75765.html?type=1" width="1" height="1" alt=""/><p>评论: 6　<a href="http://www.cnblogs.com/roger/archive/2004/12/11/75765.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/roger/archive/2004/12/11/75765.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/58891/" target="_blank">谷歌称Android应用网店程序数量已经达到3万</a><span style="color:gray">(2010-03-17 08:38)</span><br/>· <a href="http://news.cnblogs.com/n/58890/" target="_blank">中国电信天翼空间应用商城今日正式上线</a><span style="color:gray">(2010-03-17 08:37)</span><br/>· <a href="http://news.cnblogs.com/n/58889/" target="_blank">Eclipse 3.6 M6版本发布</a><span style="color:gray">(2010-03-17 08:34)</span><br/>· <a href="http://news.cnblogs.com/n/58887/" target="_blank">迅雷旗下影院推出收费服务 遭多数网友抵制</a><span style="color:gray">(2010-03-17 08:20)</span><br/>· <a href="http://news.cnblogs.com/n/58886/" target="_blank">苹果谷歌互挖墙角愈演愈烈 当事人为新主辩护</a><span style="color:gray">(2010-03-17 08:14)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/58848/" target="_blank">IT蚁族：蜗居和逃离</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item></channel></rss>