来电时挂断电话

来源:互联网 发布:微软大数据分析 编辑:程序博客网 时间:2024/05/17 01:15

         TRawEvent ev1;

        ev1.Set(TRawEvent::EKeyDown, EStdKeyNo);

        User::After(100000);

        UserSvr::AddEvent(ev1);

        TRawEvent ev2;

        ev2.Set(TRawEvent::EKeyUp, EStdKeyNo);

        UserSvr::AddEvent(ev2);// CAPABILITY Req. SwEvent

模拟挂机键

 

RCall的HangUp方法

原创粉丝点击