Click here to get back home

Get initial volume of PocketPC

 HomeNewsGroups | Search | About
 microsoft.public.smartphone    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Get initial volume of PocketPC Ashok 11-08-2006
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


Posted by Ashok on November 9, 2006, 4:24 am
Please log in for more thread options
Hi

I just want to get the current volume setting of the device when i load
the application and save that in a variable. When exiting the
application i have to set the saved volume value.

I couldn't make of use of waveOutGetVolume() or i don't knoe how to use
it to solve this issue.


Any sample application in vb.net will be a helpfull.


Regards


Ashok


Similar ThreadsPosted
Initial setup in outlook for a synchronization using microsft acti January 28, 2008, 3:30 pm
Restore Volume January 15, 2008, 12:35 pm
How to use Smartphone to surf from PocketPC? November 17, 2005, 8:38 am
SPV C500 Earpiece Volume September 27, 2005, 8:17 am
Speaker volume on SMT 5600 January 8, 2006, 1:47 pm
how to alter volume by code? August 12, 2006, 4:19 am
Running PocketPC Application with a SmartPhone using WM 5.0 August 8, 2006, 2:46 pm
how to adjust volume level programmatically? August 10, 2006, 10:49 pm
Registry setting for earpiece volume? August 14, 2006, 11:08 pm
Low bluetooth microphone volume when voip June 6, 2007, 2:59 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap