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

  • Thread starter Thread starter juvi
  • Start date Start date
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
 
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.
 
I am sorry. I am talking about WM 5.0 phone edition and above ( WM 6
professional).

thx
juvi
 
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.
 
Back
Top