changing InCall volume with out warm rebooting

M

Murthy

Hi,
I have found the registry setting to change the InCall volume on my windows
mobile 5.0 device. i am able to change this registry programmatically. But
the change in In-Call volume is happening only after warm rebooting the
device.

Can some me let me know how i can change the In-Call volume with out warm
rebooting the device?

Thanks in Advance,
Murthy
 
M

Murthy

Hi Chris,
I tried posting the below message, but it had no impact.

SendMessage((IntPtr)HWND_BROADCAST, WM_WININICHANGE, 0, (IntPtr)5000);

Please let me know if you are talking about the same message.

Thanks,
Murthy
 
M

Murthy

Thanks chris for your reply.

const int WM_WININICHANGE = 0x001A;
const int HWND_BROADCAST = 0xffff;
// For Registry setting to take effect with out soft reset.
SendMessage((IntPtr)HWND_BROADCAST, WM_WININICHANGE, 0, (IntPtr)5000);

In Msdn value for WM_SETTINGCHANGE is given as below.
WM_SETTINGCHANGE = &H1A

should i try this message with some other wparam and lparam...??

Thanks in advance,
Murthy
 
G

Guest

Your code is fine, if it didn't work then the control panel is using some
other mechanism to update notify the system that the volume has changed or
it's double-tasking and altering the volume itself *and* writing the reg
key. The next step I'd try is to run remote spy++ and see if any messages
are sent when you change the volume in the control panel.
 

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