L Liren Zhao Dec 28, 2004 #1 I have modified the registry "HKCU\ControlPanel\Profiles\ActiveProfile" ,but it not take effect. And there is not "Flight Mode" !!!!
I have modified the registry "HKCU\ControlPanel\Profiles\ActiveProfile" ,but it not take effect. And there is not "Flight Mode" !!!!
L Liren Zhao Dec 29, 2004 #2 ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor". Can any one tell me where I can find it?
ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor". Can any one tell me where I can find it?
A Alex Feinman [MVP] Dec 29, 2004 #3 The profiles are controlled by the registry setting HKCU\ControlPanel\Profiles\ActiveProfile You can use DXProcessConfigXml and the registry CSP to modify this. See the Smartphone SDK documentation for more information
The profiles are controlled by the registry setting HKCU\ControlPanel\Profiles\ActiveProfile You can use DXProcessConfigXml and the registry CSP to modify this. See the Smartphone SDK documentation for more information
A Alex Feinman [MVP] Dec 29, 2004 #4 You need to use the Registry CSP - simply modifying the registry does not notify the system of the change. I think you might need to send WM_SETTINGCHANGE As for the flight mode - you cannot do this via profile changes - it is done via TAPI
You need to use the Registry CSP - simply modifying the registry does not notify the system of the change. I think you might need to send WM_SETTINGCHANGE As for the flight mode - you cannot do this via profile changes - it is done via TAPI
L Liren Zhao Dec 30, 2004 #5 Thanks a lot. Do you know what api function can do this or where I can find it?
A Alex Feinman [MVP] Jan 3, 2005 #6 If you take a look at my TAPI wrapper, one of the things it does is turning the flight mode on/off. http://www.alexfeinman.com/download.asp?doc=tapi1.1.zip
If you take a look at my TAPI wrapper, one of the things it does is turning the flight mode on/off. http://www.alexfeinman.com/download.asp?doc=tapi1.1.zip