Click here to Skip to main content
15,892,575 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In Windows Mobile 6.1, I need to stop the ring tone before accepting or refusing an incoming call. And in the mean time, I need to play a video.

I tried to stop the ring tone by simulate a key press with VK_F6(volume -):

const int KEYEVENTF_KEYDOWN = 0x00;
keybd_event(VK_F6, 0, KEYEVENTF_KEYDOWN, 0);
keybd_event(VK_F6, 0, KEYEVENTF_KEYUP, 0);


Though I could stop the sound, I can not hear the sound of the video I am then playing.

What can I do to resolve this problem?
Posted
Updated 12-May-10 0:24am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900