App to mute/un-mute microphone

I am a newbie programmer and would like to create an app to mute the mic in Windows XP. To start off I just want to make a simple command line app that asks to mute/un-mute. Something like this:

What would you like to do?
[type "m" to mute "u" to unmute]:


But I don't know where to start. What libraries do I need to import? Where can I find some documentation, or a tutorial, on this subject? Thanks in advance.
Last edited on
Last edited on
Topic archived. No new replies allowed.