How to handle system/ringer volume with .net cf?

J

juvi

Hello,

How can I handle the system and ringer volume with .net cf? Do I have to
change something in the registry or is it possible by code?

thx
juvi
 
P

Paul G. Tobey [eMVP]

Generally, waveOutSetVolume() (P/Invoke it), will control the volume. You
didn't tell us what device you're talking about, so we can't really give you
a potentially better solution that might be available only on one class of
devices...

Paul T.
 
J

juvi

I am sorry. I am talking about WM 5.0 phone edition and above ( WM 6
professional).

thx
juvi
 
P

Paul G. Tobey [eMVP]

OpenNETCF's Smart Device Framework has the volume calls you need wrapped
into a SetVolume() method. You'd need to P/Invoke waveOutOpen(),
waveOutSetVolume(), and waveOutClose(), yourself otherwise.

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top