当前位置: 代码迷 >> Windows Mobile >> Windows mobile turn on/off phone, wifi, bluetooth?解决方案
  详细解决方案

Windows mobile turn on/off phone, wifi, bluetooth?解决方案

热度:363   发布时间:2016-04-25 07:50:25.0
Windows mobile turn on/off phone, wifi, bluetooth?
如题:要使用哪些API? 
3Q!

------解决方案--------------------
Up
------解决方案--------------------
Phone:lineOpen lineClose 等TAPI函数
bluetooth:BthGetMode BthSetMode 
wifi:DevicePowerNotify("WLP1:", CEDEVICE_POWER_STATE.D0, 1)
DevicePowerNotify("WLP1:", CEDEVICE_POWER_STATE.D4, 1)

------解决方案--------------------
up
------解决方案--------------------
turn on/off 是指飞行模式么
------解决方案--------------------
HRESULT ChangeRadioState(
RDD *pDev,
DWORD dwState
SAVEACTION sa
);
使用上面的API,我在我们项目的通讯管理上使用的就是这个API。
  相关解决方案