|
Posted by Ashok on November 8, 2006, 5:41 am
Please log in for more thread options
Hi all
I am developing a pocket PC application which includes sound.
1) I am using
Public Declare Function waveOutSetVolume Lib "Coredll.dll" (ByVal
ByValhwo As Integer,ByVal pdwVolume As Integer)As Integer
I looked at the "HKey_Current_User\ControlPanel\Volume\Volume" key in
the registry the value ranges from 0 to 4294967295
when i am using integer the maximum value supported by it is
2147483647. then How could i set the volume for different levels.
2) How to get the current volume setting of the device when loading the
application.
Any sample code on implementing will be helpfull
Thanx in Advance
Regards
Ashok
|