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

  • Thread starter Thread starter Liren Zhao
  • Start date Start date
L

Liren Zhao

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

And there is not "Flight Mode" !!!!
 
ask for APIs about change smartphone mode like "Slient" ,"
Flight","OutDoor".
Can any one tell me where I can find it?
 
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
 
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
 
Back
Top