How to programatic mute(un-mute) microphone?



As title says:
I want to mute(or un-mute) mcirophone in my app.although I had searched
msdn many days,it still can't find any material about it.
anyone point me a way?

thx a lot.


.