ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor"

L

Liren Zhao

I have modified the registry "HKCU\ControlPanel\Profiles\ActiveProfile" ,but
it not take effect.

And there is not "Flight Mode" !!!!
 
L

Liren Zhao

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]

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]

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
 

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