Visual C++/MFC Disable Windows sounds -


i'm building c++/mfc desktop app shares lot of data usb device. because of how devices works need close , open virtual com use, severl times per minute.

everything works well, stop annoying windows usb connected/disconnected suound, comes every time connect or disconnect device.

so question is: there way disable/enable windows event sounds (or single event sound, better) through c++ code? somehow turn down volume, that's not want, since stop sounds every other app. there way this?

thanks!


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -