How to mute volume registry setting

I need to know about customizing device sound files, is it possible to mute volume registry setting; I heard that sounds can be customized by adding a new resource DLL containing customized sounds, and then adding a registry entry to use these new sounds, but not sure about, editing the code, Please get me inputs on editing the codings. Thanks
